Hello! I am trying to program a Compute Module 4 using the rpiboot (usbboot) mass storage code from a Raspberry Pi 5 running Raspberry Pi OS 64-bit. When I connect the CM4 and run rpiboot, the device appears to be programmed correctly but the device does not re enumerate as a usb-storage device.
Before running rpi-boot
lsusb showsdmesgAfter I run rpiboot
lsusbdmesgI have tried two different things to troubleshoot.
1. I have installed rpiboot from the same branch on mac_os and was able to get the device to appear as a mass storage device
2. I have plugged a USB drive into the raspberry pi USB and verified it can see and attach the mass storage device.
Before running rpi-boot
lsusb shows
Code:
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 003 Device 011: ID 0a5c:2711 Broadcom Corp. BCM2711 BootBus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubCode:
[ 1357.022491] usb 3-1: new high-speed USB device number 11 using xhci-hcd[ 1357.159852] usb 3-1: config index 0 descriptor too short (expected 55, got 32)[ 1357.161851] usb 3-1: New USB device found, idVendor=0a5c, idProduct=2711, bcdDevice= 0.00[ 1357.161856] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3[ 1357.161859] usb 3-1: Product: BCM2711 Boot[ 1357.161861] usb 3-1: Manufacturer: Broadcom[ 1357.161864] usb 3-1: SerialNumber: 4dfe8c57lsusb
Code:
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubCode:
[ 2998.066252] usb 3-1: USB disconnect, device number 11[ 2999.321321] usb 3-1: new high-speed USB device number 12 using xhci-hcd[ 2999.460663] usb 3-1: New USB device found, idVendor=0a5c, idProduct=2711, bcdDevice= 0.00[ 2999.460667] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=4[ 2999.460669] usb 3-1: Product: BCM2711 Boot[ 2999.460671] usb 3-1: Manufacturer: Broadcom[ 2999.460673] usb 3-1: SerialNumber: 4dfe8c57[ 3004.006057] usb 3-1: USB disconnect, device number 121. I have installed rpiboot from the same branch on mac_os and was able to get the device to appear as a mass storage device
2. I have plugged a USB drive into the raspberry pi USB and verified it can see and attach the mass storage device.
Statistics: Posted by mobileoverlord — Tue May 13, 2025 9:52 pm — Replies 0 — Views 46