[OpenBIOS] PReP PowerPC "emulation"

Laurent Vivier Laurent at vivier.eu
Tue Sep 14 01:01:15 CEST 2010


Le mardi 14 septembre 2010 à 00:24 +0200, Andreas Färber a écrit :
> Hi,
> 
> Am 13.09.2010 um 10:31 schrieb Laurent Vivier:
> 
> >> I have tried qemu from 0.11 to latest git (as of 11/09/2010) with  
> >> latest openbios inside, but if i want to use PREP PPC "machine" the  
> >> error is the same:
> 
> > the last time I tried to boot AIX (6 or 7 monthes ago...), OpenBIOS  
> > was able to load the bootloader but as RTAS is not provided by  
> > OpenBIOS, bootloader failed and didn't go further. I think it was  
> > with the CHRP emulation.
> 
> I just tried `qemu-system-ppc64 -boot d -cdrom  
> dvd.AIX6_OpenBeta....iso` and it hangs after:
> 
> Welcome to OpenBIOS v1.0 built on Sep 9 2010 19:56
> Trying cd:,\\:tbxi...
> 
> On a real PowerMac G5 neither the above nor the ppc\bootinfo.txt  
> command `boot &device;:\ppc\chrp\bootfile.exe` worked, any variations  
> of it with , and/or :0 etc. lead to errors about no FDisk partition  
> found or noninterposed LOAD not supported, iirc.
> 
> This is what -nographic shows me:
> 
>  >> Cannot manage 'OHCI USB controller' PCI device type 'usb':
>  >>  106b 3f (c 3 10)
> 
>  >> =============================================================
>  >> OpenBIOS 1.0 [Sep 9 2010 19:56]
>  >> 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 Sep 9 2010 19:56
> Trying cd:,\\:tbxi...

With the old openbios I have  (r790) and qemu (b6601141), and AIX 5.3, I
have this:

$ ./ppc-softmmu/qemu-system-ppc -bios ../openbios-devel/obj-ppc/openbios-qemu.elf -cdrom ../ISO/AIX5.3.iso -nographic

>> =============================================================
>> OpenBIOS 1.0 [Jun 3 2010 20:43]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,750
Welcome to OpenBIOS v1.0 built on Jun 3 2010 20:43

No valid state has been set by load or init-program
No valid state has been set by load or init-program
>> *** Boot failure! No secondary bootloader specified ***

0 > boot cd: 
>> partition 2 does not exist
No valid state has been set by load or init-program
No valid state has been set by load or init-program








-------------------------------------------------------------------------------
                                Welcome to AIX.
                       boot image timestamp: 00:00 00/00
                 The current time and date: 22:38:17 09/13/2010
               number of processors: 1    size of memory: 128MB
                    boot device: cd:\ppc\chrp\bootfile.exe
Validation failed: the "/rtas" device node does not exist.
EXIT
0 > 


$ ./ppc64-softmmu/qemu-system-ppc64 -bios ../openbios-devel/obj-ppc/openbios-qemu.elf -cdrom ../ISO/AIX53.iso -nographic
C>> annot manage 'OHCI USB controller' PCI device type 'usb':
>>  106b 3f (c 3 10)

>> =============================================================
>> OpenBIOS 1.0 [Jun 3 2010 20:43]
>> 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 Jun 3 2010 20:43

No valid state has been set by load or init-program
No valid state has been set by load or init-program
>> *** Boot failure! No secondary bootloader specified ***

0 > boot cd: 
>> partition 2 does not exist
No valid state has been set by load or init-program
No valid state has been set by load or init-program








-------------------------------------------------------------------------------
                                Welcome to AIX.
                       boot image timestamp: 00:00 00/00
NULL ihandle                 The current time and date: 00:00:00 86708/00/0008
               number of processors: 1    size of memory: 128MB
                    boot device: cd:\ppc\chrp\bootfile.exe
Validation failed: the "/rtas" device node does not exist.
EXIT

> @Alex, any hunch what the OHCI thing is about? It doesn't appear with  
> qemu-system-ppc. Some USB initialization missing in the QEMU U3  
> machine init maybe?

Regards,
Laurent

-- 
--------------------- laurent at vivier.eu ----------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard




More information about the OpenBIOS mailing list