[meta-freescale] [PATCH v4][meta-fsl-arm-extra] imx6sl-warp: Set EXTRA_IMAGEDEPENDS to u-boot

Daiane Angolini daiane.angolini at freescale.com
Mon Jul 6 10:01:07 PDT 2015


Set EXTRA_IMAGEDEPENDS to "u-boot".  When user copies a .sdcard to the eMMC the
bootloader will not be updated it does not mean a fresh u-boot binary is not
helpful.

WaRP uses eMMC boot partition by default and the u-boot inside .sdcard image
does not override it. However, building u-boot binary anyway in order to provide
a binary to be used if an update is needed.

See how-to override eMMC boot partition on the following link:

   http://git.denx.de/?p=u-boot.git;a=blob;f=board/warp/README

It is only changed back to default value to ease u-boot manual update for the
user.

Signed-off-by: Daiane Angolini <daiane.angolini at freescale.com>
---
Changes since v3
- keep IMAGE_BOOTLOADER because .sdcard should not have u-boot binary included

 conf/machine/imx6sl-warp.conf | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/conf/machine/imx6sl-warp.conf b/conf/machine/imx6sl-warp.conf
index 536e3d0..98db72a 100644
--- a/conf/machine/imx6sl-warp.conf
+++ b/conf/machine/imx6sl-warp.conf
@@ -27,8 +27,13 @@ include conf/machine/include/tune-cortexa9.inc
 
 SOC_FAMILY = "mx6:mx6sl"
 
-# Use eMMC boot partition by default
+# WaRP use eMMC boot partition by default and the u-boot inside .sdcard image
+# does not override it. However, building u-boot binary anyway in order to provide
+# a binary to be used if an update is needed
+# see how-to override eMMC boot partition on the following link
+# http://git.denx.de/?p=u-boot.git;a=blob;f=board/warp/README
 IMAGE_BOOTLOADER ?= ""
+EXTRA_IMAGEDEPENDS += "u-boot"
 
 UBOOT_MACHINE ?= "warp_defconfig"
 
-- 
1.9.1



More information about the meta-freescale mailing list