board/qemu/ppc64le-pseries: use qemu-system-ppc64
PATCH 1/3 board/qemu/ppc64le-pseries: use qemu-system-ppc64
qemu-system-ppc64le doesn't necessarily exist: it isn't installed by Qemu, and only created as a symlink to qemu-system-ppc64 by some distributions (Ubuntu). Other distributions (Fedora) just have qemu-system-ppc64.
But qemu-system-ppc64 is capable of running little-endian PPC64 systems, so use this one instead.
--- board/qemu/ppc64le-pseries/readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/qemu/ppc64le-pseries/readme.txt +1 -1
@@ -1,6 +1,6 @@ Run the emulation with: -qemu-system-ppc64le -M pseries -nographic \ +qemu-system-ppc64 -M pseries -nographic \ -kernel output/images/vmlinux \ -initrd output/images/rootfs.ext2
Signature · 1 line
2.14.3
PATCH 2/3 board/qemu/ppc64le-pseries: put Qemu command on one line
This allows the toolchain building machinery used by
https://toolchains.bootlin.com to automatically re-use this Qemu command line.
--- board/qemu/ppc64le-pseries/readme.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
board/qemu/ppc64le-pseries/readme.txt +1 -3
@@ -1,8 +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 -nographic -kernel output/images/vmlinux -initrd output/images/rootfs.ext2 The login prompt will appear in the terminal window.
Signature · 1 line
2.14.3
PATCH 2/3 board/qemu/ppc64le-pseries: put Qemu command on one line
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
This allows the toolchain building machinery used by
https://toolchains.bootlin.com to automatically re-use this Qemu command line.Signed-off-by Thomas Petazzoni <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 3/3 board/qemu/ppc64le-pseries: make Qemu command similar to ppc64-pseries
In reply to Thomas PetazzoniIn 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.
--- board/qemu/ppc64le-pseries/readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/qemu/ppc64le-pseries/readme.txt +1 -1
@@ -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.
Signature · 1 line
2.14.3
PATCH 3/3 board/qemu/ppc64le-pseries: make Qemu command similar to ppc64-pseries
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
In particular:
- Explicitly specify the CPU to be used, POWER8, which matchesqemu_ppc64le_pseries_defconfig- Use hard disk emulation to access the root filesystem instead of an initrd.
Signed-off-by Thomas Petazzoni <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/3 board/qemu/ppc64le-pseries: use qemu-system-ppc64
In reply to Thomas PetazzoniQuoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
qemu-system-ppc64le doesn't necessarily exist: it isn't installed by Qemu, and only created as a symlink to qemu-system-ppc64 by some distributions (Ubuntu). Other distributions (Fedora) just have qemu-system-ppc64.
But qemu-system-ppc64 is capable of running little-endian PPC64 systems, so use this one instead.
Signed-off-by Thomas Petazzoni <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard