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
Compaq Presario R3000, HP Pavilion zv500...
Last Post: mindripper
Today 07:17 PM
» Replies: 31
» Views: 2541
[REQUEST] Advanced tab unlock on Medion ...
Last Post: korek644pl
Today 05:22 PM
» Replies: 0
» Views: 58
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: usedoak
Today 04:57 PM
» Replies: 145
» Views: 108537
[REQUEST] Acer Aspire A715-75G BIOS Unlo...
Last Post: Ogyrecheg
Today 02:35 PM
» Replies: 7
» Views: 4951
[solved] How to add AHCI mod to ASUS "P5...
Last Post: antiyou12
Today 11:47 AM
» Replies: 46
» Views: 100517
[REQUEST] Gigabyte G5 MD BIOS Unlock
Last Post: darkz808
Yesterday 10:17 PM
» Replies: 6
» Views: 2456
BIOS for the Fujitsu Celsius R930 with t...
Last Post: maxtox
Yesterday 08:01 PM
» Replies: 0
» Views: 132
[REQUEST] Lenovo B50-70 (9DCNxxWW) White...
Last Post: kadirb5
12-26-2025 01:44 PM
» Replies: 179
» Views: 104592
[REQUEST] Lenovo T520 (8AETxxWW) Whiteli...
Last Post: greg84
12-26-2025 04:42 AM
» Replies: 147
» Views: 129443
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: pashashilov87
12-24-2025 04:34 PM
» Replies: 883
» Views: 531498
[REQUEST] Acer Nitro 5 AN515-57 BIOS Unl...
Last Post: ChesterNut999
12-23-2025 06:30 PM
» Replies: 21
» Views: 11101
sblocco opzioni avanzate hp dv6 2125el
Last Post: Fabber73
12-23-2025 02:00 PM
» Replies: 0
» Views: 262
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Elpresidentemiko
12-22-2025 04:06 PM
» Replies: 48
» Views: 22672
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: Moro_85
12-22-2025 03:41 PM
» Replies: 1776
» Views: 867652
Clevo P775TM1-G BIOS
Last Post: 645712584
12-22-2025 02:02 PM
» Replies: 161
» Views: 122821
[REQUEST] Unlock Bios for Acer Predator ...
Last Post: SuBDivisions
12-22-2025 11:35 AM
» Replies: 10
» Views: 10918
[Accepting Requests] HP Probook 4530s WL...
Last Post: epx
12-21-2025 10:24 AM
» Replies: 2
» Views: 1726
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: eQualuZe
12-21-2025 05:13 AM
» Replies: 1228
» Views: 569939
Unlock BIOS Asus Rog Flow X16 GV601VV.31...
Last Post: olixp
12-20-2025 04:58 PM
» Replies: 0
» Views: 313
[REQUEST] Lenove Yoga 3 14 80JH Whitelis...
Last Post: Dudu2002
12-20-2025 04:35 PM
» Replies: 28
» Views: 18727

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: 2 Guest(s)