diff options
| author | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-02-20 17:21:39 -0800 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-02-20 17:21:48 -0800 |
| commit | aca1b92bb30372d1cd0bc188f1758f075f540b92 (patch) | |
| tree | cb93933b02872972298289c98eb302fb780cae07 /meta-xilinx-bsp | |
| parent | 3a92c31e8d753f88adc608aa2a463809ec7e3496 (diff) | |
| download | meta-xilinx-aca1b92bb30372d1cd0bc188f1758f075f540b92.tar.gz | |
zcu102-zynqmp.conf: Modify PMU_FIRMWARE_DEPLOY_DIR and PMU_FIRMWARE_IMAGE_NAME
Set the correct PMU_FIRMWARE_DEPLOY_DIR and PMU_FIRMWARE_IMAGE_NAME based on
the flow used to build images. If multiconfig flow is enabled pick pmu elf from
pmutmp directory else pick elf from DEPLOYDIR. This is required to ensure that
runqemu boots correctly by picking the elfs from the correct path.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp')
| -rw-r--r-- | meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf index 3fcbf0eb..adef2e98 100644 --- a/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf +++ b/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf | |||
| @@ -71,8 +71,8 @@ QB_ROOTFS_OPT_qemuboot-xilinx = " -drive if=sd,index=1,file=@ROOTFS@,format=raw" | |||
| 71 | 71 | ||
| 72 | # PMU instance args | 72 | # PMU instance args |
| 73 | PMU_ROM ?= "${DEPLOY_DIR_IMAGE}/pmu-rom.elf" | 73 | PMU_ROM ?= "${DEPLOY_DIR_IMAGE}/pmu-rom.elf" |
| 74 | PMU_FIRMWARE_DEPLOY_DIR ?= "${TOPDIR}/pmutmp/deploy/images/zynqmp-pmu" | 74 | PMU_FIRMWARE_DEPLOY_DIR ?= "${@ '${TOPDIR}/pmutmp/deploy/images/zynqmp-pmu' if d.getVar('BMULTICONFIG') == 'pmu' else '${TOPDIR}/tmp/deploy/images/${MACHINE}'}" |
| 75 | PMU_FIRMWARE_IMAGE_NAME ?= "pmu-firmware-zynqmp-pmu" | 75 | PMU_FIRMWARE_IMAGE_NAME ?= "${@ 'pmu-firmware-zynqmp-pmu' if d.getVar('BBMULTICONFIG') == 'pmu' else 'pmu-zcu102-zynqmp'}" |
| 76 | 76 | ||
| 77 | QB_PMU_OPT = " \ | 77 | QB_PMU_OPT = " \ |
| 78 | -M microblaze-fdt \ | 78 | -M microblaze-fdt \ |
