Files
u-boot-krane/boot
Colin Pinnell McAllisterandMattijs Korpershoek e41e97e6e6 android_ab: fix slot selection
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.

Signed-off-by: Colin Pinnell McAllister <colinmca242@gmail.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Link: https://patch.msgid.link/20260525003158.11319-1-colinmca242@gmail.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
2026-06-15 09:15:05 +02:00
..
2026-06-15 09:15:05 +02:00
2026-04-27 11:26:40 -06:00
2025-11-22 08:48:13 -06:00