[PATCH v2] android_ab: fix slot selection
Mattijs Korpershoek
mkorpershoek at kernel.org
Mon Jun 15 09:15:41 CEST 2026
Hi,
On Mon, 25 May 2026 00:31:58 +0000, Colin Pinnell McAllister wrote:
> The boot selection rules state that a slot is bootable if it is not
> corrupted and either has tries remaining or has already booted
> successfully. However, slots that have tries_remaining == 0 and
> successful_boot == 1 will be disregarded when picking the slot to
> attempt.
>
> Updates the selection logic so slots marked successful remain eligible
> even when their tries counter is zero. Debug message now also includes
> the successful_boot value.
>
> [...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)
[1/1] android_ab: fix slot selection
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/e41e97e6e6061fec5a2fb069eaad662cf6359a93
--
Mattijs
More information about the U-Boot
mailing list