1

I've had my RPI4 configured to boot from the network if there is no SD card inserted (for bare metal programming) but firmware update restored it back to SD boot only. So I've tried to make it boot from the network again using this procedure: https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711_bootloader_config.md. But I've misconfigured BOOT_ORDER setting it to 0x2 instead of 0x12. Now it does not boot from SD card at all. It boots from network fine. I have BOOT_UART option enabled and I see that it doesn't even try to boot from SD card. It tries to boot few times over network and stops, giving FATAL @ 0x80001fc2 message. The official documentation says:

The Raspberry Pi 4 has an SPI-attached EEPROM (4MBits/512KB), which contains code to boot up the system and replaces bootcode.bin previously found in the boot partition of the SD card. Note that if a bootcode.bin is present in the boot partition of the SD card in a Pi 4, it is ignored.

but it doesn't seem to be the case. Is there a way to restore original EEPROM contents? I would like to avoid desoldering and reprogramming the EEPROM chip since it would void the warranty for sure.

5
  • You should be able to reprogram the EEPROM raspberrypi.org/documentation/hardware/raspberrypi/…
    – Dougie
    Commented Dec 31, 2019 at 0:05
  • That would be the case if I was able to run Linux.
    – pvc
    Commented Dec 31, 2019 at 11:44
  • You don't need Linux - everything is in recovery.bin which is bootable.
    – Dougie
    Commented Dec 31, 2019 at 12:47
  • 1
    I got it working. Seems I got confused by recover* files in NOOBS archive. These don't seem to work. I didn't know that there is separate archive with EEPROM recovery stuff on Raspberry Pi download page.
    – pvc
    Commented Dec 31, 2019 at 15:59
  • 1
    Forget NOOBS, it just makes things horribly complex when your RPi won't boot. It also wastes 1.3GB of space on your SDCard. If you're only using NOOBS to boot Raspbian then just flash the card with plain Raspbian using Balena's Etcher.
    – Dougie
    Commented Dec 31, 2019 at 22:52

2 Answers 2

0

Download bootloader archive from https://www.raspberrypi.org/downloads/. Unpack it on to freshly FAT32 formatted µSD card (mine was partitioned and had boot flag enabled for the partition). RPI4 should be able to boot from it and restore EEPROM contents. If it succeeds it will start to flash ACT LED rapidly. There is also some progress info outputted to its serial port during this process. recover* files from NOOBS archive will NOT work.

1
  • The boot flag isn't used. The RPi only boots from the first primary FAT partition.
    – Dougie
    Commented Dec 31, 2019 at 22:49
0

Download and install the Raspberry Pi Imager on your Mac, Linux computer or Windows PC.

Use it to install a bootloader* onto an SD card.

Boot the Raspberry Pi using the SD card. The bootloader will be updated.

* In the Imager, select Misc utility images, then Bootloader, then choose one of the boot options corresponding to the boot order you prefer. Choose a storage location. Then choose Write.

The same imager can be used to install various operating systems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.