Skip to content

On Ubuntu rpiboot stops just after 'Successful read 4 bytes' #306

@j75

Description

@j75

Describe the bug

I am trying to flash the eMMC on a Raspberry Pi Compute Module 5 Development Kit.

I followed the instructions but finally it stops with

Sending bootcode.bin
Successful read 4 bytes
Waiting for BCM2835/6/7/2711/2712...

According to other issues it should go further and display something like

Second stage boot server
File read: mcb.bin
File read: memsys00.bin
File read: memsys01.bin
File read: memsys02.bin
File read: memsys03.bin
File read: bootmain
Loading: mass-storage-gadget/config.txt
File read: config.txt
Loading: mass-storage-gadget/boot.img
File read: boot.img
Second stage boot server done

Steps to reproduce the behaviour

I did

  1. git clone --recurse-submodules --shallow-submodules --depth=1 https://github.com/raspberrypi/usbboot
  2. cd usbboot/ ; make
  3. sudo ./rpiboot -d mass-storage-gadget64 then it displayed

Please fit the EMMC_DISABLE / nRPIBOOT jumper before connecting the power and USB cables to the target device.
If the device fails to connect then please see https://rpltd.co/rpiboot for debugging tips.

Loading: mass-storage-gadget64/bootfiles.bin
Using mass-storage-gadget64/bootfiles.bin
Waiting for BCM2835/6/7/2711/2712...
  1. then I connected my computer (running Ubuntu 24.04.2) on the Power In USB-C connector
  2. now it displays
Sending bootcode.bin
Successful read 4 bytes
Waiting for BCM2835/6/7/2711/2712...

...and there it stops!

Device(s)

Other

Compute Module IO board.

No response

RPIBOOT logs

RPIBOOT: build-date 2025/05/17 pkg-version local 402baf0

Please fit the EMMC_DISABLE / nRPIBOOT jumper before connecting the power and USB cables to the target device.
If the device fails to connect then please see https://rpltd.co/rpiboot for debugging tips.

Loading: mass-storage-gadget64/bootfiles.bin
Using mass-storage-gadget64/bootfiles.bin
Waiting for BCM2835/6/7/2711/2712...

Sending bootcode.bin
Successful read 4 bytes
Waiting for BCM2835/6/7/2711/2712...

Kernel logs

[ 9484.050567] usb 1-1: new high-speed USB device number 11 using xhci_hcd
[ 9484.177077] usb 1-1: New USB device found, idVendor=0a5c, idProduct=2712, bcdDevice= 0.00
[ 9484.177093] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9484.177100] usb 1-1: Product: BCM2712D0 Boot
[ 9484.177105] usb 1-1: Manufacturer: Broadcom
[ 9484.177109] usb 1-1: SerialNumber: 6cd1bdae

Device UART logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions