-----Original Message----- From: Segher Boessenkool [mailto:segher@kernel.crashing.org] Sent: Wednesday, April 16, 2008 12:56 PM To: Jordan Crouse Cc: Myles Watson; coreboot@coreboot.org Subject: Re: [coreboot] SELF/ELF/LAR
I like the current ability to compress payload segments based on the best compression for that segment. It seems like we lose that if we put ELF files (or a simple alternative) into the LAR without parsing them.
I totaly agree - and SELF reflects that behavior without the additional LAR segments. I'm not even sure if Segher is promoting just tossing it into the LAR without parsing, but I don't want to put words in his mouth.
I'm promoting putting a payload file into the LAR as one file, yes.
If you want the compression stuff to know about ELF (or whatever) segments, make the compression stuff know about it -- not the LAR.
It seems natural to have the tool that populates the ROM image understand the same things that Coreboot understands. That means the format and compression. Maybe we should call it something else if it's not just an archiver.
What's the disadvantage to having the Coreboot ROM Image Program (CRIMP) understand the format and compression?
Myles