[coreboot] Storing names of payloads in larballs

Jordan Crouse jordan.crouse at amd.com
Tue Apr 15 01:08:46 CEST 2008

On 14/04/08 23:42 +0200, Peter Stuge wrote:
> On Mon, Apr 14, 2008 at 07:51:15AM +0200, Patrick Georgi wrote:
> > Alternatively, move the name into the lar filesystem:
> >  payload/0/chooser
> >  payload/1/tint - the stand-alone tetris clone
> >  payload/2/GRUB Invaders
> >
> > the number is the order in which they are displayed or loaded,
> > depending on the behaviour of payload/0.
> Neat! chooser must know lar anyway.
The only problem is that makes extracting a LAR pretty complex -
you'll have some pretty funky names hanging around.  It will also
make a typical LAR command line look very ugly.

there is a good reason to have small "filenames" in the LAR and 
a descriptive name somewhere else.

> I'd like to avoid the sorting subdir however. Sorting can be
> accomplished just as easily by implementations in chooser:

Oh, yeah - the chooser will have to figure out sorting on its
own.  For the chooser menu, thats easy, we have numerous things
(alphabetical, lar order, etc, etc).  For chaining it is somewhat
more complex. I haven't thought of a good way to do that yet,
but its probably going to involve a configuration "file" of some
sort in the LAR.  

Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.

More information about the coreboot mailing list