Help regarding the second stage loader
vinay hegde
thisismevinay at yahoo.co.in
Tue Apr 10 17:54:24 UTC 2007
--- Peter Grehan <grehan at freebsd.org> wrote:
> Hi Vinay,
>
> > Can someone please let me know the place of the
> second
> > stage bootloader for FreeBSD PPC kernel under the
> > source trunk?
> ...
> > I browsed thru' the FreeBSD boot directories
> > (sys/boot/powerpc/loader directory), but couldn't
> find
> > any second stage loader code.
>
> You're in the right place :) The Makefile in that
> directory shows what
> code is included - the OpenFirmware library, the
> FICL forth interpreter,
> the sys/boot/common MI source etc.
>
> later,
>
> Peter.
>
Hi Peter,
Thanks a lot. Ok, so if I understand it correctly, the
code under sys/boot/powerpc need not always execute..
is that right? What I mean is, suppose if we chose to
boot with, say yaboot, then is it absolutely necessary
to execute this second level loader as well _OR_ is
this only required if we need some different type of
image than what yaboot provides (for ex, in Linux-
u-boot provides uImage, so if we need some other type
of linux image, say zImage, then only this second
loader is required). So, is the concept same here?
Also, is the code compiled by sys/boot/powerpc
directory part of the final FreeBSD PPC kernel image?
Thanks,
Vinay
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265
More information about the freebsd-ppc
mailing list