summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2017-12-03 19:03:12 +1000
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2017-12-04 14:24:31 -0800
commitd88df6fc0ef6be2ffc7edb65258060ac51bbee89 (patch)
tree0e2a54ceee93ee3f942f5a3520319dcb16000784
parentb1a0592fbc175dbc53201b077b2239993d98a122 (diff)
downloadmeta-xilinx-d88df6fc0ef6be2ffc7edb65258060ac51bbee89.tar.gz
conf/machine: Add virtual/boot-bin dependency and set provider
Add virtual/boot-bin to EXTRA_IMAGEDEPENDS for all Zynq and ZynqMP targets that use the deployed boot.bin from U-Boot. Set the default provider for virtual/boot-bin to the current virtual/bootloader provider. This handles the differing u-boot/u-boot-xlnx defaults and also sets up the default provider for consumers of machine-xilinx-default.inc. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r--conf/machine/include/machine-xilinx-default.inc1
-rw-r--r--conf/machine/microzed-zynq7.conf5
-rw-r--r--conf/machine/picozed-zynq7.conf5
-rw-r--r--conf/machine/zc702-zynq7.conf5
-rw-r--r--conf/machine/zc706-zynq7.conf5
-rw-r--r--conf/machine/zcu102-zynqmp.conf1
-rw-r--r--conf/machine/zedboard-zynq7.conf5
-rw-r--r--conf/machine/zybo-linux-bd-zynq7.conf8
-rw-r--r--conf/machine/zybo-zynq7.conf5
9 files changed, 31 insertions, 9 deletions
diff --git a/conf/machine/include/machine-xilinx-default.inc b/conf/machine/include/machine-xilinx-default.inc
index 02238c11..522e0081 100644
--- a/conf/machine/include/machine-xilinx-default.inc
+++ b/conf/machine/include/machine-xilinx-default.inc
@@ -18,6 +18,7 @@ PREFERRED_PROVIDER_virtual/kernel ??= "${XILINX_DEFAULT_KERNEL}"
18XILINX_DEFAULT_UBOOT := "u-boot-xlnx" 18XILINX_DEFAULT_UBOOT := "u-boot-xlnx"
19XILINX_DEFAULT_UBOOT_zynqmp := "u-boot" 19XILINX_DEFAULT_UBOOT_zynqmp := "u-boot"
20PREFERRED_PROVIDER_virtual/bootloader ??= "${XILINX_DEFAULT_UBOOT}" 20PREFERRED_PROVIDER_virtual/bootloader ??= "${XILINX_DEFAULT_UBOOT}"
21PREFERRED_PROVIDER_virtual/boot-bin ??= "${PREFERRED_PROVIDER_virtual/bootloader}"
21 22
22UBOOT_SUFFIX ?= "img" 23UBOOT_SUFFIX ?= "img"
23UBOOT_SUFFIX_zynqmp ?= "bin" 24UBOOT_SUFFIX_zynqmp ?= "bin"
diff --git a/conf/machine/microzed-zynq7.conf b/conf/machine/microzed-zynq7.conf
index aaca1ca8..815bf474 100644
--- a/conf/machine/microzed-zynq7.conf
+++ b/conf/machine/microzed-zynq7.conf
@@ -13,7 +13,10 @@ PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
13UBOOT_MACHINE = "zynq_microzed_config" 13UBOOT_MACHINE = "zynq_microzed_config"
14SPL_BINARY = "spl/boot.bin" 14SPL_BINARY = "spl/boot.bin"
15 15
16EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" 16EXTRA_IMAGEDEPENDS += " \
17 u-boot-zynq-uenv \
18 virtual/boot-bin \
19 "
17 20
18SERIAL_CONSOLE = "115200 ttyPS0" 21SERIAL_CONSOLE = "115200 ttyPS0"
19 22
diff --git a/conf/machine/picozed-zynq7.conf b/conf/machine/picozed-zynq7.conf
index 9f8a37e8..59b4a6cb 100644
--- a/conf/machine/picozed-zynq7.conf
+++ b/conf/machine/picozed-zynq7.conf
@@ -17,7 +17,10 @@ PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
17UBOOT_MACHINE = "zynq_picozed_config" 17UBOOT_MACHINE = "zynq_picozed_config"
18SPL_BINARY = "spl/boot.bin" 18SPL_BINARY = "spl/boot.bin"
19 19
20EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" 20EXTRA_IMAGEDEPENDS += " \
21 u-boot-zynq-uenv \
22 virtual/boot-bin \
23 "
21 24
22SERIAL_CONSOLE = "115200 ttyPS0" 25SERIAL_CONSOLE = "115200 ttyPS0"
23 26
diff --git a/conf/machine/zc702-zynq7.conf b/conf/machine/zc702-zynq7.conf
index 1bf37304..57877bfa 100644
--- a/conf/machine/zc702-zynq7.conf
+++ b/conf/machine/zc702-zynq7.conf
@@ -20,7 +20,10 @@ MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost"
20UBOOT_MACHINE = "zynq_zc702_config" 20UBOOT_MACHINE = "zynq_zc702_config"
21SPL_BINARY = "spl/boot.bin" 21SPL_BINARY = "spl/boot.bin"
22 22
23EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" 23EXTRA_IMAGEDEPENDS += " \
24 u-boot-zynq-uenv \
25 virtual/boot-bin \
26 "
24 27
25SERIAL_CONSOLE = "115200 ttyPS0" 28SERIAL_CONSOLE = "115200 ttyPS0"
26 29
diff --git a/conf/machine/zc706-zynq7.conf b/conf/machine/zc706-zynq7.conf
index 38c3b4b5..d2fbf1b1 100644
--- a/conf/machine/zc706-zynq7.conf
+++ b/conf/machine/zc706-zynq7.conf
@@ -20,7 +20,10 @@ MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost usbgadget"
20UBOOT_MACHINE = "zynq_zc706_config" 20UBOOT_MACHINE = "zynq_zc706_config"
21SPL_BINARY = "spl/boot.bin" 21SPL_BINARY = "spl/boot.bin"
22 22
23EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" 23EXTRA_IMAGEDEPENDS += " \
24 u-boot-zynq-uenv \
25 virtual/boot-bin \
26 "
24 27
25SERIAL_CONSOLE = "115200 ttyPS0" 28SERIAL_CONSOLE = "115200 ttyPS0"
26 29
diff --git a/conf/machine/zcu102-zynqmp.conf b/conf/machine/zcu102-zynqmp.conf
index 80b6d6f3..fe411483 100644
--- a/conf/machine/zcu102-zynqmp.conf
+++ b/conf/machine/zcu102-zynqmp.conf
@@ -32,6 +32,7 @@ EXTRA_IMAGEDEPENDS += " \
32 arm-trusted-firmware \ 32 arm-trusted-firmware \
33 qemu-devicetrees \ 33 qemu-devicetrees \
34 virtual/pmu-firmware \ 34 virtual/pmu-firmware \
35 virtual/boot-bin \
35 " 36 "
36 37
37IMAGE_BOOT_FILES += "uEnv.txt atf-uboot.ub ${KERNEL_IMAGETYPE}-zynqmp-zcu102-rev1.0.dtb" 38IMAGE_BOOT_FILES += "uEnv.txt atf-uboot.ub ${KERNEL_IMAGETYPE}-zynqmp-zcu102-rev1.0.dtb"
diff --git a/conf/machine/zedboard-zynq7.conf b/conf/machine/zedboard-zynq7.conf
index 58cee372..114927de 100644
--- a/conf/machine/zedboard-zynq7.conf
+++ b/conf/machine/zedboard-zynq7.conf
@@ -16,7 +16,10 @@ require conf/machine/include/machine-xilinx-board.inc
16UBOOT_MACHINE = "zynq_zed_config" 16UBOOT_MACHINE = "zynq_zed_config"
17SPL_BINARY = "spl/boot.bin" 17SPL_BINARY = "spl/boot.bin"
18 18
19EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" 19EXTRA_IMAGEDEPENDS += " \
20 u-boot-zynq-uenv \
21 virtual/boot-bin \
22 "
20 23
21SERIAL_CONSOLE = "115200 ttyPS0" 24SERIAL_CONSOLE = "115200 ttyPS0"
22 25
diff --git a/conf/machine/zybo-linux-bd-zynq7.conf b/conf/machine/zybo-linux-bd-zynq7.conf
index b73d908d..b916a209 100644
--- a/conf/machine/zybo-linux-bd-zynq7.conf
+++ b/conf/machine/zybo-linux-bd-zynq7.conf
@@ -21,9 +21,11 @@ UBOOT_MACHINE = "zynq_zybo_config"
21SPL_BINARY = "spl/boot.bin" 21SPL_BINARY = "spl/boot.bin"
22FORCE_PLATFORM_INIT = "1" 22FORCE_PLATFORM_INIT = "1"
23 23
24EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" 24EXTRA_IMAGEDEPENDS += " \
25 25 u-boot-zynq-uenv \
26EXTRA_IMAGEDEPENDS += "virtual/bitstream" 26 virtual/boot-bin \
27 virtual/bitstream \
28 "
27 29
28IMAGE_BOOT_FILES += " \ 30IMAGE_BOOT_FILES += " \
29 boot.bin \ 31 boot.bin \
diff --git a/conf/machine/zybo-zynq7.conf b/conf/machine/zybo-zynq7.conf
index a3e9c06b..e94ad6b9 100644
--- a/conf/machine/zybo-zynq7.conf
+++ b/conf/machine/zybo-zynq7.conf
@@ -17,7 +17,10 @@ PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
17UBOOT_MACHINE = "zynq_zybo_config" 17UBOOT_MACHINE = "zynq_zybo_config"
18SPL_BINARY = "spl/boot.bin" 18SPL_BINARY = "spl/boot.bin"
19 19
20EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" 20EXTRA_IMAGEDEPENDS += " \
21 u-boot-zynq-uenv \
22 virtual/boot-bin \
23 "
21 24
22SERIAL_CONSOLE = "115200 ttyPS0" 25SERIAL_CONSOLE = "115200 ttyPS0"
23 26