
And how to flash u-boot without damaging the partition table?NeddySeagoon wrote:ivanbrash,
Welcome to Gentoo.
The general concept in the Raspberry Pi Install Guide is valid, as are the Gentoo parts of of the setup.
The idea is to put a vendor kernel under a Gentoo stage 3 and set it up to boot.
You will need to replace the Raspberry Pi content of /boot with whatever a Orange Pi Zero 2W requires.
Further, you won't be able to build much on an Orange Pi Zero 2W.
See Further Reading. The alternatives are Cross compiling and/or a QEMU chroot.
They both run on $RANDOM_ARCH but generate code for your Orange Pi Zero 2W.
Hmm ... there is a 4G version. That has the RAM for most builds.
You can create a partition in the right place and then dd into it. This way, you can be sure you won't overwrite anything important.ivanbrash wrote:(…)
And how to flash u-boot without damaging the partition table?
And which SAFE_CFLAGS should I use to compile Gentoo with maximum optimization for the Allwinner H618 processor? After all, I'm going to use the mainline Linux kernel with some patches to make everything work.lekto wrote:If you are working with Allwinners SoC, this site is useful: https://linux-sunxi.org/
You can create a partition in the right place and then dd into it. This way, you can be sure you won't overwrite anything important.ivanbrash wrote:(…)
And how to flash u-boot without damaging the partition table?