Flash:Flashregion Table

From PS3 Developer wiki
Revision as of 23:49, 2 February 2014 by Euss (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Flashregion Table[edit | edit source]

Location:

  • NOR: 0x0000400 - 0x00007FF
  • NAND: 0x0040200 - 0x00407FF

The next 1024 bytes contain the entry table

Header[edit | edit source]

Small 16 byte header to describe length and entry count

example[edit | edit source]

NOR: 0x0000400 - 0x000040F NAND: 0x0040200 - 0x004020F
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   00000400  00 00 00 01 00 00 00 0B 00 00 00 00 00 EF FC 00  .............ïü.
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   
00040200  00 00 00 01 00 00 00 09 00 00 00 00 00 EB FE 00  .............ëþ.

structure[edit | edit source]

Address Length Value Description
0x0 0x4 0x01 Unknown
0x4 0x4 0x0B Entry Count
0x8 0x8 0xEFFC00 Length of Flash Region (relative to 0x400 (region start)

First is a header, this tells us how many files are stored here.

Entry Table[edit | edit source]

Then follows a 32 byte entry for each file

Typical listed
NOR asecure_loader eEID cISD cCSD trvk_prg0 trvk_prg1 trvk_pkg0 trvk_pkg1 ros0 ros1 cvtrm
NAND asecure_loader eEID cISD cCSD trvk_prg trvk_pkg creserved_0 ros cvtrm

example[edit | edit source]

NOR: 0x0000410 - 0x00007FF NAND: 0x0040210 - 0x00407FF
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   
00000410  00 00 00 00 00 00 04 00 00 00 00 00 00 02 E8 00  ..............è.
00000420  61 73 65 63 75 72 65 5F 6C 6F 61 64 65 72 00 00  asecure_loader..
00000430  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   
00040210  00 00 00 00 00 00 06 00 00 00 00 00 00 04 00 00  ................
00040220  61 73 65 63 75 72 65 5F 6C 6F 61 64 65 72 00 00  asecure_loader..
00040230  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

structure[edit | edit source]

Address Length Value Description
0x0 0x8 0x400 File offset relative to 0x400 (Region start)
0x8 0x8 0x2E800 File length
0x10 0x20 char[32]:"asecure_loader" File name