PUP: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
Line 40: Line 40:
! Index !! Decimal !! Description !! Perconsole ? !! Notes !! Added !! Deprecated?
! Index !! Decimal !! Description !! Perconsole ? !! Notes !! Added !! Deprecated?
|-
|-
| 1 || 1 || EMC IPL || NO || sflash0s0x32/b Aeolia 1st Revision || ||  
| 1 || 1 || EMC IPL || NO || sflash0s0x32/b Aeolia 1st Revision || 0_910_040 ||  
|-
|-
| 2 || 2 || EAP KBL || NO || sflash0s0x33 Aeolia 1st Revision || ||
| 2 || 2 || EAP KBL || NO || sflash0s0x33 Aeolia 1st Revision || 0_910_040 ||
|-
|-
| 3 || 3 || WIFI FW || NO || torus2 || ||
| 3 || 3 || WIFI FW || NO || torus2 || 0_910_040 ||
|-
|-
| 4 || 4 || SAM IPL || YES || sflash0s1.cryptx2/b 1st SOCUID || ||
| 4 || 4 || SAM IPL || YES || sflash0s1.cryptx2/b 1st SOCUID || 0_910_040 ||
|-
|-
| 5 || 5 || COREOS || NO || secure_modules || ||
| 5 || 5 || COREOS || NO || secure_modules || 0_910_040 ||
|-
|-
| 6 || 6 | SYSTEM || NO || system fs (FAT32/TEXFAT later)  || ||
| 6 || 6 | SYSTEM || NO || system fs (FAT32/TEXFAT later)  || 0_910_040 ||
|-
|-
| 7 || 7 || EAP KERNEL || NO || da0x2 || ||
| 7 || 7 || EAP KERNEL || NO || da0x2 || 0_910_040 ||
|-
|-
| 8 || 8 || EAP VSH || NO || eap_vsh fs (FAT16) || ||
| 8 || 8 || EAP VSH || NO || eap_vsh fs (FAT16) || 0_910_040 ||
|-
|-
| 9 || 9 || PREINST || NO || preinst fs (FAT32) || ||
| 9 || 9 || PREINST || NO || preinst fs (FAT32) || 0_910_040 ||
|-
|-
| 0xA || 10 || ??? || NO || sflash0s1.cryptx40 || ||
| 0xA || 10 || ??? || NO || sflash0s1.cryptx40 || ||
|-
|-
| 0xB || 11 || PREINST2 || NO ||  preinst2 fs (FAT32) || ||
| 0xB || 11 || PREINST2 || NO ||  preinst2 fs (FAT32) || 0_910_040 ||
|-
|-
| 0xC || 12 || SYSTEM_EX || NO || system_ex fs (FAT32/TEXFAT later) || ||
| 0xC || 12 || SYSTEM_EX || NO || system_ex fs (FAT32/TEXFAT later) || 0_910_040 ||
|-
|-
| 0xD || 13 || EMC IPL || NO || sflash0s0x32/b Aeolia 2nd Revision || ||
| 0xD || 13 || EMC IPL || NO || sflash0s0x32/b Aeolia 2nd Revision || 0_910_040 ||
|-
|-
| 0xE || 14 || EAP KBL || NO || sflash0s0x33 Aeolia 2nd Revision || ||
| 0xE || 14 || EAP KBL || NO || sflash0s0x33 Aeolia 2nd Revision || 0_910_040 ||
|-
|-
| 0xF || 15 || ??? || NO || test || ||
| 0xF || 15 || ??? || NO || test || ||
Line 104: Line 104:
| 0x101 || 257 || EULA.XML || NO || Sony Agreement XML || ||
| 0x101 || 257 || EULA.XML || NO || Sony Agreement XML || ||
|-
|-
| 0x200 || 512 || ORBIS_SWU.SELF || NO || Sony SoftWareUpdater (ELF) || ||
| 0x200 || 512 || ORBIS_SWU.SELF || NO || Sony SoftWareUpdater (ELF) || 0_910_040 ||
|-
|-
| 0x202 || 514 || ORBIS_SWU.SELF || NO || Sony SoftWareUpdater (Encrypted SELF) || ||
| 0x202 || 514 || ORBIS_SWU.SELF || NO || Sony SoftWareUpdater (Encrypted SELF) || ||

Revision as of 21:16, 30 June 2021

PUP (Playstation Update Package) is the file format of the PSP, PS3, PSVita and PS4 system software update packages.

