diff options
author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2025-02-06 14:13:27 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2025-03-30 14:16:15 -0600 |
commit | 75b35c83c5c633389b8d74372f3854e2ad8bbed6 (patch) | |
tree | 68f052575397f96959798328790f3249771f87ee | |
parent | 7194b45beba30f906e340644cdcfc2d5980a703b (diff) | |
download | meta-xilinx-75b35c83c5c633389b8d74372f3854e2ad8bbed6.tar.gz |
xilinx-bootbin: Generate qemu flash bin name based on boot mode
Currently the qemu flash drive bin files has static qspi suffix for
both qspi and ospi boot mode, Instead of generating the qspi always
based on OSPI boot mode value generate the qemu ospii flash bin file.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r-- | meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb index 40db7b32..50e43c32 100644 --- a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb | |||
@@ -48,7 +48,13 @@ BOOTGEN_ARCH_DEFAULT:versal-net = "versalnet" | |||
48 | BOOTGEN_ARCH ?= "${BOOTGEN_ARCH_DEFAULT}" | 48 | BOOTGEN_ARCH ?= "${BOOTGEN_ARCH_DEFAULT}" |
49 | BOOTGEN_EXTRA_ARGS ?= "" | 49 | BOOTGEN_EXTRA_ARGS ?= "" |
50 | 50 | ||
51 | QEMU_FLASH_TYPE ?= "qspi" | 51 | QEMU_FLASH_TYPE_DEFAULT = "undefined" |
52 | QEMU_FLASH_TYPE_DEFAULT:zynq = "qspi" | ||
53 | QEMU_FLASH_TYPE_DEFAULT:zynqmp = "qspi" | ||
54 | QEMU_FLASH_TYPE_DEFAULT:versal = "${@'ospi' if d.getVar("QEMU_HW_BOOT_MODE") == '8' else 'qspi'}" | ||
55 | QEMU_FLASH_TYPE_DEFAULT:versal-net = "${@'ospi' if d.getVar("QEMU_HW_BOOT_MODE") == '8' else 'qspi'}" | ||
56 | QEMU_FLASH_TYPE ?= "${QEMU_FLASH_TYPE_DEFAULT}" | ||
57 | |||
52 | BOOTSCR_DEP = '' | 58 | BOOTSCR_DEP = '' |
53 | BOOTSCR_DEP:versal = '${UBOOT_BOOT_SCRIPT}:do_deploy' | 59 | BOOTSCR_DEP:versal = '${UBOOT_BOOT_SCRIPT}:do_deploy' |
54 | BOOTSCR_DEP:versal-net = '${UBOOT_BOOT_SCRIPT}:do_deploy' | 60 | BOOTSCR_DEP:versal-net = '${UBOOT_BOOT_SCRIPT}:do_deploy' |