June 2017
Intermediate to advanced
478 pages
13h 14m
English
Some of the sample configurations have a corresponding entry in the directory board/, which contains custom configuration files and information about installing the results on the target. In the case of the system you have just built, the relevant file is board/qemu/arm-versatile/readme.txt, which tells you how to start QEMU with this target. Assuming that you have already installed qemu-system-arm as described in Chapter 1, Starting Out, you can run it using this command:
$ qemu-system-arm -M versatilepb -m 256 \-kernel output/images/zImage \-dtb output/images/versatile-pb.dtb \-drive file=output/images/rootfs.ext2,if=scsi,format=raw \-append "root=/dev/sda console=ttyAMA0,115200" \-serial stdio -net nic,model=rtl8139 -net user ...
Read now
Unlock full access