[OpenBIOS] PReP PowerPC "emulation"

Andreas Färber andreas.faerber at web.de
Tue Sep 14 23:02:38 CEST 2010


Am 14.09.2010 um 11:36 schrieb Mark Cave-Ayland:

> If you load qemu with -prom-env 'auto-boot?=false', you should be  
> able to manually come up with a "boot <device>" line that will  
> invoke the AIX bootloader - any chance you could find out what it is?

qemu-system-ppc64 w/ either stock QEMU OpenBIOS or r862 with OSX host  
and ppc MMU patches:

C>> annot manage 'OHCI USB controller' PCI device type 'usb':
 >>  106b 3f (c 3 10)

 >> =============================================================
 >> OpenBIOS 1.0 [Aug 17 2010 14:41]
 >> Configuration device id QEMU version 1 machine id 3
 >> CPUs: 1
 >> Memory: 128M
 >> UUID: 00000000-0000-0000-0000-000000000000
 >> CPU type PowerPC,970FX
Welcome to OpenBIOS v1.0 built on Aug 17 2010 14:41

0 > load cd:,\ppc\chrp\bootfile.exe  ok
0 > go No valid state has been set by load or init-program
  ok
0 > boot cd:,\ppc\chrp\bootfile.exe No valid state has been set by  
load or init-program
  ok
0 > dir cd:,\ppc\chrp
       2048 2007-07-03 17:39:44 .\
       2048 2007-07-03 17:32:05 ..\
   12487680 2007-07-03 17:39:24 bootfile.exe
  ok
0 >


> Also, what format is the AIX bootloader - is it an ELF executable?

$ file /Volumes/CDROM/ppc/chrp/bootfile.exe
/Volumes/CDROM/ppc/chrp/bootfile.exe: ELF 32-bit MSB executable,  
PowerPC or cisco 4500, version 1 (SYSV), statically linked, corrupted  
section header size

Andreas



More information about the OpenBIOS mailing list