Flash:Revoke Program: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "== trvk_prg == NOR: splitted into 2 seperate sections trvk_prg0 (0x40000) + trvk_prg1 (0x060000) <br /> NAND: 1 region (0x0091800) with 2 combined sections of trvk_prg0 + trvk...")
 
No edit summary
Line 113: Line 113:
|-
|-
|}
|}
{{Flash}}
[[Category:Flash]]

Revision as of 09:02, 26 November 2012

trvk_prg

NOR: splitted into 2 seperate sections trvk_prg0 (0x40000) + trvk_prg1 (0x060000)
NAND: 1 region (0x0091800) with 2 combined sections of trvk_prg0 + trvk_prg1

Header

Only seen on NAND, with 2 combined sections of trvk_prg0 + trvk_prg1

example

NOR: NAND: 0x0091800 - 0x009181F
N.A.
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   
00091800  00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 20  ....... ....... 
00091810  00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00  ...... .........

structure

Address Length Value Description
0x0 0x8 0x20 Offset to region (relative to base 0x91800)
0x8 0x8 0x20 Offset to file (relative to base 0x91800)
0x10 0x8 0x2000 Region Size
0x8 0x8 0x0 Unknown

trvk_prg File Entries

32 byte SCE header for each trvk_prg file, followed by the signed/encrypted data. For content/structure, see: Revokation

trvk_prg0

example
NOR: trvk_prg0 (0x40000) NAND: trvk_prg0 (0x0091820)
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   
00040000  00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 C0  ...............À
00040010  53 43 45 00 00 00 00 02 00 00 00 02 00 00 00 00  SCE.............
00040020  00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 C0  ...............À
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   
00091820  00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 E0  ...............à
00091830  53 43 45 00 00 00 00 02 00 00 00 02 00 00 00 00  SCE.............
00091840  00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 E0  ...............à
structure
Address Length Value Description
0x0 0x8 0x0 Unknown
0x8 0x8 0x02C0 Data size
0x10 0x4 ASCII:SCE. Magic Header
0x14 0x4 0x2 Unknown
0x18 0x4 0x2 Unknown
0x1C 0x4 0x0 Unknown
0x20 0x8 0x200 Unknown
0x28 0x8 0xE0 Meta size

trvk_prg1

example
NOR: trvk_prg1 (0x060000) NAND: trvk_prg1 (0x0092810)
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   
00060000  00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 E0  ...............à
00060010  53 43 45 00 00 00 00 02 00 00 00 02 00 00 00 00  SCE.............
00060020  00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 E0  ...............à
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   
00092810  00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 E0  ...............à
00092820  53 43 45 00 00 00 00 02 00 00 00 02 00 00 00 00  SCE.............
00092830  00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 E0  ...............à
structure
Address Length Value Description
0x0 0x8 0x0 Unknown
0x8 0x8 0x2E0 Data size
0x10 0x4 ASCII:SCE. Magic Header
0x14 0x4 0x2 Unknown
0x18 0x4 0x2 Unknown
0x1C 0x4 0x0 Unknown
0x20 0x8 0x200 Unknown
0x28 0x8 0xE0 Meta size