From dcd4d82f496d3008ff0c7b34b6b8a0d17a9c9b2e Mon Sep 17 00:00:00 2001 From: Mahesh Mahadevan Date: Mon, 15 Oct 2012 16:26:29 -0500 Subject: [PATCH] u-boot-imx: Fix the patch for the default environment variable The patch was pointing to the wrong partition to read the kernel and filesystem. With this fix, the boot on MX53 QSB should succeed with u-boot-imx Signed-off-by: Mahesh Mahadevan --- .../recipes-bsp/u-boot/u-boot-imx/mx53_loco_bootenv.patch | 4 ++-- meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx53_loco_bootenv.patch b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx53_loco_bootenv.patch index 768cf99f..4b0ac9bf 100644 --- a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx53_loco_bootenv.patch +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx53_loco_bootenv.patch @@ -25,8 +25,8 @@ index 0f57f78..e8a6414 100644 + "script=boot.scr\0" \ + "uimage=uImage\0" \ + "mmcdev=0\0" \ -+ "mmcpart=2\0" \ -+ "mmcroot=/dev/mmcblk0p3 rw\0" \ ++ "mmcpart=1\0" \ ++ "mmcroot=/dev/mmcblk0p2 rw\0" \ + "mmcrootfstype=ext3 rootwait\0" \ + "mmcargs=setenv bootargs console=ttymxc0,${baudrate} " \ + "root=${mmcroot} " \ diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb index 8bd8af74..25a622c2 100644 --- a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b" DEPENDS_mxs += "elftosb-native" -PR = "r6" +PR = "r7" # Revision of imx_2.6.35_10.12.01 branch SRCREV_mxs = "e4437f1c192a1a68028e6fcff3f50ff50352041d" -- 2.40.1