[PATCH] android_ab: Add option to skip decrementing tries

Tom Rini trini at konsulko.com
Tue Jul 18 15:58:16 CEST 2023

On Fri, Jun 23, 2023 at 05:05:48PM -0500, Joshua Watt wrote:

> It is is sometimes desired to be able to skip decrementing the number of
> tries remaining in an Android A/B boot, and instead just check which
> slot will be tried later. This can commonly be be the case for platforms
> that want to A/B u-boot itself, but are required to boot from a FAT MBR
> partition. In these cases, u-boot must do an early check that the MBR
> points to the correct A/B boot partition, and if not rewrite the MBR to
> point to the correct one and reboot. Decrementing the try count in this
> case is not desired because it means that each u-boot might constantly
> ping-pong overwriting the MBR and rebooting until all the retries are
> used up.
> Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230718/85efb7d8/attachment.sig>

More information about the U-Boot mailing list