Code: Select all
COMMON_FLAGS="-O2 -pipe -march=armv8.2-a+crypto+fp16+rcpc+dotprod -mtune=cortex-a76.cortex-a55"
Thanks for the hint but you was a little late. I have used the Orange Pi 5 image and deleted the second partition and make a new one using gentoo stage 3 - the gentoo system boot and works very good!NeddySeagoon wrote:Gladdle,
The Raspberry PI Install Guide should work for any install where the Gentoo stage3 can be put on top of the vendor kernel.
There is a tool called cpuid2cpuflags - it has the following output:pingtoo wrote:You can try this for CFLAGSdisclaimer, I don't have Orange Pi5, I have NanoPi R6C which also is rk3588s based SoC. I only use gentoo container on the R6C, so I don't know above CFLAGS will work for you or not, I only use the container to help me compile other stuff. The Compiler suite in the container is compiled use above CFLAGS.Code: Select all
COMMON_FLAGS="-O2 -pipe -march=armv8.2-a+crypto+fp16+rcpc+dotprod -mtune=cortex-a76.cortex-a55"
Code: Select all
CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2I don't understand you tooGladdle wrote:There is a tool called cpuid2cpuflags - it has the following output:So may i ask what is the best CFLAGS, because i didn't get it, i am sorry.Code: Select all
CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2

Code: Select all
CPU_FLAGS_ARM="edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2" Code: Select all
emerge resolve-march-native
I'm due to be compiling a gentoo for an Orange Pi 5 some time soon and I'm wondering if you needed to put any proprietary blobs in the /boot/ partition of your gentoo in order for gentoo to boot? Also did you compile a kernel for gentoo or use the pre-compiled one from Orange Pi?Gladdle wrote: Thanks for the hint but you was a little late. I have used the Orange Pi 5 image and deleted the second partition and make a new one using gentoo stage 3 - the gentoo system boot and works very good!
