Manufacturing Functions: Difference between revisions

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


* ioctl 0xC028530C on /dev/driveauth
* ioctl 0xC028530C on /dev/driveauth
= sceSblDriveAuthTestAuthenticate =
* opens /dev/cd0 and /dev/driveauth and authenticates on /dev/driveauth


= sceSblFttrmReadSector =
= sceSblFttrmReadSector =


* ioctl 0xC0185301 on /dev/fttrm
* ioctl 0xC0185301 on /dev/fttrm

Revision as of 22:32, 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

sceSblDriveAuthTestAuthenticate

  • opens /dev/cd0 and /dev/driveauth and authenticates on /dev/driveauth

sceSblFttrmReadSector

  • ioctl 0xC0185301 on /dev/fttrm