[meta-xilinx] [meta-xilinx-bsp][PATCH 2/3] u-boot-zynq-uenv: Create dependency from images to uEnv file

Manjukumar Matha manjukumar.harthikote-matha at xilinx.com
Wed Dec 19 17:05:36 PST 2018


From: Alejandro Enedino Hernandez Samaniego <alejandr at xilinx.com>

Images include a uEnv.txt file that is read from U-Boot,
these parameters are read after the default environment
is loaded on U-Boot and just before booting the OS.

Changing anything from the environment through the build
system created a new uEnv file, but this didnt cause the
build system to create a new image (that included the
new file), so changes did not reflect on the image until
a new build was executed.

This patch creates a dependency to u-boot-zynq-uenv:do_deploy
which will cause the image to be recreated when something
from uEnv has changed.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr at xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
 meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf
index 834d9d3..3f93e8e 100644
--- a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf
+++ b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf
@@ -82,3 +82,4 @@ QB_PMU_OPT = " \
 		"
 QB_OPT_APPEND_append_qemuboot-xilinx = " -pmu-args '${QB_PMU_OPT}'"
 
+do_write_qemuboot_conf[depends] += "u-boot-zynq-uenv:do_deploy"
-- 
2.7.4



More information about the meta-xilinx mailing list