diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2016-02-07 20:39:06 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-08 12:12:42 +0100 |
commit | c06ec1e397b1344897ed9a1959d02f76b550982c (patch) | |
tree | e7710da3048253d78248e568b13f36f08c60b758 /board/qemu | |
parent | 75b7049281d11867ed6611a2a1a6a15dadb0b031 (diff) |
configs/qemu: update arm-vexpress instructions for SMP
We can use the vexpress arm defconfig to test SMP features in Qemu.
So document the necessary invocation changes to account for this, in
preparation of the arm nuri defconfig removal.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/qemu')
-rw-r--r-- | board/qemu/arm-vexpress/readme.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/qemu/arm-vexpress/readme.txt b/board/qemu/arm-vexpress/readme.txt index 7ca4e891e..c7a7607da 100644 --- a/board/qemu/arm-vexpress/readme.txt +++ b/board/qemu/arm-vexpress/readme.txt @@ -1,8 +1,11 @@ Run the emulation with: - qemu-system-arm -M vexpress-a9 -m 256 -kernel output/images/zImage -dtb output/images/vexpress-v2p-ca9.dtb -drive file=output/images/rootfs.ext2,if=sd,format=raw -append "console=ttyAMA0,115200 root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user + qemu-system-arm -M vexpress-a9 -smp 1 -m 256 -kernel output/images/zImage -dtb output/images/vexpress-v2p-ca9.dtb -drive file=output/images/rootfs.ext2,if=sd,format=raw -append "console=ttyAMA0,115200 root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user The login prompt will appear in the terminal that started Qemu. The graphical window is the framebuffer. +If you want to emulate more cores change "-smp 1" to "-smp 2" for +dual-core or even "smp -4" for a quad-core configuration. + Tested with QEMU 2.3.0 |