serial stdio - Redirect the virtual serial port to host character device bios bl1.bin - the BIOS firmware file to use cpu cortex-a57 - the CPU model to emulate M virt,secure=on - emulate a generic QEMU ARM machine with secure features Qemu-system-aarch64 -machine virt,secure=on -cpu cortex-a57 -smp 2 -m 1024 -bios bl1.bin -serial stdio -semihosting-config enable,target=native -device virtio-net-device,netdev=user0 -netdev user,id=user0 -s -device virtio-blk-device,drive=image -drive if=none,id=image,file=rootfs.img These rules create softlinks to the compiled binaries making it convenient to use. I used the build rules from qemu_v8.mk of the optee repos for compiling atf and optee.
0 Comments
Leave a Reply. |