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/[email protected]/

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

Reply via email to