[coreboot] [PATCH] bios_extract

Rudolf Marek r.marek at assembler.cz
Tue Dec 22 00:54:33 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> 1) there is a flag for uncompressed module 0x90 instead of 0x80 dunno why
> 2) if the module size in rom > 0xffff some bytes before the structure are used
> as size, the second number looks like crc maybe.

It turns out the extra header is there for all modules.

The unknown value is a simple 32bit sum over HEADER and BODY to sum up to 0 ;)

Dont know how it works for compressed modules nor how it works for modules with
not multiple of 4. It should be easy to get.

Rudolf



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkswCrkACgkQ3J9wPJqZRNXA7QCePP/LvJYyhL/wDOlxdraOB8OU
GrMAoNfwNV3Tgp4Z2wja16q4YcVJHV1g
=svpM
-----END PGP SIGNATURE-----




More information about the coreboot mailing list