Index of /M1-Apple/PPC64-M1-Qemu/

NameLast ModifiedSizeType
../ -  Directory
README.txt2021-Jan-18 23:33:081.3Ktext/plain; charset=utf-8
run.sh2021-Jan-18 21:32:180.2Ktext/x-sh; charset=utf-8
Running PPC64 (Big Endian) Linux on the Apple M1 
------------------------------------------------

 There are multiple ways to run qemu on the M1 
 Reliable sources are from the project UTM https://github.com/utmapp/UTM  
 I have used just their patched qemu  

 There are also reports that homebrew is shipping native ARM64 qemu builds now 
 although I don't have experience with homebrew on M1 


 PPC64 Linux runs nicely on the M1 via qemu-system-ppc64 
 We will need the following 

 A mature PPC64 Linux distribution -> I chose OpenSUSE Tumbleweed 
 Please note that I have chosen NET installed ISO - this will need internet connection during setup 
 as it will pull most of the packages directly from the repo - if you do not wish to do this, chose 
 another full ISO (there are DVDs there) 
 https://download.opensuse.org/ports/ppc/tumbleweed/iso/ 
 Save and rename tumbleweed.iso and put into PPC64 working directory.

 Qcow2 disk image 

 qemu-img create -f qcow2 disk.img 20G 

And the launcher script 

/usr/local/bin/qemu-system-ppc64 -cpu POWER8 \
-machine pseries -m 2048 -serial stdio \
-drive file=disk.img,if=none,id=drive-virtio-disk0 \
-device virtio-scsi-pci,id=scsi \
-device scsi-hd,drive=drive-virtio-disk0 \
-cdrom tumbleweed.iso \
-net nic -net user 

The setup takes some time so be patient :) 

Enjoy PPC64 Linux on your M1  
 
twitter.com/astr0baby 
Webserver 1.0