The A/B slot is chosen at spl stage and should be kept up to u-boot stage. Decrease slot retry count will cause slot switch when the slot only has one chance left. Set the 'bootloader_verified' flag when current slot is running the last chance at spl, u-boot will treat the slot as bootable if the 'reserved' flag is set even the retry count exhausted. Test: Slot not switch during 7 times reboot try. Change-Id: I7ae84b2ce683300a1bb332606cd58e48483214ea Signed-off-by: Ji Luo <ji.luo@nxp.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| avb_ab_flow.c | ||
| avb_ab_flow.h | ||
| avb_ab_ops.h | ||
| libavb_ab.h | ||