I'm running my "CloudnetGo CR9" with gentoo linux and want to optimize the build flags.
like: https://wiki.gentoo.org/wiki/Safe_CFLAGS
"-mtune=cortex-a9" should also be possible, right?
Actually the configuration is like that:
[code]
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
[/code]
#cat /proc/cpuinfo
[code]
Processor : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 2399.21
processor : 1
BogoMIPS : 2399.21
processor : 2
BogoMIPS : 2399.21
processor : 3
BogoMIPS : 2399.21
Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0
Hardware : RK30board
Revision : 0000
Serial : 0000000000000000
[/code]
like: https://wiki.gentoo.org/wiki/Safe_CFLAGS
"-mtune=cortex-a9" should also be possible, right?
Actually the configuration is like that:
[code]
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
[/code]
#cat /proc/cpuinfo
[code]
Processor : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 2399.21
processor : 1
BogoMIPS : 2399.21
processor : 2
BogoMIPS : 2399.21
processor : 3
BogoMIPS : 2399.21
Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0
Hardware : RK30board
Revision : 0000
Serial : 0000000000000000
[/code]
Comment