]> git.dujemihanovic.xyz Git - u-boot.git/commit
android_ab: Try backup booloader_message
authorJoshua Watt <jpewhacker@gmail.com>
Mon, 3 Jul 2023 15:07:13 +0000 (10:07 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 17 Jul 2023 20:20:08 +0000 (16:20 -0400)
commit3430f24bc69d61eadf5b09999d58c468ac67c9fe
tree2be4c8232f5cb3637da9c7cc501f3c8eb9d8f3f0
parent55a424437226f9ef50c3e829dafa6b494377d018
android_ab: Try backup booloader_message

Some devices keep 2 copies of the bootloader_message in the misc
partition and write each in sequence when updating. This ensures that
there is always one valid copy of the bootloader_message. Teach u-boot
to optionally try a backup bootloader_message from a specified offset if
the primary one fails its CRC check.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
boot/android_ab.c
common/Kconfig
doc/android/ab.rst