Manufacturing Functions: Difference between revisions

From PS5 Developer wiki
Jump to navigation Jump to search
No edit summary
Line 13: Line 13:


* ioctl 0xC028530B on /dev/cd0
* ioctl 0xC028530B on /dev/cd0
= sceSblDriveAuthSetPairingResData =
* ioctl 0xC028530C on /dev/driveauth

Revision as of 22:25, 1 March 2024

sceSblDriveSecureReset

  • sceSblDriveSecureReset(SCE_SBL_DRIVEAUTH_SECURE_RESET_ACTION_NOP) = sceSblDriveSecureReset(0LL);
  • sceSblDriveSecureReset(SCE_SBL_DRIVEAUTH_SECURE_RESET_ACTION_RESET_FOR_CS) = sceSblDriveSecureReset(1LL);
  • sceSblDriveSecureReset(SCE_SBL_DRIVEAUTH_SECURE_RESET_ACTION_RESET_FOR_DEBUG_AND_QA) = sceSblDriveSecureReset(2LL);
  • opens /dev/driveauth and /dev/cd0 and authenticates on driveauth, sets given mode (0,1 or 2) and performs ioctl 0xC0285301 on driveauth device (clearSessionKey) and then closes driveauth device

sceSblDriveAuthSetHostKeyVolatile

  • ioctl 0xC028530D on /dev/driveauth

sceSblDriveAuthGetPairingRequest

  • ioctl 0xC028530B on /dev/cd0

sceSblDriveAuthSetPairingResData

  • ioctl 0xC028530C on /dev/driveauth