summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2025-03-05 13:08:14 -0700
committerMark Hatle <mark.hatle@amd.com>2025-03-30 14:16:15 -0600
commita59f9e0da23ec24d85575265ce14f520d5850de2 (patch)
tree8654d7215e2a60d397f371f4884387057fb99f4d
parent738da1c2803ac5c36438fc22a57de520df166dd5 (diff)
downloadmeta-xilinx-a59f9e0da23ec24d85575265ce14f520d5850de2.tar.gz
extract-cdo: Use boot files dump option
Use -dump boot_files option to extract all the required boot files for QEMU boot. 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/cdo/extract-cdo_1.0.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb b/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb
index 6e734e36..b2b69c38 100644
--- a/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb
+++ b/meta-xilinx-core/recipes-bsp/cdo/extract-cdo_1.0.bb
@@ -1,4 +1,4 @@
1DESCRIPTION = "Recipe to extract pmc_cdo for qemu usage" 1DESCRIPTION = "Recipe to extract boot_files for qemu usage"
2 2
3LICENSE = "CLOSED" 3LICENSE = "CLOSED"
4 4
@@ -25,11 +25,11 @@ BOOTGEN_ARCH_DEFAULT:versal-net = "versalnet"
25BOOTGEN_ARCH ?= "${BOOTGEN_ARCH_DEFAULT}" 25BOOTGEN_ARCH ?= "${BOOTGEN_ARCH_DEFAULT}"
26BOOTGEN_OUTFILE ?= "${DEPLOY_DIR_IMAGE}/boot.bin" 26BOOTGEN_OUTFILE ?= "${DEPLOY_DIR_IMAGE}/boot.bin"
27 27
28# bootgen extracts the pmc_cdo file from the boot.bin. By default this 28# bootgen extracts the boot_files from the boot.bin. By default this happens in
29# happens in the same directory as the boot.bin. We need to move it to 29# the same directory as the boot.bin. We need to move it to $B directory, as
30# this directory, as do_compile should never write into a deploy dir 30# do_compile should never write into a deploy directory.
31do_compile() { 31do_compile() {
32 ${BOOTGEN_CMD} -arch ${BOOTGEN_ARCH} -dump_dir ${B} -dump ${BOOTGEN_OUTFILE} pmc_cdo 32 ${BOOTGEN_CMD} -arch ${BOOTGEN_ARCH} -dump_dir ${B} -dump ${BOOTGEN_OUTFILE} boot_files
33} 33}
34 34
35do_install[noexec] = '1' 35do_install[noexec] = '1'