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 Thinkpad Edge E430 & E5...
Last Post: RuryGame
Today 06:23 PM
» Replies: 494
» Views: 171012
Lenovo ThinkCentre M700 10GS - Kaby Lake...
Last Post: tommi22012
Today 04:22 PM
» Replies: 9
» Views: 3719
[Request] Asus H110M-R Mainboard - Xeon ...
Last Post: kusslegyen
Today 03:31 PM
» Replies: 14
» Views: 6685
2x CPU Dell Workstation BIOS modding
Last Post: William P
Today 03:30 PM
» Replies: 0
» Views: 40
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: Dudu2002
Today 01:28 PM
» Replies: 492
» Views: 185640
[Request] ECS P6LX-A bios mod for HDD si...
Last Post: pdesrosiers
Yesterday 11:20 PM
» Replies: 0
» Views: 320
Sony Vaio AW11Z - Support for Quad CPU -...
Last Post: lala2025
Yesterday 08:19 PM
» Replies: 12
» Views: 3848
[REQUEST] HP Pavilion G42-272BR Whitelis...
Last Post: eepromm
Yesterday 06:14 PM
» Replies: 1
» Views: 172
[REQUEST] Bios for packard bell tj65 wit...
Last Post: THECAIDA
Yesterday 03:49 PM
» Replies: 2
» Views: 123
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
Yesterday 02:47 PM
» Replies: 476
» Views: 168272
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: Dudu2002
Yesterday 02:46 PM
» Replies: 1089
» Views: 450251
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: tarikyeter
Yesterday 02:44 PM
» Replies: 236
» Views: 89240
[REQUEST] Remove whitelist in a Panasoni...
Last Post: coco62
Yesterday 11:20 AM
» Replies: 2
» Views: 1602
Lenovo ThinkPad SL510 Whitelist Removal....
Last Post: deepTeNk
11-23-2024 03:32 PM
» Replies: 5
» Views: 6399
[REQUEST] Acer Aspire 5738(G,Z): CPU Upg...
Last Post: DeathBringer
11-21-2024 03:44 PM
» Replies: 49
» Views: 33029
[REQUEST] HP Mini 110-4100 BIOS Unlock
Last Post: DSI INF
11-21-2024 09:24 AM
» Replies: 7
» Views: 322
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: Dudu2002
11-21-2024 03:11 AM
» Replies: 1780
» Views: 496950
Lenovo ThinkCentre M715q 2nd Gen & AMD R...
Last Post: Elmurley
11-20-2024 09:37 PM
» Replies: 2
» Views: 1325
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: SWZSSR
11-20-2024 09:34 PM
» Replies: 1775
» Views: 556084
[REQUEST] Lenovo Thinkpad X240 (GIETxxWW...
Last Post: Dudu2002
11-20-2024 04:58 PM
» Replies: 337
» Views: 144460

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