Replies: 2 comments 2 replies
-
I see, I also need to change cpu_num to 1 in configs\example\baremetal.c |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am curious that when I tried to change the smp number to 2, bao-demo (baremetal) cannot run successfully, I have changed cpu_num to 2 in src\platform\qemu-aarch64-virt\virt_desc.c, may I know why? Thank you.
The original command is "qemu-system-aarch64 -nographic
-M virt,secure=on,virtualization=on,gic-version=3
-cpu cortex-a53 -smp 4 -m 4G
-bios $BAO_DEMOS_WRKDIR/imgs/$PLATFORM/flash.bin
-device loader,file="$BAO_DEMOS_WRKDIR_IMGS/bao.bin",addr=0x50000000,force-raw=on
-device virtio-net-device,netdev=net0
-netdev user,id=net0,net=192.168.42.0/24,hostfwd=tcp:127.0.0.1:5555-:22
-device virtio-serial-device -chardev pty,id=serial3 -device virtconsole,chardev=serial3"
Beta Was this translation helpful? Give feedback.
All reactions