I’ve messed something up with the bootloader on my Orange Pi 5 Plus and I’m looking for help in digging out of this mess.
While playing with Pxvirt (Proxmox port for ARM SBCs), I had the genius idea to swap out u-boot for this EDK2 UEFI firmware: https://github.com/edk2-porting/edk2-rk3588
Now, when I attempt to boot from USB or SD, it just pops back to the UEFI screen.
I’ve manually removed every boot option except the USB or SD, but no luck. I’ve also completely formatted my eMMC and NVME to FAT32, since that seems to be the only filesystem UEFI will recognize.
I’ve connected to the OPi via Maskrom and flashed the SPI NOR with U-Boot and SPL Loader from Radxa, but still boots to UEFI.
Using Maskrom, I also tried to completely erase the contents on SPI NOR and physically removed my eMMC and NVME drives, but it still booted to UEFI.
I’ve also completely formated my eMMC and NVME to FAT32, since that seems to be the only filesystem UEFI will recognize.
Some of the boot disks I’ve tried are: PXVirt installer Orange Pi’s custom Debian Bullseye build Debian Trixie for Arm64 SystemRescue
Any recommendations on what I can do to get UEFI completely off this OPi and back to U-Boot? I don’t really care whether U-Boot is on SPI or eMMC, just need something working.
For the uboot, I think I tried both of these: https://github.com/schneid-l/u-boot-orangepi5 https://github.com/orangepi-xunlong/u-boot-orangepi
I’m not sure what exactly changed, I used the same SD card, the same OPi image, used Balena Etcher to burn the image to the card… this time it booted into the live image from my SD! It’s a start!
Now I’m just trying to wipe my SPI of UEFI, reinstall uboot, then do a fresh install of Debian and try again with PXVirt.
I feel like dancing! Wiped my SPI, installed the OPi Debian to my eMMC using dd commands, and I’m back in business.
I give it 1 week before I break it again trying to do something stupid.