[COMMIT] Infrastructure Updates 4

Greg Watson gwatson at lanl.gov
Mon Sep 8 11:44:01 CEST 2003


Any inconsistencies you find in the options are most certainly real. :-)

Much of the confusion comes from the configuration setup in the old 
tree which allowed options to be specified and set in any config 
file. The result was that many options were duplicated because their 
definition was buried in some device specific directory somewhere. 
This is the main reason we now use a global options file so that at 
least everything is in one place.

As it stands there is also no way to distinguish between which 
options should be set in the target config file and which in the 
mainboard config, except by convention. It would be relatively easy 
to add a flag to the option to enforce this if it was felt to be 
desirable.

In any case, please feel free to continue to clean up the option 
situation as it is long overdue.

BTW, I use IDE streaming on the PPC boards.

Regards,

Greg

At 3:26 PM +0200 8/9/03, Stefan Reinauer wrote:
>* ron minnich <rminnich at lanl.gov> [030904 17:49]:
>>  On Thu, 4 Sep 2003, Stefan Reinauer wrote:
>>
>>  > I agree.. but right now there are still Config.lb files in the mainboard
>>  > and in the targets directory. And at least last time I checked both were
>>  > used.
>>
>>  possibly I am missing your point. What bits did you want to see in
>>  mainboard/Config.lb that are in the target?
>
>There are some things that are in both Config.lb files. Some of these
>make sense as a board default that gets overwritten by the image config
>file, keeping the idea in mind that whoever builds an image for a
>certain mainboard has to change/create a targets/ Config.lb, but does
>not have to care about the mainboards/Config.lb. When porting LinuxBIOS
>to a new board for a known platform, it should be the other way round.
>
>Still, I am uncertain what belongs where ...
>
>uses XIP_ROM_SIZE
>uses XIP_ROM_BASE
>[..]
>option CONFIG_CHIP_CONFIGURE=1
>option CPU_FIXUP=1
>option CONFIG_UDELAY_TSC=0
>option i686=1
>option i586=1
>option INTEL_PPRO_MTRR=1
>option k7=1
>option k8=1
>option _RAMBASE=0x00004000
>
>These are currently found in the arima targets-Config.lb but they seem
>pretty much mainboard specific, not build specific.
>
>Left for the targets config file would be:
>* console loglevels
>* console output (serial, vga, ..)
>* rom/ide streaming (is anything but rom streaming still supported?)
>* fallback/normal image builds: size, payloads
>* option table
>
>Whats the difference between
>option FALLBACK_SIZE=131072
>and the option
>         option ROM_IMAGE_SIZE=0x10000
>
>in the romimage "fallback" group? Both sound like they do similar
>things.
>
>I had trouble getting a build to work with a kernel (800k) in the normal
>image and etherboot (~20k) in the fallback image. Do the payload image sizes
>have to be the same for fallback and normal?
>
>I'll investigate further..
>
>   Stefan
>
>
>--
>Architecture Team
>     SuSE Linux AG
>_______________________________________________
>Linuxbios mailing list
>Linuxbios at clustermatic.org
>http://www.clustermatic.org/mailman/listinfo/linuxbios




More information about the coreboot mailing list