(no commit message)
[libreriscv.git] / openpower / pearpc.mdwn
1 # PearPC
2
3 A 32-bit PowerPC emulator with generic (cycle-accurate) and JIT compilation.
4 We specifically do not want JIT because it will not allow us to see exactly
5 what is going on.
6
7 # Compiling
8
9 Download from <https://github.com/sebastianbiallas/pearpc>
10
11 git clone https://github.com/sebastianbiallas/pearpc
12 ./configure --enable-cpu=generic
13 make -j16
14
15 # Create a blank disk image:
16
17 Create a disk image with:
18
19 dd if=/dev/zero of=ppcdisk3g.img bs=516096 seek=6241 count=0
20
21 # Config file for booting Mandrake 9.1 PPC
22
23 These lines are what need modifying.
24
25 ## PearPC Configuration File
26
27 pci_ide0_master_installed = 1
28 pci_ide0_master_image = "ppcdisk3g.img"
29
30 pci_ide0_slave_installed = 1
31 pci_ide0_slave_image = "MandrakeLinux-9.1-CD1.ppc.iso"
32 pci_ide0_slave_type = "cdrom"
33
34 # Mandrake PPC ISOs
35
36 Available here <http://ftp.riken.jp/Linux/mandrake/official/iso/9.1/ppc/>