Flash:Revoke Program

From PS3 Developer wiki
Revision as of 08:25, 11 January 2013 by BwE (talk | contribs) (→‎structure)
Jump to navigation Jump to search

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 (Unique per version)
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
0x210 0x10 Varies Unknown (Header?)
0x220 0x03 0x00 Unknown Static
0x223 0x01 0x06 Unknown Static
0x224 0x0C 0x00 Unknown Static
0x2C0 0x0D00 0x00 Empty Space (Start is relative to data 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 0x02E0 Data size (Unique per version)
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
0x210 0x10 Varies Unknown (Header?)
0x220 0x03 0x00 Unknown Static
0x223 0x01 0x06 Unknown Static
0x224 0x0C 0x00 Unknown Static
0x2E0 0x0D00 0x00 Empty Space (Start is relative to data size)