this post was submitted on 21 Sep 2025
23 points (100.0% liked)

Selfhosted

51947 readers
1532 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] bishoponarope@lemmy.world 5 points 1 week ago (1 children)

Which version of U-Boot did you flash back to the device? And of which origin? There are multiple forks and some of them seem feature-different, all supporting the OP5+.

[–] anticonnor@lemmy.world 3 points 1 week ago (1 children)

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.

[–] anticonnor@lemmy.world 3 points 1 week ago (1 children)

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.

[–] bishoponarope@lemmy.world 4 points 1 week ago

Nice! Have fun breaking things.