[meta-freescale] [meta-fsl-ppc][PATCH V2] linux-qoriq: Remove Altivec from T1040 64-bit defconfig

Bob Cochran yocto at mindchasers.com
Thu Nov 13 19:55:23 PST 2014


T1040 uses an E5500 processor, and E5500 doesn't have an Altivec unit

This was tested on a t1040rdb

Signed-off-by: Bob Cochran <yocto at mindchasers.com>
---
 ...emove-Altivec-from-T1040-64-bit-defconfig.patch |   27 ++++++++++++++++++++
 recipes-kernel/linux/linux-qoriq_3.12.bb           |    1 +
 2 files changed, 28 insertions(+)
 create mode 100644 recipes-kernel/linux/files/remove-Altivec-from-T1040-64-bit-defconfig.patch

diff --git a/recipes-kernel/linux/files/remove-Altivec-from-T1040-64-bit-defconfig.patch b/recipes-kernel/linux/files/remove-Altivec-from-T1040-64-bit-defconfig.patch
new file mode 100644
index 0000000..e6cc881
--- /dev/null
+++ b/recipes-kernel/linux/files/remove-Altivec-from-T1040-64-bit-defconfig.patch
@@ -0,0 +1,27 @@
+From e018761d719e41e3bf108cafafcb5138527752e2 Mon Sep 17 00:00:00 2001
+From: Bob Cochran <yocto at mindchasers.com>
+Date: Fri, 31 Oct 2014 16:49:57 -0400
+Subject: [meta-fsl-ppc][PATCH] linux-qoriq: Remove Altivec from T1040 64-bit defconfig
+
+T1040 uses an E5500 processor, and E5500 doesn't have an Altivec unit
+
+Signed-off-by: Bob Cochran <yocto at mindchasers.com>
+---
+ arch/powerpc/configs/t1040_64bit_smp_defconfig |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/powerpc/configs/t1040_64bit_smp_defconfig b/arch/powerpc/configs/t1040_64bit_smp_defconfig
+index 1b987d9..c2005f2 100644
+--- a/arch/powerpc/configs/t1040_64bit_smp_defconfig
++++ b/arch/powerpc/configs/t1040_64bit_smp_defconfig
+@@ -1,6 +1,6 @@
+ CONFIG_PPC64=y
+ CONFIG_PPC_BOOK3E_64=y
+-CONFIG_ALTIVEC=y
++# CONFIG_ALTIVEC is not set
+ CONFIG_SMP=y
+ CONFIG_NR_CPUS=24
+ CONFIG_SYSVIPC=y
+-- 
+1.7.9.5
+
diff --git a/recipes-kernel/linux/linux-qoriq_3.12.bb b/recipes-kernel/linux/linux-qoriq_3.12.bb
index 39270d4..a9f7fa7 100644
--- a/recipes-kernel/linux/linux-qoriq_3.12.bb
+++ b/recipes-kernel/linux/linux-qoriq_3.12.bb
@@ -5,6 +5,7 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;nobranch=1 \
     file://Fix-for-CVE-2014-5045-fs-umount-on-symlink-leak.patch \
     file://Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch \
     file://Fix-CVE-2014-5471_CVE-2014-5472.patch \
+    file://remove-Altivec-from-T1040-64-bit-defconfig.patch \
 "
 SRCREV = "c29fe1a733308cbe592b3af054a97be1b91cf2dd"
 
-- 
1.7.9.5



More information about the meta-freescale mailing list