|
From: | Hollis Blanchard |
Subject: | PPC update |
Date: | Fri, 9 Dec 2005 23:41:43 -0600 |
I found the failure by relinking GRUB above 96MB; I guess the lower addresses were well-trafficked enough, at least as far as cacheline congruence classes go. Why did I change the link address? Open Firmware has a "claim" method in which a client program (that's us) reserves memory for exclusive use. BootX, the Mac OS X bootloader, claims almost every byte of memory up to 96MB, and it fails if GRUB has claimed memory in the way.
(BTW, I commented out the "map" part of grub_claimmap(), and everything works fine without it. If we can get a little more testing with that, I will remove it entirely.)
Once I fixed the cache flushing bug, I was able to execute BootX further than before. It displayed an icon indicating it could not find OS X's kernel, which is expected because I had to copy BootX to a separate partition with a supported filesystem to load it at all.
So Marco, any time you're ready with that HFS+ driver... ;) In the meantime I will continue to try to find a way to load BootX without linking at 96MB. It would be nice not to require 96MB of RAM to run GRUB...
-Hollis
[Prev in Thread] | Current Thread | [Next in Thread] |