Sysroot: Difference between revisions

From Vita Developer wiki
Jump to navigation Jump to search
(Created page with "Small buffer containing some checked information by the console. * Offset 0x9E size 0x8 is also known as PS Code = Table of contents = TODO...")
 
Line 5: Line 5:
= Table of contents =
= Table of contents =


TODO...
{| class="wikitable"
|-
! Offset !! Size !! Description
|-
| 0x00 || 0x2 || Version (usually 1)
|-
| 0x02 || 0x2 || Sysroot size (0x100 or 0x200)
|-
| 0x04 || 0x4 || Current Firmware Version
|-
| 0x08 || 0x4 || Firmware Version Shipped from Factory
|-
| 0x2C || 0x8 || Bitfield flags 1
|-
| 0x40 || 0x4 || Devkit Function address 1
|-
| 0x44 || 0x4 || Devkit UID 1
|-
| 0x48 || 0x4 || Devkit Function address 1
|-
| 0x4C || 0x4 || ASLR Seed
|-
| 0x50 || 0x4 || Devkit Config Flags1 (0x80000001 or 0x80000003)
|-
| 0x54 || 0x4 || Devkit Config Flags2 (0x0)
|-
| 0x58 || 0x4 || Devkit Config ??
|-
| 0x5C || 0x4 || Devkit Config Flags3 (0x20000010)
|-
| 0x60 || 0x4 || DRAM base paddr
|-
| 0x64 || 0x4 || DRAM size
|-
| 0x6C || 0x4 || Boot type indicator (0x20000 on resume), 0x1 = no suspend/boot logo
|-
| 0x70 || 0x10 || Some serial
|-
| 0x80 || 0x4 || <code>secure_kernel.enp</code> raw data paddr (optional)
|-
| 0x84 || 0x4 || <code>secure_kernel.enp</code> size (optional)
|-
| 0x90 || 0x4 || <code>kprx_auth_sm.self</code> raw data paddr
|-
| 0x94 || 0x4 || <code>kprx_auth_sm.self</code> size
|-
| 0x98 || 0x4 || <code>prog_rvk.srvk</code> raw data paddr
|-
| 0x9C || 0x4 || <code>prog_rvk.srvk</code> size
|-
| 0xA0 || 0x2 || Model (0x1000)
|-
| 0xA2 || 0x2 || Device type (0x401 = retail device, 0x101 = devkit device)
|-
| 0xA4 || 0x2 || Device config (0x1000 = standard form, 0x102 = pstv)
|-
| 0xA6 || 0x2 || Type (0x300 = retail, 0x100 = devkit)
|-
| 0xB0 || 0x10 || Session ID
|-
| 0xC4 || 0x4 || Boot type indicator (0x80 on resume)
|-
| 0xD0 || 0x4 || [[Suspend|Saved context]] paddr
|-
| 0xF8 || 0x4 || BootLoader Revision
|-
| 0xFC || 0x4 || Sysroot Magic value (0xCBAC03AA)
|-
| 0x100 || 0x20 || Encrypted Session Key (FW 2.12+)
|}
 
* Copied from henkaku wiki. PS Code change to be added

Revision as of 16:56, 30 April 2017

Small buffer containing some checked information by the console.

  • Offset 0x9E size 0x8 is also known as PS Code

Table of contents

Offset Size Description
0x00 0x2 Version (usually 1)
0x02 0x2 Sysroot size (0x100 or 0x200)
0x04 0x4 Current Firmware Version
0x08 0x4 Firmware Version Shipped from Factory
0x2C 0x8 Bitfield flags 1
0x40 0x4 Devkit Function address 1
0x44 0x4 Devkit UID 1
0x48 0x4 Devkit Function address 1
0x4C 0x4 ASLR Seed
0x50 0x4 Devkit Config Flags1 (0x80000001 or 0x80000003)
0x54 0x4 Devkit Config Flags2 (0x0)
0x58 0x4 Devkit Config ??
0x5C 0x4 Devkit Config Flags3 (0x20000010)
0x60 0x4 DRAM base paddr
0x64 0x4 DRAM size
0x6C 0x4 Boot type indicator (0x20000 on resume), 0x1 = no suspend/boot logo
0x70 0x10 Some serial
0x80 0x4 secure_kernel.enp raw data paddr (optional)
0x84 0x4 secure_kernel.enp size (optional)
0x90 0x4 kprx_auth_sm.self raw data paddr
0x94 0x4 kprx_auth_sm.self size
0x98 0x4 prog_rvk.srvk raw data paddr
0x9C 0x4 prog_rvk.srvk size
0xA0 0x2 Model (0x1000)
0xA2 0x2 Device type (0x401 = retail device, 0x101 = devkit device)
0xA4 0x2 Device config (0x1000 = standard form, 0x102 = pstv)
0xA6 0x2 Type (0x300 = retail, 0x100 = devkit)
0xB0 0x10 Session ID
0xC4 0x4 Boot type indicator (0x80 on resume)
0xD0 0x4 Saved context paddr
0xF8 0x4 BootLoader Revision
0xFC 0x4 Sysroot Magic value (0xCBAC03AA)
0x100 0x20 Encrypted Session Key (FW 2.12+)
  • Copied from henkaku wiki. PS Code change to be added