[haiku] Re: Haiku on PowerPC - try 2.

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: <haiku@xxxxxxxxxxxxx>
  • Date: Wed, 22 Jul 2009 07:52:32 -0500

On Wed, 22 Jul 2009 10:21:04 +0200 CEST, "François Revol" <revol@xxxxxxx>:
> Sadly OF on my old Mac clone is quite broken it seems.
> Maybe QEMU would now work, would need to test again.
> 
> I recall trying:
> 
> qemu-system-ppc -nographic -serial stdio -cdrom generated-ppc/haiku-
> boot-cd-ppc.iso -boot d
> 
> But it seems their OF (which is now OpenBIOS instead of OpenHackWare) 
> doesn't set some translation tables up properly.

Yeah, I got that same error trying to boot it in qemu in vga mode and
console mode.  I also see where you were hard at work poking the OpenBios
devs :)
http://www.nabble.com/OpenBIOS-release-td22275557.html

It's weird, I can't get the boot_loader_openfirmware going on qemu or my
PowerBook Bronze G3.  They both get stopped at about the same place.

QEMU OpenFirmWare:
>> =============================================================
>> OpenBIOS 1.0 [Mar 23 2009 16:12]
>> 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 Mar 23 2009 16:12

checking for memory...
0: base = 0x00000000, size = 134217728
1: empty region
total physical memory = 128 MB
suggested page table size = 1048576
need new page table, size = 1048576!
new table at: 0x07d00000
MSR: 0x00003030
found 4 translations
found page table!
no mapping for the exception handlers!

PowerBook Lombard (booting from the cd vs tftp gives the same results):
0 > boot enet:192.168.1.120,boot_loader_openfirmware,192.168.1.223
CLIENT: 0050e4308230 192.168.1.223
SERVER: 00e061168b74 192.168.1.120
TFTP messages...

Loading ELF
Checking for memory...
0: base = 0x00000000, size = 134217728
1: base = 0x08000000, size = 67108864
total physical memory = 192 MB
suggested page table size = 2097152
need new page table, size = 2097152
new table at: 0x00200000
MSR: 0x00003030
found 11 translations
found exception handlers!
found page table!

DEFAULT CATCH!, code=900 at %SRR0: ff81ad30  %SRR1: 0000b030

From the information above it seems like both QEMU and the Lombard stop at
the exact same place.  It's weird though, I swear this was working 100% on
my newer G4 in November 2008 and I could get to the boot menu.  Maybe
something was handled differently in the Lombards OpenFirmware/OpenBIOS? 
Maybe the older OpenFirmware is not complete somehow?  I need to piece back
together my G4 quicksilver temporary and try this on it to check the
results.

Thanks!
--Alex

Other related posts: