Skip to content

[RPi 4 / 5] USB boot fails on USB-SD card reader 04e8:61fd #2032

@P33M

Description

@P33M

This one's noteworthy because it's from a reputable manufacturer (Samsung) and is fast (USB3 / DDR200).

Pi 5, reader in USB3 port.

Bootloader log:

  5.06 RPi: BOOTLOADER release VERSION:086b83e3 DATE: 2026/05/26 TIME: 16:01:25
  5.07 MFG_VER: 1
  5.07 BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1779807685 serial 3c45e9ef boardrev d04170 stc 5078300
  5.08 EEPROM ID 0xef4015
  5.09 SFDP v1.5 Param v1.5
  5.09 PCIEx1: PWR 1 DET_WAKE 1
  5.10 usb_pd_init status 3
  5.10 USB_PD CONFIG 0 41
  5.16 XHCI-STOP
  5.16 xHC0 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
  5.18 USBSTS 1
  5.18 xHC0 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
  5.18 xHC0 ports 3 slots 64 intrs 4
  5.19 XHCI-STOP
  5.19 xHC1 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
  5.20 USBSTS 11
  5.20 xHC1 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
  5.21 xHC1 ports 3 slots 64 intrs 4
  5.21 USB-PD: src-cap PDO object1 0x0a0191f4
  5.21 Current 5000 mA
  5.22 Voltage 5000 mV
  5.22 USB-PD: src-cap PDO object2 0x0002d12c
  5.22 Current 3000 mA
  5.22 Voltage 9000 mV
  5.23 USB-PD: src-cap PDO object3 0x0003c0e1
  5.23 Current 2250 mA
  5.23 Voltage 12000 mV
  5.24 USB-PD: src-cap PDO object4 0x0004b0b4
  5.24 Current 1800 mA
  5.24 Voltage 15000 mV
  5.28 SD_OC: 0
  5.88 Boot mode: SD (01) order f64
  5.32 USB3[3] 002a1203 connected enabled
  5.33 USB3 root HUB port 3 init
  5.43 DEV [01:00] 3.32 000000:03 class 0 VID 04e8 PID 61fd
  5.44 MSD device [01:00] 3.32 000000:03 conf 0 iface 0 ep 81#1024 02#1024
  5.48 MSD [01:00] 3.32 000000:03 register MSD
  9.95 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
  9.96 SD HOST: 200000000 CTL0: 0x00800f00 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
 10.07 EMMC
 10.17 SD retry 1 oc 0
 10.19 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
 10.30 SD retry 2 oc 0
 10.32 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
 10.43 SDV1
 10.53 SD CMD: 0x371a0010 (55) 0x0 0x1fff0001
 10.38 Failed to open device: 'sdcard' (cmd 371a0010 status 1fff0001)
 10.54 Retry SD 1
 10.62 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
 10.63 SD HOST: 200000000 CTL0: 0x00800f00 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
 10.74 EMMC
 10.84 SD retry 1 oc 0
 10.86 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
 10.97 SD retry 2 oc 0
 11.00 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
 11.10 SDV1
 11.20 SD CMD: 0x371a0010 (55) 0x0 0x1fff0001
 11.10 Failed to open device: 'sdcard' (cmd 371a0010 status 1fff0001)
 11.25 SD_OC: 0
 11.56 Boot mode: USB-MSD (04) order f6
 11.32 XHCI-STOP
 11.32 xHC0 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
 11.32 USBSTS 0
 11.33 XHCI-STOP
 11.33 xHC1 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
 11.33 USBSTS 18
 11.34 XHCI-STOP
 11.34 xHC0 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
 11.34 USBSTS 1
 11.35 xHC0 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
 11.35 xHC0 ports 3 slots 64 intrs 4
 11.36 XHCI-STOP
 11.36 xHC1 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
 11.37 USBSTS 19
 11.37 xHC1 ver: 272 HCS: 03000440 140000f1 07ff000a HCC: 0240fe6d
 11.37 xHC1 ports 3 slots 64 intrs 4
 11.92 USB3[3] 002a1203 connected enabled
 11.93 USB3 root HUB port 3 init
 11.54 DEV [01:00] 3.32 000000:03 class 0 VID 04e8 PID 61fd
 11.55 MSD device [01:00] 3.32 000000:03 conf 0 iface 0 ep 81#1024 02#1024
 11.57 MSD [01:00] 3.32 000000:03 register MSD
 11.61 MSD [01:00] 3.32 000000:03 LUN 0
 12.44 xHC-CMD err: 6 type: 1 [01:00] 3.32 000000:03
 12.54    EVT (32   1) 50 50 b3 3b 00 00 00 00 08 00 00 06 01 80 03 01
 12.55    CMD ( 1  21) 04 20 a3 3b 00 00 00 00 08 00 00 00 21 04 00 00
 12.55 SLOT IN
 12.56 00 00 40 20 00 00 03 00
 12.56 00 00 00 00 00 00 00 00
 12.56 00 00 00 00 00 00 00 00
 12.56 00 00 00 00 00 00 00 00
 12.57 SLOT OUT
 12.57 00 00 40 20 00 00 03 00
 12.57 00 00 00 00 01 00 00 18
 12.57 00 00 00 00 00 00 00 00
 12.58 00 00 00 00 00 00 00 00
 12.58 EP0 CTX
 12.58 01 00 00 00 26 00 00 02
 12.58 e1 90 b0 3b 00 00 00 00
 12.59 08 00 00 00 00 00 00 08
 12.59 00 00 00 02 8a 05 00 00
 12.96 MSD error [01:00] 3.32 000000:03
 37.48 USB MSD stopped. Timeout: 25 seconds

Corresponding USB analyser trace:

Image

The reader apparently delays probing the SD card until the device is configured (reasonable, may take more than 100mA to do so). The firmware seemingly ignores the TEST_UNIT_READY failure code, which may occur if the card has not enumerated yet.

Note: the ~500ms gap between op 2 and op 3 is due to the reader, not the bootloader.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions