Issuing a reboot command with a tryboot partition doesn't seem to clear the tryboot flag before attempting to boot from said partition.
system is setup for secure boot with following partition layout
mmcblk0p1
- autoboot.txt
mmcblk0p2
- boot.img
- boot.sig
- config.txt
mmcblk0p3
- boot.img
- boot.sig
- config.txt
mmcblk0p4.. rootfs and other partitions
For this example, partition 50 was used, but any partition without a valid boot.img exhibits the same behavior.
Example
sudo reboot "50 tryboot" # should fail with partition 50 since it does not exist
Expected behavior
Expect it to try booting from partition 50 once, then boot normally, in my case using partition 3 from autoboot.txt
Actual behavior
Continuously attempts to boot sd partition 50, (along with other boot modes specified in the bootorder, ie network) until power is removed.
Note : I am aware bootorder 0x6 is invalid for this board, but don't think it should effect this issue.
System Information
------------------
Raspberry Pi 4 Model B Rev 1.5
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
Raspberry Pi reference 2023-12-11
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 2acf7afcba7d11500313a7b93bb55a2aae20b2d6, stage2
Linux raspberrypi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
Revision : b03115
Serial : 1000000013282008
Model : Raspberry Pi 4 Model B Rev 1.5
Throttled flag : throttled=0x0
Camera : supported=0 detected=0, libcamera interfaces=0
Videocore information
---------------------
Oct 17 2023 15:39:16
Copyright (c) 2012 Broadcom
version 30f0c5e4d076da3ab4f341d88e7d505760b93ad7 (clean) (release) (start)
alloc failures: 0
compactions: 0
legacy block fails: 0
EEPROM
------
BOOTLOADER: up to date
CURRENT: Fri Jan 9 16:12:13 UTC 2026 (1767975133)
LATEST: Wed Jan 11 17:40:52 UTC 2023 (1673458852)
RELEASE: default (/lib/firmware/raspberrypi/bootloader-2711/default)
Use raspi-config to change the release.
VL805_FW: Using bootloader EEPROM
VL805: up to date
CURRENT: 000138c0
LATEST: 000138c0
autoboot.txt
[all]
tryboot_a_b=1
boot_partition=3
[tryboot]
boot_partition=2
rpi-eeprom-config
[all]
BOOT_UART=1
POWER_OFF_ON_HALT=1
# Boot Order Codes, from https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#BOOT_ORDER
# Try SD first (1), followed by, USB PCIe, NVMe PCIe, then network
BOOT_ORDER=0xf2461
# Disable self-update mode
ENABLE_SELF_UPDATE=0
# Select signed-boot mode in the EEPROM. This can be used to during development
# to test the signed boot image. Once secure boot is enabled via OTP this setting
# has no effect i.e. it is always 1.
SIGNED_BOOT=1
wdctl
Device: /dev/watchdog0
Identity: Broadcom BCM2835 Watchdog timer [version 0]
Timeout: 15 seconds
Timeleft: 14 seconds
Pre-timeout: 0 seconds
FLAG DESCRIPTION STATUS BOOT-STATUS
KEEPALIVEPING Keep alive ping reply 1 0
MAGICCLOSE Supports magic close char 0 0
SETTIMEOUT Set timeout (in seconds) 0 0
Logs
[ 3312.853859] systemd-shutdown[1]: Failed to set watchdog hardware timeout to 10min: Invalid argument
[ 3313.270008] systemd-shutdown[1]: Failed to finalize DM devices, ignoring.
[ 3313.373942] reboot: Restarting system with command '50 tryboot'
0.53 RPi: BOOTSYS release VERSION:d76c4603 DATE: 2026/01/09 TIME: 16:12:13
0.54 BOOTMODE: 0x06 partition 50 build-ts BUILD_TIMESTAMP=1767975133 serial 13282008 boardrev b03115 stc 542686
0.55 PM_RSTS 00000524
0.55 POWER_OFF_ON_HALT: 1 WAIT_FOR_POWER_BUTTON 0 power-on-reset 0
0.56 part 00000032 reset_info 00000001
0.56 uSD voltage 3.3V
0.59 Initialising SDRAM rank 1 total-size: 16Gbit 3200 part: 0 (0x06 0x00)
0.59 DDR 3200 0 0 16 152 BL:3
1.37 SD_SB 11003120
1.54 OTP boardrev b03115 bootrom c8b0 c8b0
1.54 Customer key hash 111***
1.55 VC-JTAG unlocked
1.80 TRYBOOT
1.58 bootconf.sig
1.58 hash: 9b3***
1.58 rsa2048: 303***
1.63 RSA verify
1.51 rsa-verify pass (0x0)
1.52 TRYBOOT
1.91 RPi: BOOTLOADER release VERSION:d76c4603 DATE: 2026/01/09 TIME: 16:12:13
1.92 BOOTMODE: 0x06 partition 50 build-ts BUILD_TIMESTAMP=1767975133 serial 13282008 boardrev b03115 stc 1921805
1.31 Unsupported boot order 6
1.57 TRYBOOT
2.01 SD_OC: 0
2.17 Boot mode: SD (01) order f24
2.03 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
2.04 SD HOST: 200000000 CTL0: 0x00800f00 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
2.19 OCR c0ff8000 [184]
CID: 009f54495344333247616310c5a10177
CSD: 400e00325b590000e8f57f800a400000
2.20 SD: bus-width: 4 spec: 2 SCR: 0x02058083 0x00000000
2.21 SD HOST: 200000000 CTL0: 0x00800f04 BUS: 50000000 Hz actual: 50000000 HZ div: 4 (2) status: 0x1fff0000 delay: 2
2.22 MBR: 0x00002000, 73728 type: 0x0c
2.22 MBR: 0x00014000, 1056768 type: 0x0c
2.22 MBR: 0x00116000, 1056768 type: 0x0c
2.23 MBR: 0x00218000,33562624 type: 0x0f
2.35 Trying partition: 0
2.38 type: 16 lba: 8192 'mkfs.fat' ' V ^ ' clusters 18391 (4)
2.24 rsc 4 fat-sectors 64 root dir cluster 1 sectors 32 entries 512
2.25 FAT16 clusters 18391
2.55 Read autoboot.txt bytes 64 hnd 0xa
2.57 TRYBOOT_A_B_MODE
2.25 Select partition rsts 50 C(boot_partition) 2 EEPROM config 0 result 50
2.66 Trying partition: 50
2.26 EBR: 0x00218000 0x00002000,10493952 0x00a05800,10496000 signature: aa55
2.27 EBR: 0x00c1d800 0x00000800,10493952 0x01409800, 215040 signature: aa55
2.28 EBR: 0x01621800 0x00000800, 212992 0x0143f800, 4204544 signature: aa55
2.29 EBR: 0x01657800 0x00000800, 4202496 0x01843800, 2107392 signature: aa55
2.29 EBR: 0x01a5b800 0x00000800, 2105344 0x00000000, 0 signature: aa55
2.03 Failed to open partition 50
2.30 Select partition rsts 50 C(boot_partition) 2 EEPROM config 0 result 50
2.31 Partition walk: 1
2.15 Trying partition: 1
2.18 type: 16 lba: 8192 'mkfs.fat' ' V ^ ' clusters 18391 (4)
2.32 rsc 4 fat-sectors 64 root dir cluster 1 sectors 32 entries 512
2.33 FAT16 clusters 18391
2.33 secure-boot
2.34 Loading boot.img ...
2.33 [sdcard] boot.img not found
2.40 Error 6 loading boot.img
2.40 SD_OC: 0
2.03 Boot mode: USB-MSD (04) order f2
2.41 PCI0 init
2.41 PCI0 reset
2.59 PCIe scan 00001106:00003483
2.71 XHCI-STOP
2.71 xHC0 ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
2.71 USBSTS 1
2.72 xHC0 ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
2.72 xHC0 ports 5 slots 32 intrs 4
2.34 USB2[1] 400202e1 connected
2.49 USB2 root HUB port 1 init
2.75 DEV [01:00] 2.16 000000:01 class 9 VID 2109 PID 3431
2.75 HUB init [01:00] 2.16 000000:01
7.06 HDMI0 edid block 0 offset 0
7.06 00ffffffffffff005262060201010101
7.07 0116010380a05a780af09da355499b26
7.07 0f474a21080081808bc0010101010101
7.07 010101010101023a801871382d40582c
7.08 450040846300001e662150b051001b30
7.08 4070360040846300001e000000fc0054
7.08 4f53484942412d54560a2020000000fd
7.09 00173d0f440f000a2020202020200194
7.10 HDMI0 edid block 1 offset 128
7.10 02032671499001020304050607202609
7.11 0707110718830100006c030c00100000
7.11 21c015151f1f011d8018711c1620582c
7.11 250040846300009e011d007251d01e20
7.12 6e28550040846300001e8c0ad08a20e0
7.12 2d10103e9600b084430000188c0aa014
7.12 51f01600267c4300b084430000980000
7.13 0000000000000000000000000000004f
7.13 HDMI0: best-mode 1 (limit 1) 1280x720 60 Hz CEA modes fe000100010000000000000000000000 extensions 1
27.75 XHCI-STOP
27.75 xHC0 ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
27.75 USBSTS 18
27.58 USB MSD stopped. Timeout: 25 seconds
27.81 SD_OC: 0
27.20 Boot mode: NETWORK (02) order f
27.84 GENET: RESET_PHY 0
27.84 CTL 1140 PHY ID 600d 84a2
27.84 MII_CONTROL 1140
27.84 MII APD 0001 SCTL3 0001 IDDQ 0000
27.26 NETWORK: d8:3a:dd:90:b1:f1 wait for link TFTP: 0.0.0.0
31.32 LINK STATUS: speed: 1000 full duplex
31.23 Link ready
31.34 GENET START: 64 16 32
31.35 GENET: UMAC_START 0xd83add90 0xb1f10000
31.35 RX: 0 IP: 0 IPV4: 0 MAC: 0 UDP: 0 UDP RECV: 0 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
39.67 DHCP src: 00:14:bf:af:9d:b9 192.168.1.1
39.68 YI_ADDR 192.168.1.111
39.71 SI_ADDR 192.168.1.1
39.37 OPTIONS:-
op: 53 len: 1 DHCP recv OFFER (2) expect OFFER 39.37
op: 54 len: 4 192.168.1.1 39.38
op: 51 len: 4 39.38
op: 58 len: 4 39.38
op: 59 len: 4 39.38
op: 1 len: 4 255.255.255.0 39.39
op: 28 len: 4 192.168.1.255 39.39
op: 3 len: 4 192.168.1.1 39.39
55.66 DHCP src: 00:14:bf:af:9d:b9 192.168.1.1
55.67 YI_ADDR 192.168.1.111
55.70 SI_ADDR 192.168.1.1
55.37 OPTIONS:-
op: 53 len: 1 DHCP recv OFFER (2) expect OFFER 55.37
op: 54 len: 4 192.168.1.1 55.38
op: 51 len: 4 55.38
op: 58 len: 4 55.38
op: 59 len: 4 55.38
op: 1 len: 4 255.255.255.0 55.39
op: 28 len: 4 192.168.1.255 55.39
op: 3 len: 4 192.168.1.1 55.39
72.84 Stopping network
72.84 RX: 55 IP: 0 IPV4: 20 MAC: 2 UDP: 2 UDP RECV: 2 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
72.84 RX: 55 IP: 0 IPV4: 20 MAC: 2 UDP: 2 UDP RECV: 2 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
72.86 GENET STOP: 0
72.86 NETBOOT CANCEL
72.67 NETBOOT init failed
72.92 SD_OC: 0
72.29 Boot mode: RESTART (0f) order 0
72.93 Restart 0 max -1
72.98 SD_OC: 0
72.92 Boot mode: SD (01) order f24
73.03 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
73.04 SD HOST: 200000000 CTL0: 0x00800f00 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
73.18 OCR c0ff8000 [177]
CID: 009f54495344333247616310c5a10177
CSD: 400e00325b590000e8f57f800a400000
73.19 SD: bus-width: 4 spec: 2 SCR: 0x02058083 0x00000000
73.20 SD HOST: 200000000 CTL0: 0x00800f04 BUS: 50000000 Hz actual: 50000000 HZ div: 4 (2) status: 0x1fff0000 delay: 2
73.21 MBR: 0x00002000, 73728 type: 0x0c
73.21 MBR: 0x00014000, 1056768 type: 0x0c
73.21 MBR: 0x00116000, 1056768 type: 0x0c
73.22 MBR: 0x00218000,33562624 type: 0x0f
73.25 Trying partition: 0
73.49 type: 16 lba: 8192 'mkfs.fat' ' V ^ ' clusters 18391 (4)
73.25 rsc 4 fat-sectors 64 root dir cluster 1 sectors 32 entries 512
73.25 FAT16 clusters 18391
73.63 Read autoboot.txt bytes 64 hnd 0xa
73.65 TRYBOOT_A_B_MODE
73.26 Select partition rsts 50 C(boot_partition) 2 EEPROM config 0 result 50
73.74 Trying partition: 50
73.27 EBR: 0x00218000 0x00002000,10493952 0x00a05800,10496000 signature: aa55
73.28 EBR: 0x00c1d800 0x00000800,10493952 0x01409800, 215040 signature: aa55
73.29 EBR: 0x01621800 0x00000800, 212992 0x0143f800, 4204544 signature: aa55
73.29 EBR: 0x01657800 0x00000800, 4202496 0x01843800, 2107392 signature: aa55
73.30 EBR: 0x01a5b800 0x00000800, 2105344 0x00000000, 0 signature: aa55
73.11 Failed to open partition 50
73.31 Select partition rsts 50 C(boot_partition) 2 EEPROM config 0 result 50
73.32 Partition walk: 1
73.24 Trying partition: 1
73.26 type: 16 lba: 8192 'mkfs.fat' ' V ^ ' clusters 18391 (4)
73.33 rsc 4 fat-sectors 64 root dir cluster 1 sectors 32 entries 512
73.33 FAT16 clusters 18391
73.41 secure-boot
73.43 Loading boot.img ...
73.34 [sdcard] boot.img not found
73.48 Error 6 loading boot.img
73.40 SD_OC: 0
73.11 Boot mode: USB-MSD (04) order f2
73.43 XHCI-STOP
73.43 xHC0 ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
73.43 USBSTS 19
73.43 xHC0 ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
73.44 xHC0 ports 5 slots 32 intrs 4
73.72 USB2[1] 400202e1 connected
73.88 USB2 root HUB port 1 init
73.48 DEV [01:00] 2.16 000000:01 class 9 VID 2109 PID 3431
73.49 HUB init [01:00] 2.16 000000:01
98.48 XHCI-STOP
98.48 xHC0 ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
98.49 USBSTS 18
98.96 USB MSD stopped. Timeout: 25 seconds
98.55 SD_OC: 0
98.58 Boot mode: NETWORK (02) order f
98.57 Stopping network
98.57 Stopping network
98.81 NETWORK: d8:3a:dd:90:b1:f1 wait for link TFTP: 0.0.0.0
98.58 LINK STATUS: speed: 1000 full duplex
98.90 Link ready
98.59 GENET START: 64 16 32
98.60 GENET: UMAC_START 0xd83add90 0xb1f10000
98.60 RX: 77 IP: 0 IPV4: 26 MAC: 2 UDP: 2 UDP RECV: 2 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
98.23 DHCP src: 00:14:bf:af:9d:b9 192.168.1.1
98.24 YI_ADDR 192.168.1.111
98.26 SI_ADDR 192.168.1.1
98.62 OPTIONS:-
op: 53 len: 1 DHCP recv OFFER (2) expect OFFER 98.63
op: 54 len: 4 192.168.1.1 98.63
op: 51 len: 4 98.64
op: 58 len: 4 98.64
op: 59 len: 4 98.64
op: 1 len: 4 255.255.255.0 98.64
op: 28 len: 4 192.168.1.255 98.65
op: 3 len: 4 192.168.1.1 98.65
106.14 DHCP src: 00:14:bf:af:9d:b9 192.168.1.1
106.15 YI_ADDR 192.168.1.111
106.18 SI_ADDR 192.168.1.1
106.62 OPTIONS:-
op: 53 len: 1 DHCP recv OFFER (2) expect OFFER106.62
op: 54 len: 4 192.168.1.1106.62
op: 51 len: 4 106.63
op: 58 len: 4 106.63
op: 59 len: 4 106.63
op: 1 len: 4 255.255.255.0106.63
op: 28 len: 4 192.168.1.255106.64
op: 3 len: 4 192.168.1.1106.64
122.19 DHCP src: 00:14:bf:af:9d:b9 192.168.1.1
122.20 YI_ADDR 192.168.1.111
122.23 SI_ADDR 192.168.1.1
122.62 OPTIONS:-
op: 53 len: 1 DHCP recv OFFER (2) expect OFFER122.63
op: 54 len: 4 192.168.1.1122.63
op: 51 len: 4 122.63
op: 58 len: 4 122.63
op: 59 len: 4 122.64
op: 1 len: 4 255.255.255.0122.64
op: 28 len: 4 192.168.1.255122.64
op: 3 len: 4 192.168.1.1122.65
143.57 Stopping network
143.57 RX: 127 IP: 0 IPV4: 37 MAC: 5 UDP: 5 UDP RECV: 5 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
143.58 RX: 127 IP: 0 IPV4: 37 MAC: 5 UDP: 5 UDP RECV: 5 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
143.60 GENET STOP: 0
143.60 NETBOOT CANCEL
143.05 NETBOOT init failed
143.66 SD_OC: 0
143.67 Boot mode: RESTART (0f) order 0
143.66 Restart 1 max -1
143.72 SD_OC: 0
143.30 Boot mode: SD (01) order f24
143.76 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
143.77 SD HOST: 200000000 CTL0: 0x00800f00 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
143.92 OCR c0ff8000 [177]
CID: 009f54495344333247616310c5a10177
CSD: 400e00325b590000e8f57f800a400000
143.93 SD: bus-width: 4 spec: 2 SCR: 0x02058083 0x00000000
143.94 SD HOST: 200000000 CTL0: 0x00800f04 BUS: 50000000 Hz actual: 50000000 HZ div: 4 (2) status: 0x1fff0000 delay: 2
143.95 MBR: 0x00002000, 73728 type: 0x0c
143.95 MBR: 0x00014000, 1056768 type: 0x0c
143.95 MBR: 0x00116000, 1056768 type: 0x0c
143.96 MBR: 0x00218000,33562624 type: 0x0f
143.64 Trying partition: 0
143.87 type: 16 lba: 8192 'mkfs.fat' ' V ^ ' clusters 18391 (4)
143.99 rsc 4 fat-sectors 64 root dir cluster 1 sectors 32 entries 512
143.99 FAT16 clusters 18391
144.01 Read autoboot.txt bytes 64 hnd 0xa
144.03 TRYBOOT_A_B_MODE
144.00 Select partition rsts 50 C(boot_partition) 2 EEPROM config 0 result 50
144.12 Trying partition: 50
144.01 EBR: 0x00218000 0x00002000,10493952 0x00a05800,10496000 signature: aa55
144.02 EBR: 0x00c1d800 0x00000800,10493952 0x01409800, 215040 signature: aa55
144.02 EBR: 0x01621800 0x00000800, 212992 0x0143f800, 4204544 signature: aa55
144.03 EBR: 0x01657800 0x00000800, 4202496 0x01843800, 2107392 signature: aa55
144.04 EBR: 0x01a5b800 0x00000800, 2105344 0x00000000, 0 signature: aa55
144.50 Failed to open partition 50
144.05 Select partition rsts 50 C(boot_partition) 2 EEPROM config 0 result 50
144.06 Partition walk: 1
144.62 Trying partition: 1
144.65 type: 16 lba: 8192 'mkfs.fat' ' V ^ ' clusters 18391 (4)
144.07 rsc 4 fat-sectors 64 root dir cluster 1 sectors 32 entries 512
144.07 FAT16 clusters 18391
144.79 secure-boot
144.81 Loading boot.img ...
144.08 [sdcard] boot.img not found
144.87 Error 6 loading boot.img
144.14 SD_OC: 0
144.50 Boot mode: USB-MSD (04) order f2
144.16 XHCI-STOP
144.16 xHC0 ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
144.17 USBSTS 19
144.17 xHC0 ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
144.18 xHC0 ports 5 slots 32 intrs 4
144.11 USB2[1] 400202e1 connected
144.26 USB2 root HUB port 1 init
144.22 DEV [01:00] 2.16 000000:01 class 9 VID 2109 PID 3431
144.23 HUB init [01:00] 2.16 000000:01
169.22 XHCI-STOP
169.22 xHC0 ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
169.23 USBSTS 18
169.34 USB MSD stopped. Timeout: 25 seconds
169.29 SD_OC: 0
169.96 Boot mode: NETWORK (02) order f
169.31 Stopping network
169.31 Stopping network
169.19 NETWORK: d8:3a:dd:90:b1:f1 wait for link TFTP: 0.0.0.0
169.32 LINK STATUS: speed: 1000 full duplex
169.28 Link ready
169.33 GENET START: 64 16 32
169.34 GENET: UMAC_START 0xd83add90 0xb1f10000
169.34 RX: 144 IP: 0 IPV4: 45 MAC: 5 UDP: 5 UDP RECV: 5 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
169.61 DHCP src: 00:14:bf:af:9d:b9 192.168.1.1
169.62 YI_ADDR 192.168.1.111
169.65 SI_ADDR 192.168.1.1
169.36 OPTIONS:-
op: 53 len: 1 DHCP recv OFFER (2) expect OFFER169.37
op: 54 len: 4 192.168.1.1169.37
op: 51 len: 4 169.37
op: 58 len: 4 169.38
op: 59 len: 4 169.38
op: 1 len: 4 255.255.255.0169.38
op: 28 len: 4 192.168.1.255169.39
op: 3 len: 4 192.168.1.1169.39
177.56 DHCP src: 00:14:bf:af:9d:b9 192.168.1.1
177.57 YI_ADDR 192.168.1.111
177.59 SI_ADDR 192.168.1.1
177.36 OPTIONS:-
op: 53 len: 1 DHCP recv OFFER (2) expect OFFER177.36
op: 54 len: 4 192.168.1.1177.37
op: 51 len: 4 177.37
op: 58 len: 4 177.37
op: 59 len: 4 177.37
op: 1 len: 4 255.255.255.0177.38
op: 28 len: 4 192.168.1.255177.38
op: 3 len: 4 192.168.1.1177.38
193.56 DHCP src: 00:14:bf:af:9d:b9 192.168.1.1
193.57 YI_ADDR 192.168.1.111
193.60 SI_ADDR 192.168.1.1
193.36 OPTIONS:-
op: 53 len: 1 DHCP recv OFFER (2) expect OFFER193.36
op: 54 len: 4 192.168.1.1193.37
op: 51 len: 4 193.37
op: 58 len: 4 193.37
op: 59 len: 4 193.37
op: 1 len: 4 255.255.255.0193.38
op: 28 len: 4 192.168.1.255193.38
op: 3 len: 4 192.168.1.1193.38
214.31 Stopping network
214.31 RX: 206 IP: 0 IPV4: 68 MAC: 8 UDP: 8 UDP RECV: 8 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
214.32 RX: 206 IP: 0 IPV4: 68 MAC: 8 UDP: 8 UDP RECV: 8 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
214.34 GENET STOP: 0
214.34 NETBOOT CANCEL
214.43 NETBOOT init failed
214.40 SD_OC: 0
214.06 Boot mode: RESTART (0f) order 0
214.40 Restart 2 max -1
214.46 SD_OC: 0
214.69 Boot mode: SD (01) order f24
214.50 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
214.51 SD HOST: 200000000 CTL0: 0x00800f00 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
214.66 OCR c0ff8000 [177]
CID: 009f54495344333247616310c5a10177
CSD: 400e00325b590000e8f57f800a400000
214.67 SD: bus-width: 4 spec: 2 SCR: 0x02058083 0x00000000
214.67 SD HOST: 200000000 CTL0: 0x00800f04 BUS: 50000000 Hz actual: 50000000 HZ div: 4 (2) status: 0x1fff0000 delay: 2
214.68 MBR: 0x00002000, 73728 type: 0x0c
214.69 MBR: 0x00014000, 1056768 type: 0x0c
214.69 MBR: 0x00116000, 1056768 type: 0x0c
214.69 MBR: 0x00218000,33562624 type: 0x0f
214.02 Trying partition: 0
214.26 type: 16 lba: 8192 'mkfs.fat' ' V ^ ' clusters 18391 (4)
214.72 rsc 4 fat-sectors 64 root dir cluster 1 sectors 32 entries 512
214.73 FAT16 clusters 18391
214.39 Read autoboot.txt bytes 64 hnd 0xa
214.42 TRYBOOT_A_B_MODE
214.74 Select partition rsts 50 C(boot_partition) 2 EEPROM config 0 result 50
214.51 Trying partition: 50
Issuing a reboot command with a tryboot partition doesn't seem to clear the tryboot flag before attempting to boot from said partition.
system is setup for secure boot with following partition layout
For this example, partition 50 was used, but any partition without a valid boot.img exhibits the same behavior.
Example
sudo reboot "50 tryboot"# should fail with partition 50 since it does not existExpected behavior
Expect it to try booting from partition 50 once, then boot normally, in my case using partition 3 from autoboot.txt
Actual behavior
Continuously attempts to boot sd partition 50, (along with other boot modes specified in the bootorder, ie network) until power is removed.
Note : I am aware bootorder 0x6 is invalid for this board, but don't think it should effect this issue.System Information
autoboot.txt
rpi-eeprom-config
wdctl
Logs