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 <[email protected]> > Reviewed-by: Stefan Roese <[email protected]>
Applied to u-boot-marvell/next Thanks, Stefan

