diff options
author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2024-04-08 13:44:29 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2024-04-08 15:20:57 -0500 |
commit | 033b64ae5220a4dc50fc1464f6919ff936a47eb2 (patch) | |
tree | a34ad8fcb12f5884b7cdfe2e1157123fd2d2938a | |
parent | 5f12f5fde5a6f736182cc0cd4c1bc99d18107f42 (diff) | |
download | meta-xilinx-033b64ae5220a4dc50fc1464f6919ff936a47eb2.tar.gz |
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 <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r-- | meta-xilinx-core/conf/machine/versal-hbm-generic.conf | 6 |
1 files changed, 6 insertions, 0 deletions
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 | |||
6 | 6 | ||
7 | SOC_VARIANT = "hbm" | 7 | SOC_VARIANT = "hbm" |
8 | 8 | ||
9 | # VHK158 has 32GB memory only but default versal-generic has QB_MEM set to 8G, | ||
10 | # Since versal-vhk158-reva.dts has 32GB set, we need set same in QB_MEM | ||
11 | QB_MEM = "-m 32G" | ||
12 | |||
13 | QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-ps-vhk158.dtb" | ||
14 | |||
9 | #### No additional settings should be after the Postamble | 15 | #### No additional settings should be after the Postamble |
10 | #### Postamble | 16 | #### Postamble |
11 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' versal_hbm_generic']['versal-hbm-generic' != "${MACHINE}"]}" | 17 | PACKAGE_EXTRA_ARCHS:append = "${@['', ' versal_hbm_generic']['versal-hbm-generic' != "${MACHINE}"]}" |