



Hello There ,TJNII wrote:https://wiki.gentoo.org/wiki/Orange_Pi_PC/Quick_Start worked for me with the following differences:
- I started from Armbian_23.02.2_Orangepizero_jammy_current_5.15.93, just copied /boot over entirely
- I used the OpenRC Gentoo stage3, not SystemD
- In boot/armbianEnv.txt set:
-- verbosity=7
-- console=serial
-- rootdev= the new root UUID
- I wasn't able to loop mount the initrd on my main machine. I instead copied the modules over from the initrd to the root disk in the initrd when it failed to boot the first time. (Had rootdev in boot/armbianEnv.txt wrong.)
Other than that it was pretty painless. Put up less of a fight than Armbian, to be honest.
Board I'm messing with:
CPU: Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Zero
Now that said that's just getting the board booted into Linux with a serial TTY. I haven't compiled or installed anything yet. That's not a job for a SBC with a BogoMIPS of 48, so be ready to compile somewhere else.
Haven't gotten that far yet, just got it booting yesterday. Wired ethernet seems to be fine, it was able to get a DHCP address and ping it. I haven't started investigating the wifi module yet. I don't have a environment set up to compile for ARM yet so I'm only just past the "can I boot and log in to it" hurdle.Harshil.Soni.849 wrote: and what about ethernet and wifi ? have you done any changes for that ?
or it is directly started after the steps you mentioned .

TJNII wrote:Haven't gotten that far yet, just got it booting yesterday. Wired ethernet seems to be fine, it was able to get a DHCP address and ping it. I haven't started investigating the wifi module yet. I don't have a environment set up to compile for ARM yet so I'm only just past the "can I boot and log in to it" hurdle.Harshil.Soni.849 wrote: and what about ethernet and wifi ? have you done any changes for that ?
or it is directly started after the steps you mentioned .
My impression is past this point it's just regular Gentoo config, but in this case it's still using the Armbian built kernel. When trying to boot full Armbian I was getting panics when plugging in the ethernet cable. That doesn't appear to be happening here, and I couldn't debug the Armbian install as the tty didn't work (which is why I'm now here), so that might be a userspace problem but know there may be issues. I recommend getting it booting and going from there. Set up a compile environment if you haven't already, unless things have changed drastically in the 10 years I've been away from Gentoo you'll need it.
For any other greybeards reading this thread, is the process on these ARM SBCs to compile your own kernel, or to use a pre-made, already patched kernel? I'm new to ARM SBCs and getting the impression the common process is to use a premade kernel as these SBCs are all so nonstandard. Seems like compiling your own kernel for these is a "you really need to know what you're doing" exercise beyond the scope of most users, due to all the patching. Is that impression correct?
Did you get it booting with the Armbian kernel like I did or a Gentoo kernel?Harshil.Soni.849 wrote: Actually i have used latest arm64 desktop systemd version for gentoo porting
https://www.gentoo.org/downloads/#arm64
and after bootup eth0 was not by default started
I have to do : ifconfig eth0 up
Code: Select all
dd if=[path]/u-boot-sunxi-with-spl.bin of=/dev/[sd_card] bs=1k seek=8