[u-boot-test-hooks PATCH] travis-ci: Correct the memory size for Xilinx Zynq QEMU

2021-08-21 Thread 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")
Signed-off-by: Bin Meng 

---

 bin/travis-ci/conf.xilinx_zynq_virt_qemu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/travis-ci/conf.xilinx_zynq_virt_qemu 
b/bin/travis-ci/conf.xilinx_zynq_virt_qemu
index eef7904..a6af659 100644
--- a/bin/travis-ci/conf.xilinx_zynq_virt_qemu
+++ b/bin/travis-ci/conf.xilinx_zynq_virt_qemu
@@ -21,7 +21,7 @@
 console_impl=qemu
 qemu_machine="xilinx-zynq-a9"
 qemu_binary="qemu-system-arm"
-qemu_extra_args="-display none -m 4000 -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=0x400,cpu-num=0"
 reset_impl=none
 flash_impl=none
-- 
2.25.1



Re: [u-boot-test-hooks PATCH] travis-ci: Correct the memory size for Xilinx Zynq QEMU

2021-08-23 Thread Tom Rini
On Sat, Aug 21, 2021 at 11:01:51PM +0800, Bin Meng wrote:

> 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")
> Signed-off-by: Bin Meng 
> 

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

-- 
Tom


signature.asc
Description: PGP signature