Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
Gigabyte Z690I Aorus Ultra Plus DDR4 & E...
Last Post: DeathBringer
Yesterday 11:39 PM
» Replies: 10
» Views: 363
Optiplex 7060 SFF 9th Generation Intel C...
Last Post: loukylor
Yesterday 04:21 PM
» Replies: 71
» Views: 46124
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: DImanu
Yesterday 04:29 AM
» Replies: 1095
» Views: 635089
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: dfenton
11-18-2025 06:13 PM
» Replies: 140
» Views: 101430
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
11-18-2025 04:09 PM
» Replies: 46
» Views: 29105
[REQUEST] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: basil021985
11-18-2025 01:25 PM
» Replies: 798
» Views: 490534
Looking for Medion H110H4-EM V2.0 Bios
Last Post: ocsabi
11-18-2025 08:46 AM
» Replies: 0
» Views: 212
Asus EEEPC 1015PN enable 64 bit operatio...
Last Post: pathickel
11-17-2025 12:10 AM
» Replies: 0
» Views: 245
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: PhySix66
11-16-2025 05:05 PM
» Replies: 1775
» Views: 838077
[REQUEST] Lenovo B590 (H5ETxxWW) Whiteli...
Last Post: Cokeef
11-16-2025 01:57 PM
» Replies: 280
» Views: 130958
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: DeathBringer
11-16-2025 10:37 AM
» Replies: 128
» Views: 130356
Toshiba C855 replacement battery problem
Last Post: Rad25
11-16-2025 09:45 AM
» Replies: 0
» Views: 164
CSM unlock Lenovo Ideapad Slim 3
Last Post: mario011
11-16-2025 09:36 AM
» Replies: 0
» Views: 186
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: winged
11-16-2025 07:32 AM
» Replies: 498
» Views: 258720
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: flyingscott
11-15-2025 01:02 PM
» Replies: 652
» Views: 341081
[Request] Microcode support on cpu A8 76...
Last Post: boblemagnifique
11-15-2025 07:17 AM
» Replies: 0
» Views: 240
New Members Say Hi Here
Last Post: boblemagnifique
11-15-2025 06:14 AM
» Replies: 162
» Views: 265827
Lenovo G460 G560 Z460 Z560 NWL ADV MC
Last Post: ArkuS
11-14-2025 09:37 AM
» Replies: 10
» Views: 6877
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
11-14-2025 03:43 AM
» Replies: 601
» Views: 353563
HP Elitebook 8540w Microcode for I7 920X...
Last Post: blackcat1996@
11-14-2025 03:25 AM
» Replies: 7
» Views: 629

AMIMMWIN.exe: handling duplicate module IDs
#1
Wotcher chaps, first post Smile hope I've put it in the right place...

I am experimenting with a couple of AMI BIOSes which are causing me difficulties because they have multiple modules with the same ID (0xE1), and AMIMMWIN, MMTOOL and so forth do not like this.

Extracting the modules I seem to be OK with since I can just copy the relevant chunk out of the BIOS image by hand using "cat foo.rom | tail -c +(start position + 1) | head -c (length)".

It's re-inserting them that is the problem since the tools only seem to allow me to insert the first one. On trying to insert the second, they complain that the module already exists in the BIOS image and there seems to be no way to specify that this is not a problem in this instance.

With option ROM modules (ID 0x20) or language modules (ID 0x21) they are distinguished from each other by their vendor:device IDs or country code:flags values. These ID 0xE1 modules, however, do not have such things, the segment:offset values are shown as 0 in all cases.

So, firstly, is there some incantation to persuade the tools to stop complaining? I can't find any such in the documentation or on Google.

If not, how about putting the modules in by hand? I can't find the format documented anywhere either. Does the BIOS simply scan through all the modules using data in the modules themselves to identify where each one starts and ends, in which case I could more or less just reverse my extraction method, or is there a table of start addresses or something which needs to be updated as well?

Or is my best bet likely to be something like hacking the binaries of the tools to disable the duplicate-module check?

Please don't suggest anything too Windows-specific as I am on Linux and am running the tools under wine (so I have the problem that most versions of them crash under wine on top of the problem of random BIOS corruption from the horrendous bugginess of the tools themselves... is this rubbish really what professional motherboard engineers make BIOSes with?) On the other hand I am not worried about flashing a dud image since I have a standalone programmer, so I can recover, it's just highly inconvenient because the programmer runs off the parallel port so is horribly slow).

Thanks in advance... Smile
find
quote
#2
Are you using insert or replace in MMtool? Insert will only insert a module with a different ID to those already in the rom. Replace will, as it's name suggests, replace the module.

Also which version of MMtool are you using?

[Image: x79sig.jpg]
| BitFenix Shinobi XL | i7-3820 5GHz | P9X79 PRO | 32GB DDR3 | 2x HD6970 | 240GB SSD |
www find
quote
#3
(02-08-2013, 02:20 AM)paradigital Wrote: Are you using insert or replace in MMtool? Insert will only insert a module with a different ID to those already in the rom. Replace will, as it's name suggests, replace the module.

That's exactly the problem. The BIOSes I'm fiddling with have two, or three, modules which have the same ID - and no segment:offset values to distinguish them, unlike PCI addon ROM modules. Whatever tool the BIOSes were created with must therefore have some method of getting around the unique-ID restriction.

(02-08-2013, 02:20 AM)paradigital Wrote: Also which version of MMtool are you using?

The most usable version seems to be 2221beta in "power" mode. Though mostly I am using AMIMMWIN 1.20 from the command line instead as it is more reliable. MMtool tends to crash under wine.
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)