Updated AHCI Gigabyte GA-MA74GM-S2H rev2.0 = dead BIOS, no boot...

Hi everyone,

first of all I wish to thank you all the great guides and huge effort you made.

So, trying to update my AHCI BIOS version, I have just killed my board.

I injected AMD AHCI v.3.1.2.0 in the FC BIOS revision for my board, using CBROM 1.55 this way:

cbrom MA74S2H2.FC /pci AHCI.BIN (renamed v.3.1.2.0)

Nothing more on the way, just boot from USB and FLASHSPI.EXE MA74S2H2.FC … no checksum error, it seemed to be flashing the right way, no error messages at all.

Shut down the computer and never went online again, just black screen.

Right now i’m trying to fix the board replacing the ROM chip, but i wish to know what was wrong with the process, because i still want to upgrade my bios if i get it back to life.

So, for someone who can take a look, here are both original FC bios and modded one.

If i get success bringing it back to live, i will drop a line here to help.

Thanks for your time.
Greetings.

MA74S2H2_FC_original.rar (490 KB)

MA74S2H2_FC_modded.rar (490 KB)

Hello Arien,

at first I want to welcome you at Win-RAID Forum!

Since I don’t remember a similar report from any other user, I am very sorry, that you ran into such trouble after an update of the AMD AHCI ROM module of your Gigabyte mainboard BIOS.
I have already downloaded both BIOS files you have uploaded and will do a deeper look into them to find out the reason for the BIOS flash failure.

If you have just replaced any module, which is before/above the sensitive modules, by using CBROM155, you have done a big mistake, because it is needed to correct the location of the sensitive modules. The tool CBROM155 is able to correct the checksum, but not to replace the sensitive modules into the correct location within the BIOS.

Regarding the recovering of a working BIOS I wish you good luck!
Maybe >this< thread will help you.

Regards
Fernando

Hola Fernando,

by mistake I have just uploaded two times de original BIOS.
Below I attach the right modded one.

You are right, but I looked at ahci (PCI B) and it wasn’t near the protected modules you mention.

I tried with CBROM 1.98 and the flash program told me checksum error, and then used CBROM 1.55… you know the result.

As far as I know, there are two other recovery methods when dealing with Gigabyte Dual BIOS.
The first one is just short two pins from the Main BIOS chip, who forces bypass of Main BIOS check and brings all the work to the Backup BIOS.
It worked for me, but I just damaged the chip (the chip was smoking at the end of the shorting trick).
But for now the Backup BIOS brings up the system and tries to repair Main BIOS (no BIOS found), and get in a endless boot loop.

The second method involves replacing the chip, and cross fingers so Backup is now able to restore Main BIOS.
I’m waiting for the hardware and will try.

Maybe I can drop a couple of lines for both methods.

Greetings.

MA74S2H2_FC_modded.rar (496 KB)

I have realized that.

This "modded" BIOS is not modded at all. It is identical with the 2 BIOS files, which you had uploaded earlier.

Mmmmmmm, I’m not sure about this, the last modded BIOS I attached contains item number 21 for the injected PCI ROM (B) = ahci.bin
Where de original one does not contain the same ahci version and is listed in item number 12.

Let me upload again both bios in a single rar.

These are the contents:

ORIGINAL BIOS

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 
******** ma74s2h2_original.fc BIOS component ********
 
No. Item-Name Original-Size Compressed-Size Original-File-Name
=============================================
0. System BIOS 20000h(128.00K) 1355Ch(77.34K) ma74s2h2.BIN
1. XGROUP 0ED80h(59.38K) 0A29Bh(40.65K) awardext.rom
2. ACPI Table 04498h(17.15K) 018A0h(6.16K) ACPITBL.BIN
3. EPA 0168Ch(5.64K) 0030Dh(0.76K) AwardBmp.bmp
4. GROUP ROM[18] 03B70h(14.86K) 02810h(10.02K) ggroup.bin
5. GROUP ROM[20] 03070h(12.11K) 02359h(8.84K) ffgroup.bin
6. YGROUP 0C0B0h(48.17K) 05DD4h(23.46K) awardeyt.rom
7. GROUP ROM[ 0] 07220h(28.53K) 02EE2h(11.72K) _EN_CODE.BIN
8. VGA ROM[1] 0D800h(54.00K) 08840h(34.06K) 74DVI44.BIN
9. OEM6 0D800h(54.00K) 08845h(34.07K) 74HDMI44.BIN
10. OEM1 0C800h(50.00K) 07BDBh(30.96K) UI.BIN
11. PCI ROM[A] 0FC00h(63.00K) 09CBDh(39.18K) SATARAID.BIN
12. PCI ROM[B] 03600h(13.50K) 02427h(9.04K) ahci.BIN
13. OEM3 0C000h(48.00K) 0704Ch(28.07K) ahci.DLL
14. PCI ROM[C] 0C800h(50.00K) 079FDh(30.50K) rtegrom.lom
15. LOGO1 00B64h(2.85K) 00520h(1.28K) dbios.bmp
16. OEM5 010D1h(4.20K) 009DEh(2.47K) TPMMPDRV.ROM
17. OEM0 02FEFh(11.98K) 02409h(9.01K) SBF.BIN
18. GV3 08878h(34.12K) 02CF2h(11.24K) AGESACPU.ROM
19. MINIT 11231h(68.55K) 11259h(68.59K) MEMINIT.BIN
20. Other (407A) 05011h(20.02K) 05040h(20.06K) HT.DLL
21. Other (407C) 00479h(1.12K) 00518h(1.27K) HT32GATE.BIN
(SP) NCPUCODE 05800h(22.00K) 05800h(22.00K) NCPUCODE.BIN
 
