aboutsummaryrefslogtreecommitdiff
path: root/bin/run-riscv-qemu.sh
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2025-09-24 10:36:36 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2025-09-24 10:36:36 +0200
commit61f91364f8b6402665484a0834e27f67d60f15fa (patch)
treeb7f244073002b763ad5875c5b19e075a08b0b320 /bin/run-riscv-qemu.sh
parent29523170630804b6083c6d46ac54d65e06bde176 (diff)
downloaddotfiles-61f91364f8b6402665484a0834e27f67d60f15fa.tar.gz
dotfiles-61f91364f8b6402665484a0834e27f67d60f15fa.zip
run-riscv-qemu: Allocate at least 8G for memory
I don't know what were the defaults for this, but it was certainly not enough in order to run some of the selftests from the Linux kernel. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'bin/run-riscv-qemu.sh')
-rwxr-xr-xbin/run-riscv-qemu.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/run-riscv-qemu.sh b/bin/run-riscv-qemu.sh
index 2e926cf..5098beb 100755
--- a/bin/run-riscv-qemu.sh
+++ b/bin/run-riscv-qemu.sh
@@ -88,6 +88,7 @@ set -x
qemu-system-riscv64 -machine virt -nographic \
-cpu "$QEMU_CPU" \
+ -m 8G \
-smp "$QEMU_SMP" \
-kernel "$QEMU_KERNEL" \
-initrd "$BUSYBOX_SRC/initramfs.cpio.gz" \