diff options
| author | Nathan Rossi <nathan@nathanrossi.com> | 2017-12-03 19:03:12 +1000 |
|---|---|---|
| committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-12-04 14:24:31 -0800 |
| commit | d88df6fc0ef6be2ffc7edb65258060ac51bbee89 (patch) | |
| tree | 0e2a54ceee93ee3f942f5a3520319dcb16000784 | |
| parent | b1a0592fbc175dbc53201b077b2239993d98a122 (diff) | |
| download | meta-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.inc | 1 | ||||
| -rw-r--r-- | conf/machine/microzed-zynq7.conf | 5 | ||||
| -rw-r--r-- | conf/machine/picozed-zynq7.conf | 5 | ||||
| -rw-r--r-- | conf/machine/zc702-zynq7.conf | 5 | ||||
| -rw-r--r-- | conf/machine/zc706-zynq7.conf | 5 | ||||
| -rw-r--r-- | conf/machine/zcu102-zynqmp.conf | 1 | ||||
| -rw-r--r-- | conf/machine/zedboard-zynq7.conf | 5 | ||||
| -rw-r--r-- | conf/machine/zybo-linux-bd-zynq7.conf | 8 | ||||
| -rw-r--r-- | conf/machine/zybo-zynq7.conf | 5 |
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}" | |||
| 18 | XILINX_DEFAULT_UBOOT := "u-boot-xlnx" | 18 | XILINX_DEFAULT_UBOOT := "u-boot-xlnx" |
| 19 | XILINX_DEFAULT_UBOOT_zynqmp := "u-boot" | 19 | XILINX_DEFAULT_UBOOT_zynqmp := "u-boot" |
| 20 | PREFERRED_PROVIDER_virtual/bootloader ??= "${XILINX_DEFAULT_UBOOT}" | 20 | PREFERRED_PROVIDER_virtual/bootloader ??= "${XILINX_DEFAULT_UBOOT}" |
| 21 | PREFERRED_PROVIDER_virtual/boot-bin ??= "${PREFERRED_PROVIDER_virtual/bootloader}" | ||
| 21 | 22 | ||
| 22 | UBOOT_SUFFIX ?= "img" | 23 | UBOOT_SUFFIX ?= "img" |
| 23 | UBOOT_SUFFIX_zynqmp ?= "bin" | 24 | UBOOT_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" | |||
| 13 | UBOOT_MACHINE = "zynq_microzed_config" | 13 | UBOOT_MACHINE = "zynq_microzed_config" |
| 14 | SPL_BINARY = "spl/boot.bin" | 14 | SPL_BINARY = "spl/boot.bin" |
| 15 | 15 | ||
| 16 | EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" | 16 | EXTRA_IMAGEDEPENDS += " \ |
| 17 | u-boot-zynq-uenv \ | ||
| 18 | virtual/boot-bin \ | ||
| 19 | " | ||
| 17 | 20 | ||
| 18 | SERIAL_CONSOLE = "115200 ttyPS0" | 21 | SERIAL_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" | |||
| 17 | UBOOT_MACHINE = "zynq_picozed_config" | 17 | UBOOT_MACHINE = "zynq_picozed_config" |
| 18 | SPL_BINARY = "spl/boot.bin" | 18 | SPL_BINARY = "spl/boot.bin" |
| 19 | 19 | ||
| 20 | EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" | 20 | EXTRA_IMAGEDEPENDS += " \ |
| 21 | u-boot-zynq-uenv \ | ||
| 22 | virtual/boot-bin \ | ||
| 23 | " | ||
| 21 | 24 | ||
| 22 | SERIAL_CONSOLE = "115200 ttyPS0" | 25 | SERIAL_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" | |||
| 20 | UBOOT_MACHINE = "zynq_zc702_config" | 20 | UBOOT_MACHINE = "zynq_zc702_config" |
| 21 | SPL_BINARY = "spl/boot.bin" | 21 | SPL_BINARY = "spl/boot.bin" |
| 22 | 22 | ||
| 23 | EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" | 23 | EXTRA_IMAGEDEPENDS += " \ |
| 24 | u-boot-zynq-uenv \ | ||
| 25 | virtual/boot-bin \ | ||
| 26 | " | ||
| 24 | 27 | ||
| 25 | SERIAL_CONSOLE = "115200 ttyPS0" | 28 | SERIAL_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" | |||
| 20 | UBOOT_MACHINE = "zynq_zc706_config" | 20 | UBOOT_MACHINE = "zynq_zc706_config" |
| 21 | SPL_BINARY = "spl/boot.bin" | 21 | SPL_BINARY = "spl/boot.bin" |
| 22 | 22 | ||
| 23 | EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" | 23 | EXTRA_IMAGEDEPENDS += " \ |
| 24 | u-boot-zynq-uenv \ | ||
| 25 | virtual/boot-bin \ | ||
| 26 | " | ||
| 24 | 27 | ||
| 25 | SERIAL_CONSOLE = "115200 ttyPS0" | 28 | SERIAL_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 | ||
| 37 | IMAGE_BOOT_FILES += "uEnv.txt atf-uboot.ub ${KERNEL_IMAGETYPE}-zynqmp-zcu102-rev1.0.dtb" | 38 | IMAGE_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 | |||
| 16 | UBOOT_MACHINE = "zynq_zed_config" | 16 | UBOOT_MACHINE = "zynq_zed_config" |
| 17 | SPL_BINARY = "spl/boot.bin" | 17 | SPL_BINARY = "spl/boot.bin" |
| 18 | 18 | ||
| 19 | EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" | 19 | EXTRA_IMAGEDEPENDS += " \ |
| 20 | u-boot-zynq-uenv \ | ||
| 21 | virtual/boot-bin \ | ||
| 22 | " | ||
| 20 | 23 | ||
| 21 | SERIAL_CONSOLE = "115200 ttyPS0" | 24 | SERIAL_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" | |||
| 21 | SPL_BINARY = "spl/boot.bin" | 21 | SPL_BINARY = "spl/boot.bin" |
| 22 | FORCE_PLATFORM_INIT = "1" | 22 | FORCE_PLATFORM_INIT = "1" |
| 23 | 23 | ||
| 24 | EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" | 24 | EXTRA_IMAGEDEPENDS += " \ |
| 25 | 25 | u-boot-zynq-uenv \ | |
| 26 | EXTRA_IMAGEDEPENDS += "virtual/bitstream" | 26 | virtual/boot-bin \ |
| 27 | virtual/bitstream \ | ||
| 28 | " | ||
| 27 | 29 | ||
| 28 | IMAGE_BOOT_FILES += " \ | 30 | IMAGE_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" | |||
| 17 | UBOOT_MACHINE = "zynq_zybo_config" | 17 | UBOOT_MACHINE = "zynq_zybo_config" |
| 18 | SPL_BINARY = "spl/boot.bin" | 18 | SPL_BINARY = "spl/boot.bin" |
| 19 | 19 | ||
| 20 | EXTRA_IMAGEDEPENDS += "u-boot-zynq-uenv" | 20 | EXTRA_IMAGEDEPENDS += " \ |
| 21 | u-boot-zynq-uenv \ | ||
| 22 | virtual/boot-bin \ | ||
| 23 | " | ||
| 21 | 24 | ||
| 22 | SERIAL_CONSOLE = "115200 ttyPS0" | 25 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 23 | 26 | ||
