From 1e054892fcc51876836d94adc8453b2175dd122d Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 19 Jan 2024 13:41:35 +0100 Subject: [PATCH] Increase SMP CPUs to 32 --- README.md | 6 ++++++ boot.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e014b0e..300c9db 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,9 @@ In u-boot use the following to boot: ``` => booti 0x84000000 - ${fdtcontroladdr} ``` + +## Notes + +- With only 1 CPU some thigs are soo slow to work. For example, the ttyS0 device + doesn't arrive on time and the login fails. Or the SSH daemon doesn't start + until the third try. With -smp 32 seems to work ok. diff --git a/boot.sh b/boot.sh index 07a7c93..ed6ef12 100755 --- a/boot.sh +++ b/boot.sh @@ -51,7 +51,7 @@ exec qemu-system-riscv64 \ $DEBUG_CPU \ -name visionfive-nix \ -m 1024 \ - -smp 1 \ + -smp 32 \ -nographic \ -machine virt \ -device virtio-rng-pci \