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 G500 (78CNxxWW) Whiteli...
Last Post: Hiva2023
Yesterday 01:15 PM
» Replies: 1185
» Views: 291523
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: CyberBonk
Yesterday 12:45 PM
» Replies: 58
» Views: 17633
HP EliteDesk 705 G5 SFF: CPU Upgrade
Last Post: clogscancer
Yesterday 03:10 AM
» Replies: 3
» Views: 516
[REQUEST] Acer Aspire 5738(G,Z): CPU Upg...
Last Post: lollo90
06-13-2024 05:26 PM
» Replies: 45
» Views: 29480
[REQUEST] Sony VAIO SVE-151 & SVE-171 (R...
Last Post: noodlexd
06-13-2024 08:33 AM
» Replies: 0
» Views: 112
[REQUEST] Lenovo ThinkPad T450(s) (JBETx...
Last Post: portapane
06-13-2024 08:28 AM
» Replies: 135
» Views: 74272
[REQUEST] Acer Aspire 4738(G,Z) BIOS Unl...
Last Post: arisprast1
06-13-2024 01:28 AM
» Replies: 62
» Views: 17261
Acer Aspire 7750G: Ivy Bridge support
Last Post: DeathBringer
06-13-2024 12:23 AM
» Replies: 3
» Views: 324
[REQUEST] Sony VAIO SVE-151 & SVE-171 (R...
Last Post: noodlexd
06-12-2024 06:51 PM
» Replies: 42
» Views: 36087
[REQUEST] IGEL M320C Thin Client
Last Post: Trixxtar
06-12-2024 10:33 AM
» Replies: 1
» Views: 1045
[REQUEST] Acer Nitro 5 AN517-52 BIOS Unl...
Last Post: MATI1XD
06-11-2024 06:36 AM
» Replies: 17
» Views: 3805
MB (A55M-E33 FM2+)
Last Post: TamoNeki
06-10-2024 03:28 PM
» Replies: 15
» Views: 765
Lenovo Ideapad flex 4 14IAU7 missing UUI...
Last Post: balli4u
06-10-2024 01:10 PM
» Replies: 0
» Views: 210
[REQUEST] Lenovo S310 & S410 (8BCNxxWW) ...
Last Post: Dudu2002
06-10-2024 08:34 AM
» Replies: 15
» Views: 7264
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
06-10-2024 06:47 AM
» Replies: 875
» Views: 310120
HELP Unbrick ASUS N550JV
Last Post: halfchemistry
06-10-2024 05:37 AM
» Replies: 9
» Views: 11864
Asus Strix G512LV Bios Unlock
Last Post: loic2907
06-10-2024 04:12 AM
» Replies: 58
» Views: 16941
[Request] HP X99 CPU Support
Last Post: DeathBringer
06-09-2024 01:01 PM
» Replies: 3
» Views: 363
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
06-09-2024 03:50 AM
» Replies: 469
» Views: 144808
[REQUEST] Lenovo ThinkCentre M715q 2nd G...
Last Post: Arcaderix
06-09-2024 02:11 AM
» Replies: 18
» Views: 2201

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)