-----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@assembler.cz
Maybe you will need bit to re-arrange patch...
Rudolf
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- there is a flag for uncompressed module 0x90 instead of 0x80 dunno why
- 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
On Tue, Dec 22, 2009 at 12:54:33AM +0100, Rudolf Marek wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- there is a flag for uncompressed module 0x90 instead of 0x80 dunno why
- 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
I have seen these headers on compressed too i think. Will have another look at the 2MB module to check. In the meantime, we should add this info.
Luc Verhaegen.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all,
I noticed in the 939A785GMH/128M is a "hole" which starts at offset 128KB and is 64KB this place holds a firmware for the SB710 8051. Some tools as mmtool for ami at least report the "hole", so this info must be written in the BIOS info maybe?
Rudolf