Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Networking and servers • BOOT_ORDER=0xf41 Sometimes Doesn't Look at USB

$
0
0
I want to boot a Raspberry Pi 4 from USB (from powered hub with USB drive), but want to check SD first, fail over to USB if there is no SD (the usual case).

I have the following "rpi-eeprom-config":

Code:

[all]                                                                                              BOOT_UART=0                                                                                        WAKE_ON_GPIO=1                                                                                     POWER_OFF_ON_HALT=0                                                                                USB_MSD_PWR_OFF_TIME=10000                                                                         USB_MSD_STARTUP_DELAY=15000                                                                        BOOT_ORDER=0xf41                                                                                   
I put the delays in there to make sure USB gets time to wake up. (It didn't used to work this well.)

This configuration works…mostly.

In a fail case, near the top of the screen, it says

Code:

boot: mode USB-MSD 4 order f41 retry 0/128 restart 0/-1
.

Farther down (transcribed from a photo of the screen, please forgive any errors) ends:

Code:

USB delay 15000Boot mode: SD (01) order f4USB3[3] 00281203 connected enabledUSB3 root HUB port 3 initUSB2[1] 400202e1 connectedUSB2 root HUB port 1 initHUB [02:00] 2.16 000000:01 init port 2 speed 3HUB [01:00] 3.32 000000:03 init port 4 speed 4HUB [03:02] 2.16 000002:01 init port 1 speed 2HID [05:03] 1.16 000012:01 register HIDFailed to open device: `sdcard` (cmd 371a0010 status 1fff0001)HUB [03:02] 2.16 000002:01 init port 4 speed 3Failed to open device: `sdcard` (cmd 371a0010 status 1fff0001)Boot mode: USB-MSD (04) order f
And it just sits there. Shouldn't it keep cycling? (The "f" means "repeat", right?)

As I said it mostly works, but not always.

Suggestions?

Thanks,

-kb

Statistics: Posted by kentborg — Wed Sep 17, 2025 7:12 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles