raspberrypi / usbboot

Raspberry Pi USB booting code, moved from tools repository
Apache License 2.0
878 stars 221 forks source link

CM4 hangs #135

Closed mikev1963 closed 2 years ago

mikev1963 commented 2 years ago

I am trying to load a new os, but when I run the following command it Hangs, Ran for 1 day and I only see the following:

sudo ./rpiboot RPIBOOT: build-date May 1, 2022 version 20220427-095022 54a0395d Waiting for BMC2835/6/7/2711... Loaded embedded: bincode4.bin Sending bootcode.bin Successfully read 4 bytes Waiting for BCM2835/6/7/2711.... <- hangs here for over 1 day,

in /var/log/syslog:

usb disconnect errors

Vishwasrao1 commented 2 years ago

I am also facing same issue on MacOs

Vishwasrao1 commented 2 years ago

I have resolved this issue, You need to update the SPI EEPROM bootloader on a Compute Module 4. Follow these steps

cd recovery
./update-pieeprom.sh
../rpiboot -d .

then you can use rpiboot to flash your device.

mikev1963 commented 2 years ago

This did not work for me😂

Sent from my iPhone

On May 2, 2022, at 4:35 AM, Vishwas Avinash Jadhav @.***> wrote:

 I have resolved this issue, You need to update update the SPI EEPROM bootloader on a Compute Module 4. Follow these steps cd recovery ./update-pieeprom.sh ../rpiboot -d .

then you can use rpiboot to flash your device.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

mikev1963 commented 2 years ago

I got it to work. Here is what I did.

  1. powered off RPI CM4.
  2. Ran the steps above from Vishwarao1
  3. Powered on device.

Worked like a champ. Crazy.