[coreboot] GSoC project(SCSI boot)__status report
Joseph Smith
joe at settoplinux.org
Fri Jun 20 13:59:39 CEST 2008
> -----Original Message-----
> From: coreboot-bounces+joe=settoplinux.org at coreboot.org [mailto:coreboot-
> bounces+joe=settoplinux.org at coreboot.org] On Behalf Of Zhang Rui
> Sent: Thursday, June 19, 2008 11:22 PM
> To: Joseph Smith
> Cc: Stefan Reinauer; Kevin O'Connor; Marc Jones; Coreboot
> Subject: Re: [coreboot] GSoC project(SCSI boot)__status report
>
> 2008/6/20 Joseph Smith <joe at settoplinux.org>:
> > I don't think so, I am excited to try it out once you are finished.
> > Although I am using IDE instead of SCSI.
> > Sorry if I sound like a broken record, the main thing to remember is we
> > need to make all the LegacyBIOS code that is getting injected into the
> > coreboot base code optional, hence the "if option LegacyBIOS is
> selected".
> > There are alot of people sensative about this, and we need to keep
> coreboot
> > flexible and make everyone happy, right?
> >
> OK, I will keep "making LegacyBIOS code optional" in my mind.
> May be a choice in the menuconfig is suitable?
> I will implement this option after I finished the SCSI booting
> functionality.
> Is this OK?
>
> And another question, LegacyBIOS is not in the coreboot base code now
> and where should we put it? Maybe in the util/LegacyBIOS?
>
For v3 you could probably just use the menuconfig. I haven't played around
with v3 yet, so someone else would probably be better to answer that.
For v2 use a global option in Option.lb, something like:
uses USE_LEGACYBIOS
##
## Build code for LegacyBIOS support
## 0 = disabled, 1 = enabled
##
default USE_LEGACYBIOS = 1
and then before and after your code use a preprocessing directive:
#if USE_LEGACYBIOS
Insert LegacyBIOS code here
#endif
Hope that helps:-)
Thanks,
Joseph Smith
Set-Top-Linux
www.settoplinux.org
More information about the coreboot
mailing list