u-boot-spl.bin is used for runqemu execution since boot.bin has a header
it cannot be loaded such that the boot.bin image content is at its load
address.

Signed-off-by: Nathan Rossi <nat...@nathanrossi.com>
---
Changes in v3:
 * NEW
---
 recipes-bsp/u-boot/u-boot-xlnx.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/recipes-bsp/u-boot/u-boot-xlnx.inc 
b/recipes-bsp/u-boot/u-boot-xlnx.inc
index 56a147807f..5bdf2a1dc1 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx.inc
+++ b/recipes-bsp/u-boot/u-boot-xlnx.inc
@@ -10,3 +10,8 @@ S = "${WORKDIR}/git"
 FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:"
 FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-xlnx:"
 FILESEXTRAPATHS_prepend := 
"${@'${THISDIR}/u-boot-xlnx/${XILINX_RELEASE_VERSION}:' if 
d.getVar('XILINX_RELEASE_VERSION') else ''}"
+
+do_deploy_append_zcu102-zynqmp () {
+       # deploy u-boot-spl.bin for use by runqemu/QEMU
+       install -Dm 0644 ${B}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.bin
+}
-- 
2.15.0


-- 
_______________________________________________
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to