forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 18
Booting with Qemu
Michael Ellerman edited this page Dec 3, 2018
·
4 revisions
sudo apt-get install qemu-system-ppc
For little endian:
wget https://openpower.xyz/job/initramfs/job/buildroot-master/lastSuccessfulBuild/artifact/rootfs-le.cpio.xz
For big endian:
wget https://openpower.xyz/job/initramfs/job/buildroot-master/lastSuccessfulBuild/artifact/rootfs-be.cpio.xz
There are also root disks built by Guenter Roeck available here:
https://github.com/groeck/linux-build-test/tree/master/rootfs
qemu-system-ppc64 -M pseries -m 1G -nographic -vga none -kernel vmlinux -initrd rootfs-le.cpio.xz
Login with username root
.
# cat /proc/cpuinfo
processor : 0
cpu : POWER7 (raw), altivec supported
clock : 1000.000000MHz
revision : 2.3 (pvr 003f 0203)
timebase : 512000000
platform : pSeries
model : IBM pSeries (emulated by qemu)
machine : CHRP IBM pSeries (emulated by qemu)
Shutdown with halt
.