[meta-freescale] [meta-fsl-arm-extra][PATCH][master 3/3] u-boot-congatec: Change environment mmcroot variable

Alex de Cabo alejandro.de-cabo-garcia at congatec.com
Fri Dec 5 00:13:47 PST 2014


Since SD naming with 3.10.31 kernel changes, this patch
modifies the variable mmcroot.

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia at congatec.com>
---
 ...gatec-Change-environment-mmcroot-variable.patch | 29 ++++++++++++++++++++++
 recipes-bsp/u-boot/u-boot-congatec_2013.04.bb      |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 recipes-bsp/u-boot/u-boot-congatec/u-boot-congatec-Change-environment-mmcroot-variable.patch

diff --git a/recipes-bsp/u-boot/u-boot-congatec/u-boot-congatec-Change-environment-mmcroot-variable.patch b/recipes-bsp/u-boot/u-boot-congatec/u-boot-congatec-Change-environment-mmcroot-variable.patch
new file mode 100644
index 0000000..31c94a0
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-congatec/u-boot-congatec-Change-environment-mmcroot-variable.patch
@@ -0,0 +1,29 @@
+From b457fdd8a0a299b13659b3e1e89aa0ffc9c5d9d4 Mon Sep 17 00:00:00 2001
+From: Alex de Cabo <alejandro.de-cabo-garcia at congatec.com>
+Date: Thu, 4 Dec 2014 09:55:29 +0100
+Subject: [PATCH] u-boot-congatec: Change environment mmcroot variable
+
+Since Yocto 1.8 include new GPU drivers which require
+3.10.31 kernel this patch modifies the variable mmcroot
+due to on the new kernel version the naming of SD devices
+changes.
+---
+ include/configs/cgt_qmx6.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/configs/cgt_qmx6.h b/include/configs/cgt_qmx6.h
+index e636ce7..547dc7a 100644
+--- a/include/configs/cgt_qmx6.h
++++ b/include/configs/cgt_qmx6.h
+@@ -20,7 +20,7 @@
+ #define CONFIG_MACH_TYPE	4122
+ #define CONFIG_MXC_UART_BASE	UART2_BASE
+ #define CONFIG_CONSOLE_DEV		"ttymxc1"
+-#define CONFIG_MMCROOT			"/dev/mmcblk0p2"
++#define CONFIG_MMCROOT			"/dev/mmcblk1p2"
+ #define CONFIG_BOOTFS			"fat"
+ 
+ #include "cgt_qmx6_common.h"
+-- 
+1.9.1
+
diff --git a/recipes-bsp/u-boot/u-boot-congatec_2013.04.bb b/recipes-bsp/u-boot/u-boot-congatec_2013.04.bb
index c7870dc..4a07b5e 100644
--- a/recipes-bsp/u-boot/u-boot-congatec_2013.04.bb
+++ b/recipes-bsp/u-boot/u-boot-congatec_2013.04.bb
@@ -16,6 +16,7 @@ SRCBRANCH = "cgt_imx_v2013.04_3.10.17_1.0.2"
 
 SRC_URI = "git://git.congatec.com/arm/qmx6_uboot.git;protocol=http;branch=${SRCBRANCH} \
 	   file://u-boot-congatec-Change_environment_variables.patch \
+	   file://u-boot-congatec-Change-environment-mmcroot-variable.patch \
 "
 
 S = "${WORKDIR}/git"
-- 
1.9.1



More information about the meta-freescale mailing list