Non Volatile Storage

From PS4 Developer wiki
Jump to navigation Jump to search

Same as PS3's NVS, used for storing tokens and flags. You can access it by using the function icc_nvs_read.
Seems that a total of 5 regions(blocks) exist, probably in 2 banks (the main bank and the backup bank, also seen on PS3)
The kernel accesses only the 5th and the 2nd region, however it's possible to read the other 3.
Most, if not all, of the NVS regions can be accessed also in sflash.

Mapping of the area (NVS service)

Bank # Block # Start Offset Start Offset in Sflash Size Notes
0 0 0 0x1C4000 0x3000
0 1 0 0x1C7000 0x1000 match
0 2 0 0x1C8000 0x800 match
0 3 0 0x1C8800 0x800 match? (impossible to know with only retail data)
0 4 0 0x1C9000 0x3000 match

Mapping of the detailed area (NVS service)

//TODO