xref: /OK3568_Linux_fs/buildroot/board/qemu/arm-vexpress/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunRun the emulation with:
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun  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 rootwait root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user # qemu_arm_vexpress_defconfig
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunThe login prompt will appear in the terminal that started Qemu. The
6*4882a593Smuzhiyungraphical window is the framebuffer.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunIf you want to emulate more cores change "-smp 1" to "-smp 2" for
9*4882a593Smuzhiyundual-core or even "smp -4" for a quad-core configuration.
10