From 7f41c220b27684d191dc69c582f470c4cd835a9a 2018-10-31 12:09:11 From: drtyhlpr Date: 2018-10-31 12:09:11 Subject: [PATCH] added: running QEMU with SMP (testing) --- diff --git a/README.md b/README.md index 48c3b17..5588cf8 100644 --- a/README.md +++ b/README.md @@ -464,6 +464,11 @@ Start QEMU full system emulation and output to console: qemu-system-arm -m 2048M -M vexpress-a15 -cpu cortex-a15 -kernel kernel7.img -no-reboot -dtb vexpress-v2p-ca15_a7.dtb -sd ${IMAGE_NAME}.qcow2 -append "root=/dev/mmcblk0p2 rw rootfstype=ext4 console=ttyAMA0,115200 init=/bin/systemd" -serial stdio ``` +Start QEMU full system emulation with SMP and output to console: +```shell +qemu-system-arm -m 2048M -M vexpress-a15 -cpu cortex-a15 -smp cpus=2,maxcpus=2 -kernel kernel7.img -no-reboot -dtb vexpress-v2p-ca15_a7.dtb -sd ${IMAGE_NAME}.qcow2 -append "root=/dev/mmcblk0p2 rw rootfstype=ext4 console=ttyAMA0,115200 init=/bin/systemd" -serial stdio +``` + Start QEMU full system emulation with cryptfs, initramfs and output to console: ```shell qemu-system-arm -m 2048M -M vexpress-a15 -cpu cortex-a15 -kernel kernel7.img -no-reboot -dtb vexpress-v2p-ca15_a7.dtb -sd ${IMAGE_NAME}.qcow2 -initrd "initramfs-${KERNEL_VERSION}" -append "root=/dev/mapper/secure cryptdevice=/dev/mmcblk0p2:secure rw rootfstype=ext4 console=ttyAMA0,115200 init=/bin/systemd" -serial stdio