kumquat-buildroot/board/qemu/aarch64-virt
Peter Korsgaard c74a484fd1 configs/qemu_aarch64_virt_defconfig: build and use ext4 rootfs
The "virt" machine supports disk emulation, so use a ext4 rootfs instead of
initramfs for consistency with the other qemu defconfigs.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-10-12 22:49:21 +02:00
..
linux-4.13.config configs/qemu_aarch64_virt_defconfig: bump kernel to 4.13.6 2017-10-12 22:49:19 +02:00
readme.txt configs/qemu_aarch64_virt_defconfig: build and use ext4 rootfs 2017-10-12 22:49:21 +02:00

Run the emulation with:

  qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel output/images/Image -append "root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0

The login prompt will appear in the terminal that started Qemu.

Tested with QEMU 2.9.0