aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-03-03 15:36:53 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-03-03 17:20:16 +0100
commit11050d908dbd330e7cf5271afe8861748348554c (patch)
tree25dccb77cccb18b4dc5ae41fd5bdbc58dc9d1589 /board
parent1b554aa849c2ac9c9bdd805253e806b411df6e28 (diff)
downloadbuildroot-11050d908dbd330e7cf5271afe8861748348554c.tar.gz
buildroot-11050d908dbd330e7cf5271afe8861748348554c.tar.bz2
board/qemu/ppc64le-pseries: make Qemu command similar to ppc64-pseries
In particular: - Explicitly specify the CPU to be used, POWER8, which matches qemu_ppc64le_pseries_defconfig - Use hard disk emulation to access the root filesystem instead of an initrd. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board')
-rw-r--r--board/qemu/ppc64le-pseries/readme.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/qemu/ppc64le-pseries/readme.txt b/board/qemu/ppc64le-pseries/readme.txt
index 0fdb389828..95455e9478 100644
--- a/board/qemu/ppc64le-pseries/readme.txt
+++ b/board/qemu/ppc64le-pseries/readme.txt
@@ -1,6 +1,6 @@
Run the emulation with:
-qemu-system-ppc64 -M pseries -nographic -kernel output/images/vmlinux -initrd output/images/rootfs.ext2
+qemu-system-ppc64 -M pseries -cpu POWER8 -m 256 -kernel output/images/vmlinux -append "console=hvc0 root=/dev/sda" -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
The login prompt will appear in the terminal window.