diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-03-03 14:49:34 +1000 |
---|---|---|
committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-03-31 15:56:48 +1000 |
commit | bf00a88c23bb753f4bd59bc3d6888dfb66b02798 (patch) | |
tree | 81af5fbd50bee1b9c232fd0253e951d37bf1badb | |
parent | 16c27fcbd82d0bf84aeba7451bafa2db11f8cfe7 (diff) | |
download | meta-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.inc | 3 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb | 8 |
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%" | |||
13 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx" | 13 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-xlnx" |
14 | PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx" | 14 | PREFERRED_PROVIDER_u-boot ?= "u-boot-xlnx" |
15 | PREFERRED_VERSION_u-boot-xlnx ?= "v2015.01%" | 15 | PREFERRED_VERSION_u-boot-xlnx ?= "v2015.01%" |
16 | |||
16 | UBOOT_SUFFIX ?= "img" | 17 | UBOOT_SUFFIX ?= "img" |
18 | UBOOT_BINARY_zynq ?= "u-boot-dtb.${UBOOT_SUFFIX}" | ||
17 | 19 | ||
20 | # Device Trees | ||
18 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | 21 | MACHINE_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 | ||
14 | SRC_URI_append_zc702-zynq7 += "file://uEnv.txt" | 14 | SRC_URI_append_zc702-zynq7 += "file://uEnv.txt" |
15 | SRC_URI_append_zedboard-zynq7 += "file://uEnv.txt" | 15 | SRC_URI_append_zedboard-zynq7 += "file://uEnv.txt" |
16 | |||
17 | do_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 | |||