summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb
index ed6ff60f..12b76010 100644
--- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb
+++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb
@@ -20,6 +20,8 @@ DEVICE_TREE_NAME ?= "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/dtb', 'dev
20RAMDISK_IMAGE ?= "" 20RAMDISK_IMAGE ?= ""
21RAMDISK_IMAGE_zynq ?= "uramdisk.image.gz" 21RAMDISK_IMAGE_zynq ?= "uramdisk.image.gz"
22 22
23PXERAMDISK_IMAGE ?= "${@'ramdisk.cpio.gz.u-boot' if d.getVar('INITRAMFS_IMAGE') and d.getVar('INITRAMFS_IMAGE').find('initramfs') > 0 else '${RAMDISK_IMAGE}'}"
24
23KERNEL_BOOTCMD_zynqmp ?= "booti" 25KERNEL_BOOTCMD_zynqmp ?= "booti"
24KERNEL_BOOTCMD_zynq ?= "bootm" 26KERNEL_BOOTCMD_zynq ?= "bootm"
25KERNEL_BOOTCMD_versal ?= "booti" 27KERNEL_BOOTCMD_versal ?= "booti"
@@ -223,7 +225,7 @@ do_compile() {
223 mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr 225 mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
224 sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \ 226 sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \
225 -e 's/@@DEVICE_TREE_NAME@@/${DEVICE_TREE_NAME}/' \ 227 -e 's/@@DEVICE_TREE_NAME@@/${DEVICE_TREE_NAME}/' \
226 -e 's/@@RAMDISK_IMAGE@@/${RAMDISK_IMAGE}/' \ 228 -e 's/@@RAMDISK_IMAGE@@/${PXERAMDISK_IMAGE}/' \
227 "${WORKDIR}/pxeboot.pxe" > "pxeboot.pxe" 229 "${WORKDIR}/pxeboot.pxe" > "pxeboot.pxe"
228} 230}
229 231