Skip to contentSkip to conversation

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

PATCH Superseded Fabio Estevam 2 participants 3 messages Apr 24, 2013 Arm i.MX and Layerscape

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 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.

---
 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 2/2 linux-imx (2.6.35): Only use 2.6.35 1.1.0 branch on mx28

From: Fabio Estevam <[email protected]>

2.6.35 1.1.0 branch does not officially support mx23.

Restrict its usage only for mx28.

---
 recipes-kernel/linux/linux-imx_2.6.35.3.bb |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-kernel/linux/linux-imx_2.6.35.3.bb +3 -3
index 511aaa4..5864dd6 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"
+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
#2 lore raw

Re: [PATCH 2/2] linux-imx (2.6.35): Only use 2.6.35 1.1.0 branch on mx28

Quoted 16 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

2.6.35 1.1.0 branch does not officially support mx23.

Restrict its usage only for mx28.

---
 recipes-kernel/linux/linux-imx_2.6.35.3.bb |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-kernel/linux/linux-imx_2.6.35.3.bb +0 -0
index 511aaa4..5864dd6 100644

recipes-kernel/linux/linux-imx_2.6.35.3.bb PR = "${INC_PR}.23" · line 11

Quoted 8 lines
recipes-kernel/linux/linux-imx_2.6.35.3.bb +1 -1
@@ -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"

SRCREV should also be changed to mx28.

Quoted 14 lines
recipes-kernel/linux/linux-imx_2.6.35.3.bb +2 -3
-LOCALVERSION_mxs = "-1.1.0+yocto"
+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 \
 "
--
Quoted 2 lines

1.7.9.5

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br