Skip to contentSkip to conversation

mxs-base.inc: Use 'linux-fslc' by default on mx23

PATCH New Fabio Estevam 1 participant 2 messages Apr 24, 2013 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v2 1/2 mxs-base.inc: Use 'linux-fslc' by default on mx23

From: Fabio Estevam <[email protected]>

2.6.35 1.1.0 branch does not officially support mx23.

Let's use 'linux-fslc' as the default kernel for mx23.

Also disable perf only for mx28.

---
Changes since v1:
- None

 conf/machine/include/mxs-base.inc |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
conf/machine/include/mxs-base.inc +3 -1
index 68424e7..c0681f7 100644
@@ -9,12 +9,14 @@ include conf/machine/include/tune-arm926ejs.inc
 
 SOC_FAMILY = "mxs"
 
+PREFERRED_PROVIDER_virtual/kernel_mx23 = "linux-fslc"
+
 UBOOT_ENTRYPOINT = "0x40008000"
 UBOOT_MAKE_TARGET = "u-boot.sb"
 UBOOT_SUFFIX = "sb"
 
 # Disable perf features as 2.6.35.3 fail to build otherwise
-PERF_FEATURES_ENABLE = ""
+PERF_FEATURES_ENABLE_mx28 = ""
 
 XSERVER = "xserver-xorg \
            xf86-input-evdev \
Signature · 1 line
1.7.9.5
author reviewer
#1 lore raw

PATCH v2 2/2 linux-imx (2.6.35): Only use 2.6.35 1.1.0 for mx28

From: Fabio Estevam <[email protected]>

2.6.35 1.1.0 branch does not officially support mx23.

Restrict its usage only for mx28.

---
Changes since v1:
- Also restrict SRCREV to mx28

 recipes-kernel/linux/linux-imx_2.6.35.3.bb |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-kernel/linux/linux-imx_2.6.35.3.bb +4 -4
index 511aaa4..072a5ce 100644
@@ -5,11 +5,11 @@ PR = "${INC_PR}.23"
 
 include linux-imx.inc
 
-COMPATIBLE_MACHINE = "(mxs|mx5)"
+COMPATIBLE_MACHINE = "(mx28|mx5)"
 
 # Revision of imx_2.6.35_1.1.0 branch
-SRCREV_mxs = "914558e17e95a55ac1eac9a6c219d17d7825f715"
-LOCALVERSION_mxs = "-1.1.0+yocto"
+SRCREV_mx28 = "914558e17e95a55ac1eac9a6c219d17d7825f715"
+LOCALVERSION_mx28 = "-1.1.0+yocto"
 
 # Revision of imx_2.6.35_11.09.01 branch
 SRCREV_mx5 = "ed51f22bea310805bfdcc1be236cc56ff0832b3a"
@@ -20,6 +20,6 @@ SRC_URI += "file://NFS-Fix-nfsroot-support.patch \
             file://perf-avoid-use-sysroot-headers.patch \
 "
 
-SRC_URI_append_mxs = " \
+SRC_URI_append_mx28 = " \
            file://mxs-duart-use-ttyAMA-for-device-name.patch \
 "
Signature · 1 line
1.7.9.5