Manufacturing Functions

From PS5 Developer wiki
Revision as of 22:28, 1 March 2024 by Zecoxao (talk | contribs)
Jump to navigation Jump to search

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

sceSblFttrmReadSector

  • ioctl 0xC0185301 on /dev/fttrm