NewWorld CD Booting?
NewWorld CD Booting?
- Subject: NewWorld CD Booting?
- From: Andrei Warkentin <email@hidden>
- Date: Tue, 14 Mar 2006 23:41:34 -0600
Hello,
I really don't know who else to approach with this, ). Basically I
hack away at my "kernel attempt" on a an '05 iBook (dev system is
10.4), and decided to look into making a bootable CD so I could use
QEMU PPC emulator instead of rebooting my iBook to test after every
compile.
I created the bootinfo file (like this):
<CHRP-BOOT>
<COMPATIBLE>
MacRISC MacRISC3 MacRISC4
</COMPATIBLE>
<DESCRIPTION>
EKP++ for Mac.
</DESCRIPTION>
<BOOT-SCRIPT>
boot cd:,\ekp++\kernel
</BOOT-SCRIPT>
</CHRP-BOOT>
Created a a CD image with hdiutil. Formatted the slice with HFS+.
Blessed the right folder. Basically OF considers the made CD a
"bootable CD". Moreover, I can boot everything fine if I do something
like...
boot cd:,\ekp++\BootX <--- note that BootX is what bless(8) copies
my bootinfo script as to the image. By "everything fine", I mean I
get the gray screen, then it says "Booting ELF" and I see the text
printed by my "kernel".
If I boot up while holding "C", I get the gray screen, I can hear the
CDROM spin up, then I get kicked back to the white and black OF
screen and there is an error about memory access violation.
Is there some technical difference between both boot-ups? Maybe the
OF entry is passed differently? Maybe stdout handle isn't open? Help :(.
So what works:
0> boot cd:,\ekp++\kernel (kernel is an ELF image)
0> boot cd:,\ekp++\BootX (BootX is a bootinfo file)
0> boot cd:,\\:tbxi
What doesn't work:
Hold down "C" to boot from CD.
Andrei Evgenievich Warkentin
email@hidden
Cell: (+1) (847) 321-15-55
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden