Date: Tue, 10 Apr 2007 10:54:21 -0700 (PDT) From: vinay hegde <thisismevinay@yahoo.co.in> To: Peter Grehan <grehan@freebsd.org> Cc: freebsd-ppc@freebsd.org Subject: Re: Help regarding the second stage loader Message-ID: <221900.43273.qm@web8413.mail.in.yahoo.com> In-Reply-To: <461BC26C.9080308@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Peter Grehan <grehan@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?221900.43273.qm>