Talk:Raspberry Pi 4

From Funtoo
Jump to: navigation, search

https://github.com/necrose99/arm64-portage tends to have repos etc, but not yet a funtoo branch... POWERUSER flags , ye be warned.. may take more manual overrides till deps are solved.. maake.conf

https://github.com/gentoo-mirror/lto-overlay adds 3rd pass optimize for gcc..

cpuid2cpuflags output: 00cpu-flags for package.use / or screen (simular) */* CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2

cortex-a72.cortex-a5 cpu type on odroid , rpi4 , Rock64 Rock64pro or Pinebook-Pro however Gpu drivers for vc4 and or vulkan soon on rpi4 .. mali/panfrost on others for Rock64/pine64 etc. useful for mesa

COMMON_FLAGS="-O2 -pipe -march=armv8-a+crc+crypto -mcpu=cortex-a72.cortex-a53 ${GRAPHITE} ${CPU_FLAGS_ARM64}" CPU_FLAGS_ARM64="edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2" CFLAGS="${COMMON_FLAGS}" CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-vectorize"

a few Tweaks for CPU flags