summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2017-10-12 22:23:56 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-10-12 22:49:21 +0200
commitc74a484fd1a5809369df0fbf4f1ca0bfe59e36b5 (patch)
treea8ff76c7960324ab30b3bf5c5b172e532c6b09c4 /board
parent8eeb0564f8e63d0b97b8e8cf5d3bf11367564091 (diff)
downloadbuildroot-c74a484fd1a5809369df0fbf4f1ca0bfe59e36b5.tar.gz
buildroot-c74a484fd1a5809369df0fbf4f1ca0bfe59e36b5.zip
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>
Diffstat (limited to 'board')
-rw-r--r--board/qemu/aarch64-virt/readme.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/qemu/aarch64-virt/readme.txt b/board/qemu/aarch64-virt/readme.txt
index ece8a536a7..9e09d953f9 100644
--- a/board/qemu/aarch64-virt/readme.txt
+++ b/board/qemu/aarch64-virt/readme.txt
@@ -1,6 +1,6 @@
Run the emulation with:
- qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel output/images/Image -append "console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0
+ 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.
OpenPOWER on IntegriCloud