[meta-freescale] [meta-fsl-arm][PATCH v2 15/15] u-boot-fslc: Add patch to work with 3.10.31-1.1.0_beta kernel

Otavio Salvador otavio at ossystems.com.br
Wed Sep 3 06:25:35 PDT 2014


Hello Lauren,

On Tue, Sep 2, 2014 at 5:07 PM, Lauren Post <lauren.post at freescale.com> wrote:
> 3.10.31 linux-imx has update to work with fixed mmc blocks
> Without this patch the community u-boot will not boot on some
> mx6 boards.
>
> Signed-off-by: Lauren Post <lauren.post at freescale.com>
...
> +++ b/recipes-bsp/u-boot/u-boot-fslc/iMX6-Change-mmcroot-to-use-fixed-mmc-block-index-for.patch
> @@ -0,0 +1,91 @@
> +From 42e39ad63e8108d7944caf3bc6268070ac40e202 Mon Sep 17 00:00:00 2001
> +From: "Ye.Li" <Ye.Li at freescale.com>
> +Date: Mon, 1 Sep 2014 10:33:47 +0800
> +Subject: [PATCH] iMX6: Change mmcroot to use fixed mmc block index for USDHC
> +
> +Kernel changed to use fixed mmcblk index for USDHC, which is
> +mmcblk0 --> USDHC1
> +mmcblk1 --> USDHC2
> +mmcblk2 --> USDHC3
> +mmcblk3 --> USDHC4
> +Thus, change the default mmcroot in u-boot to fit the changes in kernel.
> +
> +Signed-off-by: Ye.Li <Ye.Li at freescale.com>

The patch is lacking the:

Upstream-Status: Pending

...
> diff --git a/recipes-bsp/u-boot/u-boot-fslc_2014.07.bb b/recipes-bsp/u-boot/u-boot-fslc_2014.07.bb
> index b219161..3a95661 100644
> --- a/recipes-bsp/u-boot/u-boot-fslc_2014.07.bb
> +++ b/recipes-bsp/u-boot/u-boot-fslc_2014.07.bb
> @@ -4,3 +4,6 @@ PV = "v2014.07"
>
>  SRCREV = "a824e891767f8bd15edf54013e23639a3228dc24"
>  SRCBRANCH = "patches-2014.07"
> +
> +#fix to integrate to use with 3.10.31 kernel
> +SRC_URI_append_mx6 = " file://iMX6-Change-mmcroot-to-use-fixed-mmc-block-index-for.patch"

Please drop the comment line and as U-Boot builds individual boards
you can use SRC_URI += and avoid the _append uglyness :-)

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list