diff options
| author | Vincent Jardin <[email protected]> | 2026-05-08 15:54:07 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2026-06-10 11:23:26 +0200 |
| commit | 35ae4491bf7d6296f48baa79a6539aa63b23b0bc (patch) | |
| tree | dbcc668b8285ed49dd3e5dfd991f2158eb7fabf6 /scripts | |
| parent | 3db9d9abc105f48eeb34bdccdce0516065ed76ed (diff) | |
board: freebox: nbx10g: add device serial and MAC address initialization
Read device identification data from a dedicated eMMC region. This
provides:
- Unique device serial number for identification and tracking
- Factory-programmed MAC address for network interfaces
- Bundle information for device variant identification
The serial structure includes CRC32 validation to detect corruption.
On read failure or invalid data, sensible defaults are used to ensure
the system remains bootable.
The fbxserial command provides two subcommands:
- fbxserial show: Display serial info (default)
- fbxserial init: Initialize ethaddr from serial info
Use CONFIG_PREBOOT="fbxserial init" to automatically set MAC addresses
during boot. This approach avoids patching shared board code.
Signed-off-by: Vincent Jardin <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
