Manufacturing Functions: Difference between revisions

From PS5 Developer wiki
Jump to navigation Jump to search
Line 25: Line 25:


* ioctl 0xC0185301 on /dev/fttrm
* ioctl 0xC0185301 on /dev/fttrm
= sceSblFttrmWriteSector =
* ioctl 0xC0185302 on /dev/fttrm


= sceSblManuAuthLoadSecureModule =
= sceSblManuAuthLoadSecureModule =

Revision as of 23:47, 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

sceSblFttrmWriteSector

  • ioctl 0xC0185302 on /dev/fttrm

sceSblManuAuthLoadSecureModule

  • ioctl 0x40184D01 on /dev/manuauth

sceSblManuAuthGetManuMode

  • ioctl 0xC0184D04 on /dev/manuauth

sceSblManuAuthSetManuMode

  • ioctl 0xC0184D03 on /dev/manuauth