summaryrefslogtreecommitdiff
path: root/scripts/mbedtls_dev/crypto_data_tests.py
diff options
context:
space:
mode:
authorVincent Jardin <[email protected]>2026-05-08 15:54:06 +0200
committerStefan Roese <[email protected]>2026-06-10 11:23:26 +0200
commit3db9d9abc105f48eeb34bdccdce0516065ed76ed (patch)
tree23eb96b6fa713f3bf2d57f3aeeccef005631ac01 /scripts/mbedtls_dev/crypto_data_tests.py
parent3457acc01465644fff255ccbcd65470b64d57184 (diff)
board: freebox: nbx10g: add emmcboot for dual-bank eMMC boot
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]>
Diffstat (limited to 'scripts/mbedtls_dev/crypto_data_tests.py')
0 files changed, 0 insertions, 0 deletions