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: DeathBringer
Today 04:03 PM
» Replies: 32
» Views: 3887
Lenovo B590 unlock the checking original...
Last Post: leecher1337
Today 02:33 PM
» Replies: 38
» Views: 47506
GPU upgrading on All in One PC and BIOS ...
Last Post: DigitalGhast
Today 07:42 AM
» Replies: 0
» Views: 85
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: richardlll
Yesterday 07:16 PM
» Replies: 105
» Views: 67511
[REQUEST] Lenovo G480 (5ECNxxWW) Bios Un...
Last Post: Eudes Jandrey
Yesterday 04:12 PM
» Replies: 18
» Views: 20405
BIOS for the Fujitsu Celsius R930 with t...
Last Post: michaelvonwollbach
Yesterday 02:19 PM
» Replies: 1
» Views: 516
[Request] Whitelist removal Lenovo Think...
Last Post: Master-DJ
Yesterday 01:33 PM
» Replies: 10
» Views: 6722
[REQUEST] Lenovo Yoga 2 Pro (76CNxxWW) W...
Last Post: Katalizatorius
Yesterday 01:08 PM
» Replies: 723
» Views: 524197
[Request] Asus Tuf Gaming FX505DY BIOS U...
Last Post: kapeaddic
Yesterday 05:11 AM
» Replies: 2
» Views: 2635
[Request] HP Pavilion zv6000/Compaq Pres...
Last Post: the_snakegod
02-04-2026 05:38 PM
» Replies: 19
» Views: 5593
[REQUEST] Lenovo Ideapad 520-15IKB (4WCN...
Last Post: OOKAMI
02-04-2026 02:29 PM
» Replies: 0
» Views: 116
[REQUEST] Lenovo V540-24IWL AIO BIOS Whi...
Last Post: Dudu2002
02-04-2026 03:48 AM
» Replies: 1
» Views: 246
Gigabyte AORUS 5 (KB/SB/MB) BIOS Unlock
Last Post: Dudu2002
02-04-2026 03:47 AM
» Replies: 27
» Views: 14540
[REQUEST] Machenike S15C BIOS Unlock
Last Post: Dudu2002
02-04-2026 03:46 AM
» Replies: 5
» Views: 3485
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
02-04-2026 03:43 AM
» Replies: 503
» Views: 280649
[Request] Dell Optiplex 3090 Mini to sup...
Last Post: numToStr
02-04-2026 03:39 AM
» Replies: 4
» Views: 239
X280 Bios unlocking
Last Post: Robi51
02-04-2026 01:42 AM
» Replies: 0
» Views: 131
Intel SDM logo removal
Last Post: Mt17249
02-04-2026 01:00 AM
» Replies: 0
» Views: 130
HP Envy Phoenix 810-002er bios mod
Last Post: ScorpionTMMC
02-04-2026 12:48 AM
» Replies: 0
» Views: 137
HP Pavilion dv6-2155dx BIOS whitelist re...
Last Post: thalysonle
02-03-2026 09:06 AM
» Replies: 0
» Views: 165

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)