[PATCH v3 3/5] board: freebox: nbx10g: add emmcboot for dual-bank eMMC boot

Stefan Roese stefan.roese at mailbox.org
Wed Jun 10 14:21:29 CEST 2026


On 5/8/26 15:54, Vincent Jardin wrote:

> Add the emmcboot command as board-specific support for the Nodebox 10G.
>
> This is a legacy boot format that has been in production on this board
> for many years so it cannot change anymore. It implements a dual-bank
> boot system for reliable firmware updates:
>
> - Bank0: Stable/fallback boot image
> - Bank1: Newer/test boot image with reboot tracking
>
> The boot order depends on the nrboot counter stored in eMMC:
> - Healthy state (counter < 4): Try Bank1 first, then Bank0
> - Degraded state (counter >= 4): Try Bank0 first, then Bank1
>
> Each bank stores an image tag with CRC32 validation. The counter uses
> a bit-counting scheme for wear leveling and tracks consecutive failed
> boots to trigger automatic fallback.
>
> 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