From: Luke Kenneth Casson Leighton Date: Sun, 15 Mar 2020 15:49:09 +0000 (+0000) Subject: add compile and config X-Git-Tag: convert-csv-opcode-to-binary~3117 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3677460363bfebd2b78771bad4c41b9b807efc26;p=libreriscv.git add compile and config --- 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" +