Skip to content

Commit

Permalink
fsbl-firmware_%.bbappend: Add generation of pmu-conf
Browse files Browse the repository at this point in the history
In SDT flow pmu-conf.bin is missing and observing qemu boot failure
on kria SOM. Therefore, removed the SYSTEM_DTFILE flag check so, this
way it generates for both xsct and sdt

Signed-off-by: John Vicky Vykuntapu <[email protected]>
Signed-off-by: Mark Hatle <[email protected]>
  • Loading branch information
John Vicky Vykuntapu authored and mhatle committed Oct 23, 2024
1 parent 111aade commit 770c06a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions meta-xilinx-bsp/recipes-bsp/embeddedsw/fsbl-firmware_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@ PMU_CONF_BASE_NAME ?= "${PMU_CONF_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAG
DEPENDS:append:zynqmp = " virtual/${TARGET_PREFIX}binutils"

do_compile:append:zynqmp () {
if [ -z "${SYSTEM_DTFILE}" ]; then
${OBJCOPY} --dump-section .sys_cfg_data=${B}/${PMU_CONF_NAME}.bin ${B}/${ESW_COMPONENT}
fi
${OBJCOPY} --dump-section .sys_cfg_data=${B}/${PMU_CONF_NAME}.bin ${B}/${ESW_COMPONENT}
}

do_deploy:append:zynqmp () {
if [ -z "${SYSTEM_DTFILE}" ]; then
install -Dm 0644 ${B}/${PMU_CONF_NAME}.bin ${DEPLOYDIR}/${PMU_CONF_BASE_NAME}.bin
ln -s ${PMU_CONF_BASE_NAME}.bin ${DEPLOYDIR}/${PMU_CONF_NAME}.bin
fi
install -Dm 0644 ${B}/${PMU_CONF_NAME}.bin ${DEPLOYDIR}/${PMU_CONF_BASE_NAME}.bin
ln -s ${PMU_CONF_BASE_NAME}.bin ${DEPLOYDIR}/${PMU_CONF_NAME}.bin
}

0 comments on commit 770c06a

Please sign in to comment.