Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orange Pi 5 Plus fails to start OVMF EFI firmware under KVM

Featured Replies

I'm running armbian 23.08 bookworm on an orange pi 5 plus.  I'm trying to run VMs that boot with UEFI, but these are hanging.  I suspect a bug in the vendor kernel (5.10.160-rk35xx), since this works fine on an AWS bare metal arm64 host.

 

Example:

```

$ sudo apt install qemu-system qemu-efi-aarch64

...

$ cp /usr/share/AAVMF/AAVMF_VARS.fd ./aavmf_efivars.fd

$ qemu-system-aarch64 \

    -machine virt \

    -cpu max \
    -drive if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/AAVMF/AAVMF_CODE.fd \

    -drive file=aavmf_efivars.fd,format=raw,if=pflash

    -net none \

    -nographic \

    -enable-kvm

```

This hangs for me (to exit press C-a x).  If I remove `-enable-kvm`, the UEFI shell loads.

1 hour ago, rvandegrift said:

I suspect a bug in the vendor kernel


Yes. Vendor kernels are traditionally a pile of sh*, as cheap production as possible. We provide images with experimental kernels v6.5 to try out (at the end of download page). There it might work, but don't complain about several non/badly working things - its not production quality / stability. We are running several GitHub runners on two devices. With vendor kernel, this job was very fragile, while here, so far, it just work.

  • Author

> We provide images with experimental kernels v6.5 to try out (at the end of download page).

 

Oh awesome - I had to dig through the github artifacts to find the OrangePi 5 Plus trixie image.  I can confirm this fixes the issue: the UEFI firmware boots up as expected with kvm.

 

Thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.