[LinuxBIOS] Re: .bin final size [was: Error in compiling STPC Consumer]

Peter Stuge stuge-linuxbios at cdy.org
Thu Mar 24 16:13:13 CET 2005


(Is @clustermatic.org still working?)

On Thu, Mar 24, 2005 at 08:01:09AM -0700, Ronald G. Minnich wrote:
> On Thu, 24 Mar 2005, Richard Smith wrote:
> > On Thu, 24 Mar 2005 05:54:17 +0000 (GMT), Ramesh Chhaba 
> > <ourlinuxid at yahoo.co.in> wrote:
> > > But I want to make my romimage within 256KB 
> > >   
> > > So what options I acn change to do that 
> > > currently my image is 356 (approx) KB 
> > 
> > PAY_LOAD_SIZE is not a maximum size.  its the blocksize option
> > thats used in the 'dd' statemnet that copies the payload into a
> > file.  So 64k is the minimum it will be but it could be 128k,
> > 192k, 256k, etc.
> > 
> > Make your ROM_SIZE be the size you want the image - payload size.
> > You can see all the magic for this in the makefile that the
> > config tool generates.  I remember I had to tweak with my numbers
> > till I got to to come out the right size.
> 
> this is a clear FAQ entry.

I wish I understood it better, I guess I should take a look at the
Makefile..


//Peter




More information about the coreboot mailing list