Total compress code space = D3000h(844.00K)
Total compressed code size = 822FAh(520.74K)
Remain compress code space = 50D06h(323.26K)
 
** Micro Code Information **
Bridge ID | Bridge ID
North South Update ID CPUID | North South Update ID CPUID
---------------------------------------+---------------------------------------
C0012102 0401 | 1000002 0000 |
 


MODDED BIOS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 
******** ma74s2h2_modded.fc BIOS component ********
 
No. Item-Name Original-Size Compressed-Size Original-File-Name
=============================================
0. System BIOS 20000h(128.00K) 1355Ch(77.34K) ma74s2h2.BIN
1. XGROUP 0ED80h(59.38K) 0A29Bh(40.65K) awardext.rom
2. ACPI Table 04498h(17.15K) 018A0h(6.16K) ACPITBL.BIN
3. EPA 0168Ch(5.64K) 0030Dh(0.76K) AwardBmp.bmp
4. GROUP ROM[18] 03B70h(14.86K) 02810h(10.02K) ggroup.bin
5. GROUP ROM[20] 03070h(12.11K) 02359h(8.84K) ffgroup.bin
6. YGROUP 0C0B0h(48.17K) 05DD4h(23.46K) awardeyt.rom
7. GROUP ROM[ 0] 07220h(28.53K) 02EE2h(11.72K) _EN_CODE.BIN
8. VGA ROM[1] 0D800h(54.00K) 08840h(34.06K) 74DVI44.BIN
9. OEM6 0D800h(54.00K) 08845h(34.07K) 74HDMI44.BIN
10. OEM1 0C800h(50.00K) 07BDBh(30.96K) UI.BIN
11. PCI ROM[A] 0FC00h(63.00K) 09CBDh(39.18K) SATARAID.BIN
12. OEM3 0C000h(48.00K) 0704Ch(28.07K) ahci.DLL
13. PCI ROM[C] 0C800h(50.00K) 079FDh(30.50K) rtegrom.lom
14. LOGO1 00B64h(2.85K) 00520h(1.28K) dbios.bmp
15. OEM5 010D1h(4.20K) 009DEh(2.47K) TPMMPDRV.ROM
16. OEM0 02FEFh(11.98K) 02409h(9.01K) SBF.BIN
17. GV3 08878h(34.12K) 02CF2h(11.24K) AGESACPU.ROM
18. MINIT 11231h(68.55K) 11259h(68.59K) MEMINIT.BIN
19. Other (407A) 05011h(20.02K) 05040h(20.06K) HT.DLL
20. Other (407C) 00479h(1.12K) 00518h(1.27K) HT32GATE.BIN
21. PCI ROM[B] 06600h(25.50K) 03A38h(14.55K) ahci.bin
(SP) NCPUCODE 05800h(22.00K) 05800h(22.00K) NCPUCODE.BIN
 
Total compress code space = D3000h(844.00K)
Total compressed code size = 8390Bh(526.26K)
Remain compress code space = 4F6F5h(317.74K)
 
** Micro Code Information **
Bridge ID | Bridge ID
North South Update ID CPUID | North South Update ID CPUID
---------------------------------------+---------------------------------------
C0012102 0401 | 1000002 0000 |
 


Greetings.

MA74S2H2.rar (987 KB)

@ Arien:

Thanks for having uploaded again both BIOS files, which now really are different.
As I already have written, you forgot to insert something like a “Dummy” into the place, where the original AMD AHCI ROM module was.
So the following modules inclusive the MEMINIT have been moved from their original place.
Example: The original MEMINIT location started at offset 76350, within the modded BIOS the MEMINIT module starts at offset 73F30.

I hope, that you will be able to recover your original BIOS.
After having a working Computer again, you may retry te BIOS modding procedure. Before you start, I recommend to read >this< and >this< thread.

Well, I think I got it.

You were right again, no dummy module has been injected in replacement of AHCI.bin original module.
Following the links you gave me, I just have put SL.bin dummy module in the position of AHCI.dll, and new AHCI.dll right at the end of the bios.

Please, can you take a look at this new mod BIOS for my board and tell me if I have missed anything else?

Thank you.

MA74S2H2_mod.rar (504 KB)

Hello Arien,

I have just checked the freshly reupdated BIOS and didn’t find any mistake (apart from naming the AHCI ROM file AHCI.bin instead of ahci.BIN) and nothing that you may have missed. So I am pretty sure, that your system will work fine after having flashed the updated BIOS.

You certainly mean the AHCI.bin (resp. ahci.BIN) and not the AHCI.dll (original name: ahci.DLL).

Good luck (finger crossed)!
Fernando

Thanks Fernando.

Yes, I was talking about ahci.bin.

I will review de naming of these files and grab them.

Waiting for eprom chip and back to work with this BIOS.

Greetings!!!