From 033b64ae5220a4dc50fc1464f6919ff936a47eb2 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Mon, 8 Apr 2024 13:44:29 -0600 Subject: versal-hbm-generic: Fix QEMU boot issue VHK158 SDT QEMU doesn't come up with PLM, this to default QEMU_HW_DTB_PS used from versal-generic.conf file doesn't work for VHK158 machine conf file. Fix QEMU PLM boot issue by setting the right QEMU_HW_DTB_PS to board-versal-ps-vmk158.dtb and also adjust the QB_MEM to 32GB as versal-vhk158-reva.dts has 32GB set, we need set same in QB_MEM for QEMU boot. Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- meta-xilinx-core/conf/machine/versal-hbm-generic.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-xilinx-core/conf/machine') diff --git a/meta-xilinx-core/conf/machine/versal-hbm-generic.conf b/meta-xilinx-core/conf/machine/versal-hbm-generic.conf index 23fffcb9..3e72da60 100644 --- a/meta-xilinx-core/conf/machine/versal-hbm-generic.conf +++ b/meta-xilinx-core/conf/machine/versal-hbm-generic.conf @@ -6,6 +6,12 @@ require conf/machine/versal-generic.conf SOC_VARIANT = "hbm" +# VHK158 has 32GB memory only but default versal-generic has QB_MEM set to 8G, +# Since versal-vhk158-reva.dts has 32GB set, we need set same in QB_MEM +QB_MEM = "-m 32G" + +QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-ps-vhk158.dtb" + #### No additional settings should be after the Postamble #### Postamble PACKAGE_EXTRA_ARCHS:append = "${@['', ' versal_hbm_generic']['versal-hbm-generic' != "${MACHINE}"]}" -- cgit v1.2.3-54-g00ecf