[coreboot] SELF/ELF/LAR

Myles Watson mylesgw at gmail.com
Wed Apr 16 15:12:03 CEST 2008

> > That's where my confusion comes in.  Bad ELF files which are parsed and
> > added to the LAR cause failures at build time.  Bad ELF files inserted
> > without being parsed cause failures at boot time.
> >
> > I prefer Build-time failures to Boot-time failures.
> There is no doubt that some parsing has to happen. It is highly unlikely
> that any arbitrary ELF will be optimized for coreboot.  

I'm not sure everyone agrees with that statement yet.

> The question
> isn't that it will be parsed, but rather what will the end result of
> said parse be?  The main problem I have with the current scheme is that
> when we move to three or four payloads, I think that managing the
> segments and walking the lar will become very costly.
> I would rather see us go back to a single LAR file per payload.  Thats
> not to say that LAR file wouldn't be pre-processed.

It's usually 3 segments per ELF, right?  How many payloads are we expecting
each ROM file to have?  How much time are we talking about?


More information about the coreboot mailing list