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

Daiane Angolini daiane.angolini at freescale.com
Mon Jul 6 10:11:08 PDT 2015


Set EXTRA_IMAGEDEPENDS to "u-boot".

When user copies a .sdcard to the eMMC the bootloader is not updated, but it is
still helpful to generate a U-boot binary and be able to inspect U-boot source code.

The .sdcard image generated after this patch does not include the U-boot binary
which is only built to ease an eventual update.

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

Signed-off-by: Daiane Angolini <daiane.angolini at freescale.com>
---
 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..4756aec 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 uses eMMC boot partition by default and the u-boot inside .sdcard image
+# does not override it. However, build 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