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.