Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

Gentoo on a orange pi 5 plus.

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Author
Message
truekaiser
l33t
l33t
User avatar
Posts: 832
Joined: Fri Mar 05, 2004 11:00 pm

Gentoo on a orange pi 5 plus.

  • Quote

Post by truekaiser » Sun May 25, 2025 11:08 pm

I was able to get a orange pi 5 plus with a 256gb emmc for a good price. Not to happy with the various non orange-pi blessed distro's because i am not using images from google drive. So i was wondering if i can get gentoo on it with the following.
https://github.com/edk2-porting/edk2-rk ... me-ov-file Is something that seems to provide a less complicated boot system.
Is it possible to use this and the generic arm64/aarch64 efi minimal install cd with openrc? Rather than the method listed in the this wiki https://wiki.gentoo.org/wiki/Orange_Pi_PC/Quick_Start

Because no matter what image i try other than manjaro linux nothing really behaves too much.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Mon May 26, 2025 1:13 pm

I think it is doable. I am currently in progress do EFI+GRUB setup for my Raspberry PI 4B. I got it boot into grub now. I am trying to come up a grub.cfg to my own need.
Currently there is annoying slowness at the time when loading initrd as well at grub loading kernel image. it can take up to 2-3 minutes. it seems to caused by calling EFI service for loading file into memory both grub and efistub is doing the same. I am not sure if this is due to EDK2 setting or device tree default that use a slower SD standard. Once boot into linux the SD I/O work as expected.

The benefit of having EFI boot service is you can use most current day ISO for installation. most distros nowadays livecd use efistub kernel on the CD so it should just work.

I don't know if RK3588's EDK2 suffer same as my RPI4's EDK2 that is you cannot make configuration changes in OS for EFI. you need to use the EDK2's command line to create boot entries so it can be persist. in another work the "efibootmgr' command created boot entries will be lost after reboot.

I would recommend start with serial console setup with second computer, this way you will be able to pickup any minor detail you need to attend in order to load the EFI.fd. Also suggest use SD card first to get configuration setting correct before flash it to firmware device.
Top
truekaiser
l33t
l33t
User avatar
Posts: 832
Joined: Fri Mar 05, 2004 11:00 pm

  • Quote

Post by truekaiser » Mon May 26, 2025 1:31 pm

pingtoo wrote:I think it is doable. I am currently in progress do EFI+GRUB setup for my Raspberry PI 4B. I got it boot into grub now. I am trying to come up a grub.cfg to my own need.
Currently there is annoying slowness at the time when loading initrd as well at grub loading kernel image. it can take up to 2-3 minutes. it seems to caused by calling EFI service for loading file into memory both grub and efistub is doing the same. I am not sure if this is due to EDK2 setting or device tree default that use a slower SD standard. Once boot into linux the SD I/O work as expected.

The benefit of having EFI boot service is you can use most current day ISO for installation. most distros nowadays livecd use efistub kernel on the CD so it should just work.

I don't know if RK3588's EDK2 suffer same as my RPI4's EDK2 that is you cannot make configuration changes in OS for EFI. you need to use the EDK2's command line to create boot entries so it can be persist. in another work the "efibootmgr' command created boot entries will be lost after reboot.

I would recommend start with serial console setup with second computer, this way you will be able to pickup any minor detail you need to attend in order to load the EFI.fd. Also suggest use SD card first to get configuration setting correct before flash it to firmware device.
Thank you, i'll take that into account when i get time to mess with it again.
Top
truekaiser
l33t
l33t
User avatar
Posts: 832
Joined: Fri Mar 05, 2004 11:00 pm

  • Quote

Post by truekaiser » Fri May 30, 2025 7:23 pm

Update:
I stuck that on a small sd card, and then stuck the aarch64 minimal iso with openrc on a usb drive. And it boots! Though keep in mind that you will have to use this tip on their site as the kernel is 6.12 not 6.15.

Code: Select all

In Mainline mode with generic Linux kernels older than 6.15, the HDMI output will not be usable. To use the UEFI-initialized display instead, go to Device Manager->Rockchip Platform Configuration->ACPI / Device Tree and enable Force UEFI GOP Display. Note that GPU acceleration cannot work in this mode.
Top
Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic