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
[REQUEST] Lenovo Z50-70 & Z40-70 (9BCNxx...
Last Post: MateriaViva
Today 02:58 AM
» Replies: 759
» Views: 390018
[REQUEST] Gigabyte G5 KC Unlock BIOS
Last Post: Dudu2002
Yesterday 04:25 PM
» Replies: 7
» Views: 5519
Panasonic CF-D1 MK3 Advanced settings un...
Last Post: Bozzeh
Yesterday 02:39 PM
» Replies: 15
» Views: 6058
[REQUEST] Lenovo ThinkCentre M93p Tiny (...
Last Post: mfrabbibd
12-12-2025 08:24 PM
» Replies: 61
» Views: 60184
[REQUEST] Acer Nitro 5 AN517-52 BIOS Unl...
Last Post: Syphys
12-12-2025 11:17 AM
» Replies: 25
» Views: 16190
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
12-12-2025 10:15 AM
» Replies: 603
» Views: 361945
[REQUEST] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: Dudu2002
12-12-2025 10:14 AM
» Replies: 47
» Views: 62812
Possibly corrupted BIOS N100 alder lake ...
Last Post: PuntaLanza
12-12-2025 02:46 AM
» Replies: 0
» Views: 119
[REQUEST] Unlock bios Machenike S15
Last Post: judamex
12-11-2025 12:48 AM
» Replies: 1
» Views: 2559
[REQUEST] SYWZ S210H Series - enable adv...
Last Post: 02point20
12-10-2025 04:12 PM
» Replies: 0
» Views: 159
[REQUEST] Lenovo Ideapad Z710 (7FCNxxWW)...
Last Post: Vanadius
12-10-2025 01:50 PM
» Replies: 228
» Views: 180704
[SOLVED] Change Serial Number, UUID, Mac...
Last Post: bq138
12-10-2025 12:55 PM
» Replies: 11
» Views: 24639
[REQUEST] Acer Aspire E5-575(G) BIOS unl...
Last Post: e_favero
12-10-2025 10:27 AM
» Replies: 120
» Views: 96797
[REQUEST] POS-PIQ77CL unlock options
Last Post: Lincoln
12-10-2025 05:34 AM
» Replies: 1
» Views: 1991
How To Add SLIC 2.1 To An Intel Motherbo...
Last Post: C2WRtm36y
12-09-2025 09:58 PM
» Replies: 74
» Views: 259970
Lenovo B590 unlock the checking original...
Last Post: leecher1337
12-09-2025 07:59 PM
» Replies: 36
» Views: 45832
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: Dudu2002
12-09-2025 04:34 PM
» Replies: 1227
» Views: 563847
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
12-09-2025 04:09 PM
» Replies: 500
» Views: 268347
New Members Say Hi Here
Last Post: wojtas.87
12-09-2025 11:57 AM
» Replies: 168
» Views: 268120
[REQUEST] Lenovo IdeaPad S540-15IWL GTX ...
Last Post: Dudu2002
12-09-2025 10:24 AM
» Replies: 7
» Views: 2639

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)