[LinuxBIOS] Re: Linuxbios is always 421bytes larger than allowed

Ronald G. Minnich rminnich at lanl.gov
Mon Jun 27 20:03:28 CEST 2005



On Mon, 27 Jun 2005, yhlu wrote:

> eric line in reset16.lds
> diff -r freebios_lnxi/src/cpu/x86/16bit/reset16.lds
> ../freebios2/src/cpu/x86/16bit/reset16.lds
> 8,9c8
> <       _bogus = ASSERT(_start >= 0xffff0000, "_start to low please
> decrease ROM_IMAGE_SIZE");
> <       _ROMTOP = 0xfffffff0;
> ---
> >       _ROMTOP = (_start >= 0xffff0000) ? 0xfffffff0 : 0xfffffff8;
> 
> So i suggest we put the line in reset16.lds and dont accept the line
> in ldscript.lb

at best this is a temporary fix. Putting computations into the ldscript is 
going to cause us trouble later.

ron




More information about the coreboot mailing list