[PATCH v3 4/5] board: freebox: nbx10g: add device serial and MAC address initialization
Stefan Roese
stefan.roese at mailbox.org
Wed Jun 10 14:21:30 CEST 2026
On 5/8/26 15:54, Vincent Jardin wrote:
> 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 <vjardin at free.fr>
> Reviewed-by: Stefan Roese <stefan.roese at mailbox.org>
Applied to u-boot-marvell/next
Thanks,
Stefan
More information about the U-Boot
mailing list