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
SLIC table to BIOS Phoenix Lenovo Flex 2...
Last Post: savio78
Today 09:12 PM
» Replies: 10
» Views: 6799
Ms-6309 v2.0 bios tualatin
Last Post: carlos24_
Today 04:02 PM
» Replies: 0
» Views: 33
Problem with intel DX79SR
Last Post: Tomyx85
Today 03:57 PM
» Replies: 8
» Views: 92
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: blawstem
Today 03:53 PM
» Replies: 220
» Views: 145087
Packard Bell Aloh@
Last Post: moltensoftware
Today 10:31 AM
» Replies: 2
» Views: 3609
[REQUEST] Acer Aspire 7560(G) BIOS Unloc...
Last Post: Slavvvva
Today 09:14 AM
» Replies: 33
» Views: 26308
Working Dell E5440 will not flash BIOS
Last Post: DannoXYZ
Yesterday 08:19 PM
» Replies: 2
» Views: 2485
[REQUEST] Acer Aspire 5742(G,Z) BIOS Unl...
Last Post: charlyholland
Yesterday 10:36 AM
» Replies: 169
» Views: 86958
[REQUEST] Lenovo Ideapad S410p (89CNxxWW...
Last Post: vothcito
Yesterday 03:36 AM
» Replies: 43
» Views: 31576
[REQUEST] Lenovo Thinkpad X230 Tablet (G...
Last Post: spithink
04-18-2026 09:24 PM
» Replies: 355
» Views: 259811
Fujitsu D3061-A1 & Xeon E3-1245
Last Post: Nikandros
04-18-2026 02:31 PM
» Replies: 11
» Views: 1520
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: miant
04-18-2026 12:20 PM
» Replies: 154
» Views: 159277
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: Triple_A
04-18-2026 07:02 AM
» Replies: 108
» Views: 74462
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
04-17-2026 11:55 AM
» Replies: 51
» Views: 28091
Acer Veriton M4620G Slic 2.1 Request
Last Post: rouger0831
04-17-2026 03:10 AM
» Replies: 5
» Views: 7030
[REQUEST] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: steberrr
04-16-2026 01:07 PM
» Replies: 800
» Views: 544278
GA-M68M-S2P (rev. 1.0) F5 BIOS unlock
Last Post: TheExplorer
04-16-2026 12:50 PM
» Replies: 17
» Views: 25261
[Request] Unlock Bios for Asus TUF FX505...
Last Post: antonio1985
04-16-2026 08:26 AM
» Replies: 12
» Views: 14589
[Request] Panasonic Toughbook CF-30K (MK...
Last Post: Yoshi128k
04-15-2026 03:45 PM
» Replies: 0
» Views: 996
[REQUEST] Lenovo Thinkpad T440p (GLETxxW...
Last Post: Dudu2002
04-15-2026 10:57 AM
» Replies: 532
» Views: 334200

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)