-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recover broken SPI rom (Rpi5) #636
Comments
RPI imager has a menu "misc utility images" which has bootloader images which you can flash to a blank SD card to recover the bootloader. |
Thanks, already tried that but the device keeps blinking SOS. I will try some other sdcards later. First I will have to deal with the joy of pcie switch erratas ... |
usbboot/rpiboot should also work: |
Please could you try the SD-card result again and then power up the Pi without an SD-card or other boot-devices? It would be good to confirm whether the SD card update is failing or if it's immediately failing as a result of something on the SD-card. Also, what size of SDRAM is it? |
Boot UART output from the SD card rescue would also be really helpful if you could provide that. |
Unfortunately I already fixed it with another sd card and a durability test case is running. After this is over (probably end of this week), I can test again with the broken SD and provide uart logs. btw: |
On a Pi5 if you press and hold the power button before connecting the USB-C cable it will go into rpiboot mode. The recovery.bin does a sha256 check of pieeprom.sig before flashing it, but if something was broken in the low-speed memory setup then that might cause this. However, APT update uses flashrom so I can't see how the initial problem occured. |
Describe the bug
I ran an apt upgrade on a RPi5. After power down the device won't boot and presents an LED error code as soon as I connect the power supply: According to https://www.raspberrypi.com/documentation/computers/configuration.html#led-warning-flash-codes it is
SPI EEPROM error - Pi 4 and Pi 5
(3x long 1x short)How can I recover the broken device?
Steps to reproduce the behaviour
Device (s)
Raspberry Pi 5
Bootloader configuration.
Cannot provide this, as the device won't boot anymore
System
No response
Bootloader logs
No response
USB boot
No response
NVMe boot
No response
Network (TFTP boot)
No response
The text was updated successfully, but these errors were encountered: