mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 11:42:57 +00:00
Beaglebone kernel needs to be built in Thumb2 mode to achieve fast boot times. Unfortunately, that build is broken under newer binutils-2.22 with the below Assembler error. The fix is to pass the specific -march=armv7-a flag to the Assembler to make it work. | arch/arm/boot/compressed/head.S: Assembler messages: | arch/arm/boot/compressed/head.S:127: Error: selected processor does not support requested special purpose register -- `mrs r2,cpsr' | arch/arm/boot/compressed/head.S:134: Error: selected processor does not support requested special purpose register -- `mrs r2,cpsr' | arch/arm/boot/compressed/head.S:136: Error: selected processor does not support requested special purpose register -- `msr cpsr_c,r2' | make[2]: *** [arch/arm/boot/compressed/head.o] Error 1 | make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2 Signed-off-by: Denys Dmytriyenko <denys@ti.com> Acked-by: Koen Kooi <koen@circuitco.com>