* OF netbooting
@ 1999-08-13 13:56 Christopher A. Shepherd
1999-08-13 15:00 ` David Edelsohn
0 siblings, 1 reply; 2+ messages in thread
From: Christopher A. Shepherd @ 1999-08-13 13:56 UTC (permalink / raw)
To: linuxppc-dev
All,
I've been reading a bit on the list about iMac openfirmware netbooting,
reading the Apple technotes, etc. After looking over the NetBSD source tree,
it looks like the special ".note" section in the kernel file consists of
this:
-- snip (ofwmagic.S) --
.section ".note"
# note header
# length of name
.long 8
# note descriptor size
.long 20
# note type (IEEE 1275)
.long 0x1275
# name of owner
.asciz "PowerPC"
.balign 4
# note descriptor
# real mode (-1) or virtual mode (0)
.long 0
# real-base
.long -1
# real-size
.long -1
# virt-base
.long -1
# virt-size
.long -1
-- snip --
I built a special kernel by just assembling this and linking it into
the kernel. Won't be able to test it until I get back home though. Could it
really be this simple?
-Chris
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: OF netbooting
1999-08-13 13:56 OF netbooting Christopher A. Shepherd
@ 1999-08-13 15:00 ` David Edelsohn
0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 1999-08-13 15:00 UTC (permalink / raw)
To: Christopher A. Shepherd; +Cc: linuxppc-dev
>>>>> "Christopher A Shepherd" writes:
Christopher> I built a special kernel by just assembling this and linking it into
Christopher> the kernel. Won't be able to test it until I get back home though. Could it
Christopher> really be this simple?
Mostly. See my earlier notes giving the full details about
exactly what OF expects. The .note section needs to be referenced by a
PT_NOTE in the program header pointing to the note segment.
David
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-08-13 15:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-13 13:56 OF netbooting Christopher A. Shepherd
1999-08-13 15:00 ` David Edelsohn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).