summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-03-03 14:49:34 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2015-03-31 15:56:48 +1000
commitbf00a88c23bb753f4bd59bc3d6888dfb66b02798 (patch)
tree81af5fbd50bee1b9c232fd0253e951d37bf1badb
parent16c27fcbd82d0bf84aeba7451bafa2db11f8cfe7 (diff)
downloadmeta-xilinx-bf00a88c23bb753f4bd59bc3d6888dfb66b02798.tar.gz
u-boot-xlnx: Use 'u-boot-dtb.img' for Zynq
* 'u-boot-dtb.img' is the name of the Payload that U-Boot SPL expects for Zynq * Prepare for compatibility for future versions where Zynq will use U-Boot DTBs Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--conf/machine/include/machine-xilinx-default.inc3
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb8
2 files changed, 11 insertions, 0 deletions
diff --git a/conf/machine/include/machine-xilinx-default.inc b/conf/machine/include/machine-xilinx-default.inc
index 86b01001..1ff73426 100644
--- a/conf/machine/include/machine-xilinx-default.inc
+++ b/conf/machine/include/machine-xilinx-default.inc
@@ -13,8 +13,11 @@ PREFERRED_VERSION_linux-yocto ?= "3.14%"
13PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx" 13PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx"
14PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx" 14PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx"
15PREFERRED_VERSION_u-boot-xlnx ?= "v2015.01%" 15PREFERRED_VERSION_u-boot-xlnx ?= "v2015.01%"
16
16UBOOT_SUFFIX ?= "img" 17UBOOT_SUFFIX ?= "img"
18UBOOT_BINARY_zynq ?= "u-boot-dtb.${UBOOT_SUFFIX}"
17 19
20# Device Trees
18MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" 21MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
19 22
20# Common Device Tree Includes 23# Common Device Tree Includes
diff --git a/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb b/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb
index adcb39d7..f9d7a7a5 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb
+++ b/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb
@@ -13,3 +13,11 @@ UBOOT_ENV_zedboard-zynq7 = "uEnv"
13 13
14SRC_URI_append_zc702-zynq7 += "file://uEnv.txt" 14SRC_URI_append_zc702-zynq7 += "file://uEnv.txt"
15SRC_URI_append_zedboard-zynq7 += "file://uEnv.txt" 15SRC_URI_append_zedboard-zynq7 += "file://uEnv.txt"
16
17do_compile_append() {
18 # link u-boot-dtb.img to u-boot.img.
19 if [ ! -e ${B}/u-boot-dtb.img ]; then
20 ln -sf u-boot.img ${B}/u-boot-dtb.img
21 fi
22}
23