[meta-freescale] [PATCH V2] imx-base.inc: Enable thumb2 and vfp capability

Khem Raj raj.khem at gmail.com
Wed May 27 12:49:35 PDT 2015


MX6 SoCs have VFP unit and also support thumb2 ISA
This patch makes the default machine tunes aware of thumb2 and VFP.

The ISA for code generation still remains as it was before this patch,
in addition it now offers different ISA options to OE distributions e.g
thumb2,  mixed (Thumb2/ARM) or ARM (default)

Discussions which resulted in this patch are here [1]

[1] https://lists.yoctoproject.org/pipermail/meta-freescale/2015-May/013904.html

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 conf/machine/include/imx-base.inc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 5683041..d80ca46 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -30,11 +30,13 @@ PREFERRED_VERSION_directfb_mx6 = "1.7.4"
 # Ship kernel modules
 MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
 
-# Float-Point setting
+# Defaults is to show thumb2, VFP and Neon
+# capabilities
+# Float-Point ABI setting
 # handled by software
-# DEFAULTTUNE_mx6 ?= "cortexa9-neon"
+# DEFAULTTUNE_mx6 ?= "cortexa9t2-vfp-neon"
 # handled by hardware
-DEFAULTTUNE_mx6 ?= "cortexa9hf-neon"
+DEFAULTTUNE_mx6 ?= "cortexa9t2hf-vfp-neon"
 
 # Sub-architecture support
 MACHINE_SOCARCH_SUFFIX ?= ""
-- 
2.1.4



More information about the meta-freescale mailing list