Skip to contentSkip to conversation

travis-ci: Correct the memory size for Xilinx Zynq QEMU

PATCH In review Bin Meng 2 participants 2 messages Aug 21, 2021 – Aug 23, 2021 Arm/Zynq architecture

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 travis-ci: Correct the memory size for Xilinx Zynq QEMU

Currently the memory is specified to be an insane size of about 38TB. This happens to be not an issue with QEMU 4.2.0 which is what U-Boot CI is currently using, but it does not make newer QEMU (e.g.: 6.0.0) happy. Change it to use a 1G memory size.

Fixes 4fcc1d95a39f ("Add support for Xilinx Zynq Virtual platform")

---

 bin/travis-ci/conf.xilinx_zynq_virt_qemu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bin/travis-ci/conf.xilinx_zynq_virt_qemu +1 -1
index eef7904..a6af659 100644
@@ -21,7 +21,7 @@
 console_impl=qemu
 qemu_machine="xilinx-zynq-a9"
 qemu_binary="qemu-system-arm"
-qemu_extra_args="-display none -m 40000000 -nographic -serial /dev/null -serial mon:stdio -monitor null"
+qemu_extra_args="-display none -m 1G -nographic -serial /dev/null -serial mon:stdio -monitor null"
 qemu_kernel_args="-device loader,file=${U_BOOT_BUILD_DIR}/u-boot-dtb.bin,addr=0x4000000,cpu-num=0"
 reset_impl=none
 flash_impl=none
Signature · 1 line
2.25.1
#1 lore raw
Quoted 8 lines · Bin Meng

Currently the memory is specified to be an insane size of about 38TB. This happens to be not an issue with QEMU 4.2.0 which is what U-Boot CI is currently using, but it does not make newer QEMU (e.g.: 6.0.0) happy. Change it to use a 1G memory size.

Fixes 4fcc1d95a39f ("Add support for Xilinx Zynq Virtual platform")

Applied to u-boot-test-hooks/master, thanks!

Signature · 1 line
Tom