Non Volatile Storage

From PS5 Developer wiki
Jump to navigation Jump to search

Short for NVS, holds some information about the console, including console unique identifiers, tokens, flags, and registry flags, as well as some semi-permanent ones.

Bank # Block # Start Offset in /dev/sflash0s0x34 Start Offset in Sflash Size Notes
0 0 0 0x1C4000 0x2000 Size decrease since PS4, previous size was 0x3000, now it's 0x2000
0 1 0x2000 0x1C6000 0x1000
0 2 0x3000 0x1C7000 0x800 console data region
0 3 0x3800 0x1C7800 0x800 all ffs
0 4 0x4000 0x1C8000 0x3000 tokens and flags region
1 0 0x7000 0x1CB000 0x3000 tokens and flags region (backup)
1 1 0xA000 0x1CE000 0x1000

Mapping of the detailed area (NVS service)

Bank # Block # Start Offset Start Offset in Sflash Size Notes
0 0 0x0 0x1C4000 0x8 board id (e.g 30 02 01 01 04 01 05 01)
0 2 0x210 0x1C7210 0x11 hw_info (padded with 0xF FFs) (e.g. K114006DY10363635)
0 2 0x230 0x1C7230 0x20 hw_model (e.g DFI-T1000AA)
0 2 0x250 0x1C7250 0x13 unknown (e.g 0000027418905)
0 2 0x260 0x1C7260 0x10 "SocCuid" (e.g D5 87 3F 52 ED DC 16 D9 EB 54 66 DD A4 03 D5 77)
0 2 0x3E0 0x1C73E0 0x8 ImageId (e.g PKG-0384) (for 1.000.037 it's PKG-0372)
0 2 0x5FC 0x1C75FC 4 EAP Magic
0 4 0x68 0x1C8068 4 Current Firmware Version ??? (little endian) (upper half)
0 4 0x1FC 0x1C81FC 4 EAP Magic
0 4 0xC10 0x1C8C10 8 Factory Firmware Version ??? (little endian)
0 4 0xC18 0x1C8C18 8 Factory Firmware Version TimeStamp ??? (little endian)
0 4 0xC20 0x1C8C20 8 Minimum Firmware Version ??? (little endian)
0 4 0xC28 0x1C8C28 8 Minimum Firmware Version TimeStamp ??? (little endian)
0 4 0xC30 0x1C8C30 8 Current Firmware Version ??? (little endian)
1 0 0x68 0x1CB068 4 Current Firmware Version ??? (little endian) (upper half)
1 0 0x1FC 0x1CB1FC 4 EAP Magic
1 0 0xC10 0x1CBC10 8 Factory Firmware Version ??? (little endian)
1 0 0xC18 0x1CBC18 8 Factory Firmware Version TimeStamp ??? (little endian)
1 0 0xC20 0x1CBC20 8 Minimum Firmware Version ??? (little endian)
1 0 0xC28 0x1CBC28 8 Minimum Firmware Version TimeStamp ??? (little endian)
1 0 0xC30 0x1CBC30 8 Current Firmware Version ??? (little endian)