Commit 624120e0 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

docs: qemu: remove unneeded root=/dev/vda2 kernel parameter



In my understanding, /dev/vda2 does not exist unless you add
virtio drive to the qemu command line.

The rootfs is already specified by '-initrd rootfs.cpio.gz'.

Change-Id: Ifdca5d4f3819d87ef7e8a08ed870872d24b86370
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent a66f0309
...@@ -84,7 +84,7 @@ To start (QEMU v4.1.0): ...@@ -84,7 +84,7 @@ To start (QEMU v4.1.0):
qemu-system-aarch64 -nographic -machine virt,secure=on -cpu cortex-a57 \ qemu-system-aarch64 -nographic -machine virt,secure=on -cpu cortex-a57 \
-kernel Image \ -kernel Image \
-append "console=ttyAMA0,38400 keep_bootcon root=/dev/vda2" \ -append "console=ttyAMA0,38400 keep_bootcon" \
-initrd rootfs.cpio.gz -smp 2 -m 1024 -bios bl1.bin \ -initrd rootfs.cpio.gz -smp 2 -m 1024 -bios bl1.bin \
-d unimp -semihosting-config enable,target=native -d unimp -semihosting-config enable,target=native
...@@ -133,6 +133,6 @@ To start (QEMU v2.6.0): ...@@ -133,6 +133,6 @@ To start (QEMU v2.6.0):
qemu-system-aarch64 -nographic -machine virt,secure=on -cpu cortex-a57 \ qemu-system-aarch64 -nographic -machine virt,secure=on -cpu cortex-a57 \
-kernel Image -no-acpi \ -kernel Image -no-acpi \
-append 'console=ttyAMA0,38400 keep_bootcon root=/dev/vda2' \ -append 'console=ttyAMA0,38400 keep_bootcon' \
-initrd rootfs.cpio.gz -smp 2 -m 1024 -bios flash.bin \ -initrd rootfs.cpio.gz -smp 2 -m 1024 -bios flash.bin \
-d unimp -d unimp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment