
19 Nov
2019
19 Nov
'19
10:37 p.m.
Hi Heinrich,
On Tue, Nov 19, 2019 at 5:38 PM Heinrich Schuchardt xypron.glpk@gmx.de wrote:
I tried to build mx35pdk_defconfig and mx35pdk_defconfig. I got an error
unrecognized -march target: armv5
Why is U-Boot built with -march=armv5 on ARM1136 and ARM1176 though they are armv6?
arch/arm/Makefile:11: arch-$(CONFIG_CPU_ARM1136) =-march=armv5 arch-$(CONFIG_CPU_ARM1176) =-march=armv5t
GCC 9.2.1 supports only the following armv5 and armv6 architectures:
armv5t armv5te armv5tej armv6 armv6j armv6k armv6z armv6kz armv6zk armv6t2 armv6-m armv6s-m
So at least the ARM1136 entry should be corrected. Which value would you suggest?
Maybe the generic armv6 entry?
Thanks