QEMU/PowerPC and Yellows111: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
3,497 bytes removed ,  Yesterday at 05:14
no edit summary
 
No edit summary
 
{{DISPLAYTITLE:yellows111}}
[[QEMU]] can emulate the '''PowerPC''' architecture. It is able to emulate several machines which can each run a handful of operating systems, which will be documented below.
{{stub}}
 
Sometimes hosts the most horrific UserVMs possible as a scare tactic
==Platforms==
The following machines can be emulated. To see a full list type <code>qemu-system-ppc --M help</code>.
 
{| class="wikitable"
|-
! Model
! Name
! Notes
|-
| 40p
| IBM RS/6000 7020 (40p) (1990)
| Can run some versions of AIX
|-
| bamboo
| bamboo board
| First PowerPC machine emulated by QEMU
|-
| g3beige
| Heathrow based PowerMAC (1997)
|
|-
| mac99
| Mac99 based PowerMAC (1999)
| Can run Mac OS 9.2 - 10.5 and some Linux distros
|-
| mpc8544ds
| Mpc8544ds dev board
|
|-
| none
| Empty machine
|-
| pegasos2
| Genesi/bPlan Pegasos II
| Can run AmigaOS 4.1 and some other Amiga-like OSes
|-
| ppce500
| Generic paravirt e500 platform
|
|-
| ref405ep
| ref405ep
| Needs a file named ppc405_rom.bin which does not seem to be available anymore
|-
| sam460ex
| aCube Sam460ex
| Can run AmigaOS 4.1 FE and some others
|-
| virtex-ml507
| Xilinx Virtex ML507 reference design
|
|-
|}
 
==Machines==
===IBM RS/6000 7020 (40p)===
[[File:40p.jpg|thumb|250px]]
Workstation from ~1994. QEMU emulates the following peripherals for this machine:
 
*PCI bridge
*PCI VGA compatible card with VESA Bochs Extensions
*2 IDE interfaces with hard disk and CD-ROM support
*Floppy disk
*PCnet network adapters
*Serial port
*PREP Non Volatile RAM
*PC compatible keyboard and mouse.
 
To start a very simple emulation that'll boot into OpenBIOS:
 
<pre>qemu-system-ppc -M 40p -boot c</pre>
 
====Current OS compatibility sheet====
{| class="wikitable"
|-
! Operating system
! Status
! Notes
|-
| AIX 3.25
| Not working
| OS hangs indefinitely
|-
| AIX 4.3
| Working
|
|-
| AIX 5.1
| Working
| The PCnet driver does not work in this OS; seems to be a bug <br>with the emulation
|-
| Windows NT 3.51 SP5
| Not working
| Incompatible with OpenBIOS
|-
| Windows NT 4.0 RTM
| Not working
| Incompatible with OpenBIOS
|-
|}
 
====Guest installation instructions====
=====AIX 4.3=====
To boot AIX you need a custom BIOS with serial as the console. Fortunately Artyom Tarasenko has done the hard work for us and made a BIOS that works with QEMU. Download it using wget or similar:
<pre>wget https://github.com/artyom-tarasenko/openfirmware/releases/download/40p-20190413/q40pofw-serial.rom</pre>
 
Then create the hard disk image:
<pre>qemu-img create -f qcow2 aix.qcow2 8G</pre>
 
You can download the AIX 4.3.3 CDs from WinWorldPC: https://winworldpc.com/product/aix/43x
 
Finally, boot QEMU with the following arguments:
 
<pre>qemu-system-ppc -M 40p -bios q40pofw-serial.rom -serial telnet::4441,server -hda aix.qcow2 -vga none -nographic -net none -cdrom Volume_1.iso</pre>
 
If you have a physical CD, you can replace <code>-cdrom Volume_1.iso</code> with <code>-cdrom /dev/sr0</code>.
 
Telnet into port 4441 and begin the installation.
 
=====AIX 5.1=====
Mostly the same as 4.3. Again, you need to download a custom BIOS with serial as the console. The link for that is in the above section.
 
Create the hard disk image:
<pre>qemu-img create -f qcow2 aix.qcow2 8G</pre>
 
You can download AIX 5.1 CDs from WinWorld (you only need the first 3 CDs): https://winworldpc.com/product/aix/51
 
Boot QEMU with these arguments:
 
<pre>qemu-system-ppc -M 40p -bios q40pofw-serial.rom -serial telnet::4441,server -hda aix.qcow2 -nic user -vga none -nographic -cdrom AIX_CD_1.iso</pre>
 
If you have a physical CD, you can replace <code>-cdrom Volume_1.iso</code> with <code>-cdrom /dev/sr0</code>.
 
Telnet into port 4441 and begin the installation.

Navigation menu