diff options
| author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2025-03-05 13:08:14 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2025-03-30 14:16:15 -0600 |
| commit | a59f9e0da23ec24d85575265ce14f520d5850de2 (patch) | |
| tree | 8654d7215e2a60d397f371f4884387057fb99f4d | |
| parent | 738da1c2803ac5c36438fc22a57de520df166dd5 (diff) | |
| download | meta-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.bb | 10 |
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 @@ | |||
| 1 | DESCRIPTION = "Recipe to extract pmc_cdo for qemu usage" | 1 | DESCRIPTION = "Recipe to extract boot_files for qemu usage" |
| 2 | 2 | ||
| 3 | LICENSE = "CLOSED" | 3 | LICENSE = "CLOSED" |
| 4 | 4 | ||
| @@ -25,11 +25,11 @@ BOOTGEN_ARCH_DEFAULT:versal-net = "versalnet" | |||
| 25 | BOOTGEN_ARCH ?= "${BOOTGEN_ARCH_DEFAULT}" | 25 | BOOTGEN_ARCH ?= "${BOOTGEN_ARCH_DEFAULT}" |
| 26 | BOOTGEN_OUTFILE ?= "${DEPLOY_DIR_IMAGE}/boot.bin" | 26 | BOOTGEN_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. |
| 31 | do_compile() { | 31 | do_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 | ||
| 35 | do_install[noexec] = '1' | 35 | do_install[noexec] = '1' |
