I'm testing the autoboot.txt flow for an A/B update scheme. From my custom distro (which uses systemd) I can trigger the tryboot flag with
The content of my autoboot.txt (in the first partition) is:
Without the tryboot flag, the system correctly boots from partition 2; if the tryboot flag is set the system tries to boot from partition 3. However, in my case partition 3 is still empty, and the system is then stuck until it's externally reset (then it goes back to booting from partition 2). Is there a way to enable a watchdog or another automatic rollback mechanism in case of a faulted partition with the tryboot?
Code:
echo "0 tryboot" > /run/systemd/reboot-paramsystemctl rebootCode:
[all]tryboot_a_b=1boot_partition=2[tryboot]boot_partition=3Statistics: Posted by larena — Mon Feb 17, 2025 12:42 pm