From 3677460363bfebd2b78771bad4c41b9b807efc26 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 15 Mar 2020 15:49:09 +0000 Subject: [PATCH] add compile and config --- openpower/pearpc.mdwn | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/openpower/pearpc.mdwn b/openpower/pearpc.mdwn index f8dddebcf..d2e086a0f 100644 --- a/openpower/pearpc.mdwn +++ b/openpower/pearpc.mdwn @@ -1,7 +1,33 @@ # PearPC A 32-bit PowerPC emulator with generic (cycle-accurate) and JIT compilation. +We specifically do not want JIT because it will not allow us to see exactly +what is going on. # Compiling Download from + + git clone https://github.com/sebastianbiallas/pearpc + ./configure --enable-cpu=generic + make -j16 + +# Create a blank disk image: + +Create a disk image with: + + dd if=/dev/zero of=ppcdisk3g.img bs=516096 seek=6241 count=0 + +# Config file for booting Mandrake 9.1 PPC + +These lines are what need modifying. + + ## PearPC Configuration File + + pci_ide0_master_installed = 1 + pci_ide0_master_image = "ppcdisk3g.img" + + pci_ide0_slave_installed = 1 + pci_ide0_slave_image = "MandrakeLinux-9.1-CD1.ppc.iso" + pci_ide0_slave_type = "cdrom" + -- 2.30.2