[haiku-development] Re: PPC sync / isync cleanup PATCH and adding missing kernel calls.

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: <haiku-development@xxxxxxxxxxxxx>
  • Date: Wed, 07 Oct 2009 13:51:58 -0500

On Wed, 07 Oct 2009 20:08:58 +0200 CEST, "Axel Dörfler"
<axeld@xxxxxxxxxxxxxxxx> wrote:
> FWIW the last time I checked, Haiku would boot fine on my G4 iBook 
> (this is a few years back); so whatever happened since then, seems to 
> have broken it.
> 
> Bye,
>    Axel.

Really?  Wow, I was not aware Haiku ever booted properly on PPC.  That
rules out problems in the basics of implementation of the openfirmware
bootloader.

Here is a little recent history (at least as far as I know):

6 months ago
* PPC will not even compile.
* -Wall was causing the cross compile of GCC4 for PPC to fail.
  Removed error on warning. Cleaned up  #warning to // Warning in PPC
code.
   http://dev.haiku-os.org/changeset/29804
   
   Haiku boot menu still does not come up on PPC hardware or QEMU 
   Seems to lock up on real/qemu while allocating the page table.

3 months ago
* adding sync and isync around certain PPC assembly calls (while building
page table) as per PPC documentation.
  http://dev.haiku-os.org/changeset/31708
  http://dev.haiku-os.org/ticket/4115

  Real hardware: Menu comes up, can navigate and boot kernel. While trying
to copy the kernel to memory, we find missing symbols and return to the
boot loader.
  QEMU: Menu still does not come up. Seems to still lock up while
allocating of the page table.

2 months ago
* Fixing missing kernel symbols in the kernel which are preventing boot on
real hardware.
  http://dev.haiku-os.org/ticket/4115
  http://dev.haiku-os.org/changeset/32067
  
  Real hardware: Menu comes up, can navigate and boot kernel. We copy
kernel and all "drivers" to memory and attempt to enter the kernel.  When
we try to enter the kernel we lock up.
  QEMU: Menu still does not come up. Seems to lock up while allocating of
the page table.


Hope it helps anyone who is interested in hacking on PPC haiku :)

Thanks!

-- Alex
   http://haikufire.com

Other related posts: