[coreboot] v3 patch rm elfboot

Stefan Reinauer stepan at coresystems.de
Thu Feb 14 20:00:21 CET 2008


ron minnich wrote:
> Stefan, one thing I don't understand, why does removing elfboot make
> it so we can't unpack LAR?
>
>   
Because the LAR header information is lost, things like the entry point.

You unpack it, repack it, and the segments become ordinary files with 
their lar headers containing bogus information.

So either we recreate an ELF file on unpack, or we dump the metadata to 
a MANIFEST file.

Or we forget about lars having the feature to be unpacked. Not sure that 
its ever needed, except when you want to migrate a payload from one 
image to another one.

Stefan.

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080214/b836fd49/attachment.sig>


More information about the coreboot mailing list