[coreboot] [PATCH] bios_extract

Rudolf Marek r.marek at assembler.cz
Sat Dec 19 02:08:08 CET 2009


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

Hello,

I think I can CC the coreboot list too. I wanted to extract the Asrock "AMI" ROM
found in the 939A785GMH/128M.

I had to add following changes to the ami.c

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.
3) the type of 0x40 and 0x60 is AMD CIM-X but it has compress set, but those
modules are not.

Signed-off-by: Rudolf Marek <r.marek at assembler.cz>

Maybe you will need bit to re-arrange patch...

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

iEYEARECAAYFAkssJ3gACgkQ3J9wPJqZRNV4OACgnIfGVUivdz2K8HpQhPjCT86r
bagAniFQwJ7QKafPiFHc2vQC2SFyODOT
=87BW
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ami_8.patch
Type: text/x-diff
Size: 2688 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091219/2b0b1540/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ami_8.patch.sig
Type: application/octet-stream
Size: 72 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091219/2b0b1540/attachment.obj>


More information about the coreboot mailing list