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
Ibotta Coupon Code [ZVFTJQW]: Claim a $8...
Last Post: brad03510
Today 12:20 AM
» Replies: 0
» Views: 11
Ibotta $10 Sign Up Bonus [ZVFTJQW]: The ...
Last Post: brad03510
Today 12:19 AM
» Replies: 0
» Views: 29
Referral Code for Ibotta [ZVFTJQW]: Get ...
Last Post: brad03510
Today 12:17 AM
» Replies: 0
» Views: 41
Ibotta Referral Code [ZVFTJQW]: Unlock a...
Last Post: brad03510
Today 12:16 AM
» Replies: 0
» Views: 61
Add CPU support Lenovo M715s
Last Post: DeathBringer
Yesterday 02:30 PM
» Replies: 7
» Views: 10168
[REQUEST] Acer Aspire 5730ZG BIOS Unlock
Last Post: adbbda
Yesterday 02:08 PM
» Replies: 29
» Views: 17281
[REQUEST] B760M C V3 BIOS Unlock Power L...
Last Post: browboy
Yesterday 12:44 AM
» Replies: 0
» Views: 1056
AMI BIOS modding nvme-boot
Last Post: Elmurley
05-11-2026 09:05 PM
» Replies: 1
» Views: 2054
HP EliteDesk 800 G2 SFF & 7th gen CPU
Last Post: Lixkote
05-11-2026 09:48 AM
» Replies: 14
» Views: 14331
BIOS MOD FOR DELL N7110 UNLOCKED UEFI BO...
Last Post: ataigun
05-10-2026 02:38 PM
» Replies: 40
» Views: 82097
[REQUEST] Acer TravelMate 5760(G,Z) BIOS...
Last Post: lev0706
05-09-2026 06:45 AM
» Replies: 50
» Views: 37387
[REQUEST] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: Yamri1991
05-08-2026 11:50 AM
» Replies: 801
» Views: 560023
[REQUEST] Lenovo IdeaPad 3 15ALC6 (GLCNx...
Last Post: pomagaj
05-07-2026 12:30 PM
» Replies: 12
» Views: 16941
Badcaps forum bios file download not pos...
Last Post: spithink
05-05-2026 04:52 PM
» Replies: 0
» Views: 1480
[REQUEST] Lenovo B590 (H9ETxxWW) Whiteli...
Last Post: Illia
05-05-2026 03:45 AM
» Replies: 684
» Views: 385804
BIOS for the Fujitsu Celsius R930 with t...
Last Post: Golfmate
05-04-2026 02:28 PM
» Replies: 2
» Views: 2572
[REQUEST] Acer Aspire A715-75G BIOS Unlo...
Last Post: itzzkobra
05-04-2026 12:15 PM
» Replies: 9
» Views: 8508
Lenovo M800 type 10FX Xeon support.
Last Post: Monoploxy
05-03-2026 09:38 AM
» Replies: 2
» Views: 3553
Ms-6309 v2.0 bios tualatin
Last Post: evasive
05-02-2026 12:11 PM
» Replies: 10
» Views: 3143
Asus k52Jr Unlocked Bios Options
Last Post: SplatPie
05-02-2026 12:19 AM
» Replies: 4
» Views: 18536

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