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 Ideapad 100-14IBD & 100...
Last Post: striderhiryuart
Today 01:01 PM
» Replies: 14
» Views: 6707
HP EliteBook 840 g2 NVMe
Last Post: x86-64
Today 06:30 AM
» Replies: 0
» Views: 39
[Request] Dell 7400 2 in 1 Computrace/Ab...
Last Post: Lorand187
Yesterday 10:34 PM
» Replies: 0
» Views: 74
[REQUEST] Asus eeepc 1025C
Last Post: biospherebios
Yesterday 07:28 PM
» Replies: 86
» Views: 110249
Fujitsu Esprimo P5710 - unlock [REQUEST]
Last Post: monkeywrench
Yesterday 02:28 PM
» Replies: 12
» Views: 316
[REQUEST] Gigabyte B75M-D3H BIOS Unlock
Last Post: topadefir
Yesterday 12:56 PM
» Replies: 10
» Views: 4010
[REQUEST] Lenovo B590 (H9ETxxWW) Whiteli...
Last Post: samugarob
Yesterday 10:08 AM
» Replies: 674
» Views: 168292
[REQUEST] Asus GL504GV BIOS Unlock
Last Post: merjeu
Yesterday 09:28 AM
» Replies: 5
» Views: 1680
[REQUEST] Asus ROG Strix GL702ZC BIOS Un...
Last Post: George205
Yesterday 09:22 AM
» Replies: 168
» Views: 68552
[REQUEST] Lenovo G780 advanced menu
Last Post: serinity63
Yesterday 07:03 AM
» Replies: 42
» Views: 16886
[REQUEST] HP Gaming Pavilion 15-cx0xxx B...
Last Post: falkorikstv
Yesterday 07:03 AM
» Replies: 10
» Views: 1584
[REQUEST] Gigabyte G5 KC Unlock BIOS
Last Post: Dudu2002
Yesterday 04:06 AM
» Replies: 6
» Views: 2250
[REQUEST] M920q BIOS unlock
Last Post: d3vf0x
04-30-2024 04:50 PM
» Replies: 0
» Views: 144
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: MAVARACOMPLEX
04-30-2024 02:15 PM
» Replies: 1186
» Views: 268212
[REQUEST] Lenovo Thinkpad X240 (GIETxxWW...
Last Post: BOJIKA
04-30-2024 01:33 PM
» Replies: 49
» Views: 17228
[REQUEST] Lenovo Y400 & Y500 (6BCNxxWW) ...
Last Post: Dudu2002
04-30-2024 11:17 AM
» Replies: 157
» Views: 55068
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
04-30-2024 11:16 AM
» Replies: 877
» Views: 290110
[Removed, sp52359] HP Touchsmart Tm2t-22...
Last Post: OrionDakota
04-30-2024 10:04 AM
» Replies: 24
» Views: 21111
[REQUEST] HP Laptop 15-dw3xxx BIOS Unloc...
Last Post: UltraVi0let
04-30-2024 09:58 AM
» Replies: 4
» Views: 207
Clevo P775TM1-G BIOS
Last Post: Spacoom
04-29-2024 09:09 AM
» Replies: 146
» Views: 58608

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)