From 38e3ae96344e5a66d31314e53f4861ff74339650 Mon Sep 17 00:00:00 2001 From: Daiane Angolini Date: Mon, 6 Jul 2015 14:11:08 -0300 Subject: [PATCH] imx6sl-warp: Set EXTRA_IMAGEDEPENDS to u-boot 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 Reviewed-by: Fabio Estevam Signed-off-by: Otavio Salvador --- 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"