PUP embed updates for devices such as the GameOS, Syscon, Wi-Fi, Bluetooth, Communication Processor, Southbridge, BD drive.

Structure

PS4 PUP is special because it embeds single other PUPs.

Header

Have a feeling the header for the new PS4 PUPs ends with a LZMA dictionary and file size… (ie a normal lzma header without the properties byte) anyone else done research into that? As in:

struct PUPPS4Header {
	uint32_t magic;			// PS4PUPMAGIC "\x4F\x15\x3D\x1D"
	uint16_t version;		// Big Endian (??)
	uint16_t unknownOne;
	uint16_t unknownTwo;
	uint16_t unknownThree;
	uint32_t dictSize;		// LE afaics
	uint32_t uncompressedSize;	// LE afaics
}

Tools

Decrypter (first step)

Unpacker (second step)


Indices

Index Decimal Description Perconsole ? Notes Added Deprecated?
1 1 EMC IPL NO sflash0s0x32/b Aeolia 1st Revision 0_910_040
2 2 EAP KBL NO sflash0s0x33 Aeolia 1st Revision 0_910_040
3 3 WIFI FW NO torus2 0_910_040
4 4 SAM IPL YES sflash0s1.cryptx2/b 1st SOCUID 0_910_040
5 5 COREOS NO secure_modules 0_910_040
6 SYSTEM NO system fs (FAT32/TEXFAT later) 0_910_040
7 7 EAP KERNEL NO da0x2 0_910_040
8 8 EAP VSH NO eap_vsh fs (FAT16) 0_910_040
9 9 PREINST NO preinst fs (FAT32) 0_910_040
0xA 10 ??? NO sflash0s1.cryptx40
0xB 11 PREINST2 NO preinst2 fs (FAT32) 0_910_040
0xC 12 SYSTEM_EX NO system_ex fs (FAT32/TEXFAT later) 0_910_040
0xD 13 EMC IPL NO sflash0s0x32/b Aeolia 2nd Revision 0_910_040
0xE 14 EAP KBL NO sflash0s0x33 Aeolia 2nd Revision 0_910_040
0xF 15 ??? NO test
0x10-0x16 16-22 ??? NO sbram0
0x20 32 EMC IPL NO sflash0s0x32/b Belize 1st Revision
0x21 33 EAP KBL NO sflash0s0x33 Belize 1st Revision
0x22 34 WIFI FW NO torus2
0x23 35 SAM IPL YES sflash0s1.cryptx2/b 2nd SOCUID
0x24 36 EMC IPL NO sflash0s0x32/b Belize 2nd Revision
0x25 37 EAP KBL NO sflash0s0x33 Belize 2nd Revision
0x26 38 SAM IPL YES sflash0s1.cryptx2/b 3rd SOCUID
0x27 39 SAM IPL YES sflash0s1.cryptx2/b 4th SOCUID
0x28 40 EMC IPL NO sflash0s0x32/b Belize 2 1st Revision
0x2A 42 EMC IPL NO sflash0s0x32/b Belize 2 2nd Revision
0x2B 43 EAP KBL NO sflash0s0x33 Belize 2 1st/2nd Revision
0x2C 44 EMC IPL NO sflash0s0x32/b Baikal 1st Revision
0x2D 45 SAM IPL YES sflash0s1.cryptx2/b 5th SOCUID
0x2E 46 EMC IPL NO sflash0s0x32/b Baikal 2nd Revision
0x30 48 WIFI FW NO sflash0s0x38 trooper
0x101 257 EULA.XML NO Sony Agreement XML
0x200 512 ORBIS_SWU.SELF NO Sony SoftWareUpdater (ELF) 0_910_040
0x202 514 ORBIS_SWU.SELF NO Sony SoftWareUpdater (Encrypted SELF)
0x301 769 ??? NO /update related
0x302 770 ??? NO /update related
0xD00 3328 SYSCON FW NO sc_fw_update0 firmware (4000XXXX)
0xD01 3329 BLURAY FW NO bluray firmware (all revisions) (4XXR)
0xD02 3330 USB SATA BRIDGE FW NO usb sata bridge firmware (da0)
0xD07 3335 SYSCON PATCH NO sc_fw_update0 patch (4001XXXX)
0xD08 3336 SYSCON FW NO sc_fw_update0 firmware (4000XXXX)
0xD09 3337 COMMUNICATION PROCESSOR FW NO cpfirm 3.70 Devkit