CP Box Non Volatile Storage
Jump to navigation
Jump to search
CP Box contains its own NVS (Non-Volatile Storage) which is loaded from main serial flash (Winbond 25Q256JVEQ) and consists of multiple partitions.
NVS structure
Offset @ NVS | Offset @ Flash | Size | Description | Sample Data | Notes |
---|---|---|---|---|---|
0x0000 | 0x1C4000 | 0x08 | Board ID (e.g. 0x2001010101010501) | 20 01 01 01 01 01 04 01 | Can be seen at EAP boot log |
0x0021 | 0x1C4021 | 0x06 | MAC address of CP Box (78:C8:81:62:A9:D6) | 78 C8 81 62 A9 D6 | 78 C8 81 XX XX XX |
0x0027 | 0x1C4027 | 0x06 | 2nd MAC address | FF FF FF FF FF FF | Used in special conditions? |
0x0060 | 0x1C4060 | 0x01 | DDR capacity:
|
05 | |
0x0061 | 0x1C4061 | 0x01 | DDR number of device | 02 | |
0x0062 | 0x1C4062 | 0x01 | DDR number of rank | 01 | |
0x0063 | 0x1C4063 | 0x01 | DDR device width | 01 | |
0x0064 | 0x1C4064 | 0x01 | DDR bus width | 02 | |
0x0065 | 0x1C4065 | 0x01 | DDR memory controller initialization mode:
|
00 | |
0x00A0 | 0x1C40A0 | 0x01 | Related to L2? | ||
0x0071 | 0x1C4071 | 0x01 | Related to error notifications? | ||
0x0077 | 0x1C4077 | 0x01 | Flag to toggle power sequence log:
|
FF | Disabled by default |
0x007A | 0x1C407A | 0x01 | |||
0x0203 | 0x1C4203 | 0x01 | Related to error notifications? | ||
0x0211 | 0x1C4211 | 0x01 | GbE trace length | FF | |
0x1010 | 0x1C5010 | 0x01 | Flag to toggle EMC checksum validation for
several NVS blocks (ID, HWCTRL, THERMAL):
|
FF | Disabled by default |
0x1011 | 0x1C5011 | 0x01 | |||
0x1012 | 0x1C5012 | 0x01 | Flag to toggle EMC UART:
|
FF | Enabled by default |
0x1014 | 0x1C5014 | 0x01 | FF | ||
0x1015 | 0x1C5015 | 0x01 | FF | ||
0x1022 | 0x1C5022 | 0x01 | Flag to toggle mode:
|
FF | Normal mode is set by default |
0x1200 | 0x1C5200 | 0x0400 | Error log | FFs | Empty by default |
0x4000 | 0x1C8000 | 0x10 | Serial Number (e.g. 1AR2P20000001100) | 31 41 52 32 50 32 30 30 30 30 30 30 31 31 30 30 | |
0x531F | 0x1C931F | 0x01 | Flag to toggle EAP UART:
|
FF | Disabled by default |