[PATCH 2/2] tester: Load RISC-V image using -bios and increase memory size

Daniel Cederman cederman at gaisler.com
Fri Aug 19 14:16:32 UTC 2022


This avoids overlapping the RTEMS image with the builtin opensbi image
and the location of the fdt.
---
 tester/rtems/testing/bsps/rv64imafd_medany.ini  | 3 ++-
 tester/rtems/testing/bsps/rv64imafdc_medany.ini | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tester/rtems/testing/bsps/rv64imafd_medany.ini b/tester/rtems/testing/bsps/rv64imafd_medany.ini
index 15137df..9a09518 100644
--- a/tester/rtems/testing/bsps/rv64imafd_medany.ini
+++ b/tester/rtems/testing/bsps/rv64imafd_medany.ini
@@ -32,4 +32,5 @@
 bsp           = rv64imafd_medany
 arch          = riscv64
 tester        = %{_rtscripts}/qemu.cfg
-bsp_qemu_opts = -no-reboot -nographic %{qemu_opts_no_net} -machine virt -m 64M
+bsp_qemu_image_type = -bios
+bsp_qemu_opts = -no-reboot -nographic %{qemu_opts_no_net} -machine virt -m 128M
diff --git a/tester/rtems/testing/bsps/rv64imafdc_medany.ini b/tester/rtems/testing/bsps/rv64imafdc_medany.ini
index 30abd50..cd4fe47 100644
--- a/tester/rtems/testing/bsps/rv64imafdc_medany.ini
+++ b/tester/rtems/testing/bsps/rv64imafdc_medany.ini
@@ -33,4 +33,5 @@
 bsp           = rv64imafdc_medany
 arch          = riscv64
 tester        = %{_rtscripts}/qemu.cfg
-bsp_qemu_opts = -no-reboot -nographic %{qemu_opts_no_net} -machine virt -m 64M
+bsp_qemu_image_type = -bios
+bsp_qemu_opts = -no-reboot -nographic %{qemu_opts_no_net} -machine virt -m 128M
-- 
2.34.1



More information about the devel mailing list