Thanks for your help. Right now I've gotten to the point where I can
print ``hello world'' and exit back to OpenFirmware.
It is interesting though that I cannot ``boot'' it again (or for that
matter launch BootX and procede back into OS X) until I reboot the
machine.
When I boot my own kernel again I get a CLAIM Failed. When I boot
BootX I get ``illegal instruction executed``. As far as I understand,
it is because OF CLAIMed the memory area where it was loading my
image, and after my kernel quit, that area was still CLAIMed by OF,
so it couldn't CLAIM it again. Is there some way of convincing OF to
free up the memory it just gobbled up, after my kernel had exited?
Thanks again.
On Oct 10, 2005, at 3:08 AM, Olaf Hering wrote:
On Sun, Oct 09, Andrei Warkentin wrote:
I trying to cobble together a simple Hello World ``kernel'' on the
mac, and have a question concerning the booting specifics. I
understand that OF 3.0 groks ELF, but the ELF file should contain
some special information in the note section (and have the PT_NOTE
thing). This special information entails the values for load-base and
real-base (among other things) that are to be used. Here is where I
become confused.
Noone except IBM CHRP cares about the PT_NOTE.
Proof: yaboot doesnt have one, and yaboot works fine for everyone.
--
short story of a lazy sysadmin:
alias appserv=wotan
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel