Skip to content
Snippets Groups Projects
Commit 60b52bca authored by Etienne Carriere's avatar Etienne Carriere Committed by Jérôme Forissier
Browse files

qemu_v8: ease SMP testing through QEMU_SMP


As for qemu.mk, environment can set the number of cores to be emulated
using QEMU_SMP. Defaults to 1 core.

Signed-off-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent 6a0fc2b3
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,8 @@ soc-term-clean:
run: all
$(MAKE) run-only
QEMU_SMP ?= 1
.PHONY: run-only
run-only:
$(call check-terminal)
......@@ -163,6 +165,7 @@ run-only:
$(QEMU_PATH)/aarch64-softmmu/qemu-system-aarch64 \
-nographic \
-serial tcp:localhost:54320 -serial tcp:localhost:54321 \
-smp $(QEMU_SMP) \
-machine virt,secure=on -cpu cortex-a57 -m 1057 -bios $(ARM_TF_PATH)/build/qemu/release/bl1.bin \
-s -S -semihosting-config enable,target=native -d unimp \
-initrd $(ROOT)/out-br/images/rootfs.cpio.gz \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment