summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf
diff options
context:
space:
mode:
authorJaewon Lee <jaewon.lee@xilinx.com>2019-07-10 16:27:01 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2019-12-09 11:03:47 -0800
commita62553930458c01d536f028ac976cf2c2b69634e (patch)
treeda7ce55a1ec7f7cfaf2f7fa64d3bd544a56882c9 /meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf
parentcdc9d42186253493049141d7f73d5c0e72ab74af (diff)
downloadmeta-xilinx-a62553930458c01d536f028ac976cf2c2b69634e.tar.gz
u-boot-zynq-scr: reworking boot.scr recipe to work for zynq and zynqmp
Separating out sample boot.cmd file for the three supported arch (zynq, zynqmp, versal), Updating devicetree, kernel, ramdisk load addresses for zynq, and dynamically setting DEVICE_TREE_NAME to either system.dtb or kernel dtb, depending on if dtg is used or not. This u-boot-zynq-scr implementation is put in to set the default boot and boot quicker than having to wait for the distro_bootcmd to cycle to the correct boot medium. For example, zynq arch has boot_targets set to "mmc mmc0 qspi usb0 pxe dhcp xilinx" and it takes about 30 seconds to try the 'xilinx' target which will run the correct bootargs. To use the boot.scr file, zynqmp boards must have BOOT.bin, Image, system.dtb, and boot.scr in the boot partition and a rootfs extracted in the second partition. Zynq boards must have BOOT.bin, uImage, system.dtb, boot.scr, and uramdisk.image.gz in the boot partition. (uramdisk.image.gz is the ${IMAGE}.cpio.gz.u-boot in deploy directory) Adding u-boot-zynq-scr dependency to all zynq and zynqmp machine confs. Conditionally adding system.dtb to IMAGE_BOOT_FILES for zcu102 to support boot.scr in qemu flow. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf')
-rw-r--r--meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf
index 51dd2a9d..b866316b 100644
--- a/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf
+++ b/meta-xilinx-bsp/conf/machine/zc1254-zynqmp.conf
@@ -31,6 +31,7 @@ EXTRA_IMAGEDEPENDS += " \
31 arm-trusted-firmware \ 31 arm-trusted-firmware \
32 virtual/boot-bin \ 32 virtual/boot-bin \
33 virtual/bootloader \ 33 virtual/bootloader \
34 u-boot-zynq-scr \
34 " 35 "
35IMAGE_BOOT_FILES += " \ 36IMAGE_BOOT_FILES += " \
36 uEnv.txt \ 37 uEnv.txt \