[PATCH v2 0/2] am335x: failsafe bootloader update

Rasmus Villemoes ravi at prevas.dk
Thu Jan 29 11:54:31 CET 2026


Make it possible to update the (whole) bootloader on am335x robustly,
i.e. so that a power failure or random OOM killing of the update
process or other interruptions do not result in a bricked board.

The order the trial bits gets set is somewhat odd, but is clearly what
happens, and somebody else trying to reverse engineer the ROM code has
observed the same thing: See the TracingVectors.ods in
https://github.com/sjgallagher2/am335xbootrom .

v2: Add patch updating documentation, including a sketch of shell
commands that could be used for the actual update procedure.

v1: https://lore.kernel.org/u-boot/20260122131728.1551365-1-ravi@prevas.dk/

Rasmus Villemoes (2):
  am335x: add support for loading u-boot from multiple offsets
  doc: am335x: document use of CONFIG_SPL_AM33XX_MMCSD_MULTIPLE

 arch/arm/mach-omap2/Kconfig       | 37 ++++++++++++++
 arch/arm/mach-omap2/boot-common.c | 31 ++++++++++++
 doc/board/ti/am335x_evm.rst       | 80 +++++++++++++++++++++++++++++++
 3 files changed, 148 insertions(+)

-- 
2.52.0



More information about the U-Boot mailing list