diff options
author | Denys Dmytriyenko <denys@ti.com> | 2012-05-03 17:20:32 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2012-05-10 21:00:29 -0400 |
commit | 051482e3b03ba7e2d6cecc0d8f85cc3be22dc8b2 (patch) | |
tree | 5aa30b89d8ef1229124a88383761e3474041e370 /recipes-kernel/linux/linux-ti33x-psp_3.2.bb | |
parent | 285aeaee513969ca7a79a344c75d0f590b722cb9 (diff) | |
download | meta-ti-051482e3b03ba7e2d6cecc0d8f85cc3be22dc8b2.tar.gz |
linux-ti33x-psp 3.2: for beaglebone set default Asm architecture to armv7-a
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>
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp_3.2.bb')
-rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp_3.2.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp_3.2.bb b/recipes-kernel/linux/linux-ti33x-psp_3.2.bb index 63c0532d..d1dfaaf1 100644 --- a/recipes-kernel/linux/linux-ti33x-psp_3.2.bb +++ b/recipes-kernel/linux/linux-ti33x-psp_3.2.bb | |||
@@ -958,4 +958,5 @@ PATCHES_OVER_PSP = " \ | |||
958 | file://beaglebone/0031-beaglebone-fix-3.5-cape-support.patch \ | 958 | file://beaglebone/0031-beaglebone-fix-3.5-cape-support.patch \ |
959 | file://beaglebone/0032-beaglebone-connect-batterycape-GPIO-to-gpio-charger.patch \ | 959 | file://beaglebone/0032-beaglebone-connect-batterycape-GPIO-to-gpio-charger.patch \ |
960 | file://beaglebone/0033-beaglebone-add-support-for-CAN-and-RS232-cape.patch \ | 960 | file://beaglebone/0033-beaglebone-add-support-for-CAN-and-RS232-cape.patch \ |
961 | file://beaglebone/0001-arm-boot-compressed-default-asm-arch-to-armv7-a.patch \ | ||
961 | " | 962 | " |