diff options
| -rw-r--r-- | meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb | 4 |
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 | |||
| 20 | RAMDISK_IMAGE ?= "" | 20 | RAMDISK_IMAGE ?= "" |
| 21 | RAMDISK_IMAGE_zynq ?= "uramdisk.image.gz" | 21 | RAMDISK_IMAGE_zynq ?= "uramdisk.image.gz" |
| 22 | 22 | ||
| 23 | PXERAMDISK_IMAGE ?= "${@'ramdisk.cpio.gz.u-boot' if d.getVar('INITRAMFS_IMAGE') and d.getVar('INITRAMFS_IMAGE').find('initramfs') > 0 else '${RAMDISK_IMAGE}'}" | ||
| 24 | |||
| 23 | KERNEL_BOOTCMD_zynqmp ?= "booti" | 25 | KERNEL_BOOTCMD_zynqmp ?= "booti" |
| 24 | KERNEL_BOOTCMD_zynq ?= "bootm" | 26 | KERNEL_BOOTCMD_zynq ?= "bootm" |
| 25 | KERNEL_BOOTCMD_versal ?= "booti" | 27 | KERNEL_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 | ||
