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] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Dudu2002
Yesterday 02:57 PM
» Replies: 133
» Views: 68553
[REQUEST] HP Stream 13 (13-c100nm) White...
Last Post: krusic22
07-29-2025 06:42 PM
» Replies: 0
» Views: 367
Acer Aspire 7741G BIOS
Last Post: lucky42
07-28-2025 08:53 AM
» Replies: 1
» Views: 1102
[REQUEST] [AMIBIOS8] MSI MS-1731 unlock
Last Post: wololo
07-27-2025 02:07 PM
» Replies: 0
» Views: 643
REQUEST - Unlock bios for Toshiba Satell...
Last Post: SaadC50
07-27-2025 10:14 AM
» Replies: 0
» Views: 565
[REQUEST] Lenovo G500(S) (7BCNxxWW) Whit...
Last Post: Tchistiakov
07-27-2025 08:52 AM
» Replies: 566
» Views: 305830
[REQUEST] HP Envy 15-k203nl bios mod
Last Post: Maxinator500
07-26-2025 12:44 PM
» Replies: 1
» Views: 712
[REQUEST] HP Pavilion dv7-6153er - F.1B ...
Last Post: swmint
07-26-2025 08:31 AM
» Replies: 2
» Views: 5619
[REQUEST] Lenovo G580 (62CNxxWW) Whiteli...
Last Post: Rt1213
07-26-2025 06:03 AM
» Replies: 817
» Views: 398231
Soltek SL-65KIV2
Last Post: DeathBringer
07-26-2025 05:44 AM
» Replies: 20
» Views: 1742
[REQUEST] Lenovo IdeaPad 3 15ALC6 (GLCNx...
Last Post: KADCORP
07-26-2025 12:30 AM
» Replies: 11
» Views: 7090
[REQUEST] GIGABYTE G6 MF (2024) Bios Unl...
Last Post: cwaras
07-25-2025 06:14 PM
» Replies: 2
» Views: 1310
[REQUEST] Lenovo Thinkpad E130 (H4ETxxWW...
Last Post: Dudu2002
07-25-2025 01:55 PM
» Replies: 495
» Views: 191544
[REQUEST] Acer Aspire VN7-791(G) BIOS Un...
Last Post: Dudu2002
07-25-2025 01:48 PM
» Replies: 93
» Views: 92834
[REQUEST] Lenovo Z410 & Z510 (8DCNxxWW) ...
Last Post: oleg-kv
07-25-2025 01:43 PM
» Replies: 501
» Views: 217880
BA92-10824B P04RAC phoenix bios rom requ...
Last Post: thi
07-25-2025 04:11 AM
» Replies: 0
» Views: 1138
[REQUEST] Acer Aspire 5742(G,Z) BIOS Unl...
Last Post: men92
07-24-2025 08:38 AM
» Replies: 166
» Views: 58481
[REQUEST] Lenovo Legion T5 (O54KT1DA) BI...
Last Post: kutoramo
07-24-2025 07:34 AM
» Replies: 1
» Views: 1990
[REQUEST] Unlocking / Enabling WoL for A...
Last Post: StarFluxGames
07-23-2025 06:23 AM
» Replies: 0
» Views: 1168
[REQUEST] Lenovo G510 (79CNxxWW) BIOS Un...
Last Post: Dudu2002
07-23-2025 02:47 AM
» Replies: 80
» Views: 60504

Gigabyte EP45-DS4P/DS4 - updating AHCI and RAID option ROMS
#1
Bug 
Hi guys, since this wasn't a request, I thought this thread best belonged here... move it if that's wrong. A large part of this is pasted from other posts, so forgive me if mess up any editing:

Ideally, what I am trying to do is modify my board's newest (and probably last) BIOS F9a to add the newest compatible AHCI and RAID modules (1.20E and 8.9.1.1002).

So far I have used CBROM 1.98 and done two tests:
1. BIOS with new RAID only. There were no errors, overclocking still worked, and there was no unexpected behavior until RAID was enabled. At that point once the last Option ROM module is loaded, the keyboard (on both PS2 and USB) stops functioning. Therefore can't setup CMOS, use Boot Menu, etc. The RAID array was detected normally, but there was no OS on the drives in this test, so I'm not sure if it would have booted. I found one reference to the keyboard problem here with a GA-EP45-DQ6... there was no posted solution.

2. BIOS with new AHCI and new RAID. No extra steps were taken with this file regarding sensitive files/checksums/file order, the old AHCI and RAID modules were simply released and replaced. The board is now trapped in an endless rebooting cycle, until I (hopefully) manage to activate the backup BIOS chip.

It's been a few days since that last part and I can't get it going, so I'll probably have to swap the chip out. My plan after that, is the following:

1. Overwrite (using a hex editor) the current AHCI and RAID modules with identically sized dummy modules, essentially removing the old versions without touching anything else.
2. Remove the NoCompress ROM module using the older version of CBROM (just in case), as suggested by Zen in that other thread.
3. Add new AHCI and RAID modules.
4. Add the NoCompress ROM back in using the older CBROM.

Both desired Option ROMs are bigger than their older counterparts (AHCI grows from 12.5KB to 16KB, RAID from 64KB to 79.5KB), making them awkward to insert without messing with the size/pointers/offsets of other modules. However, there appears to be plenty of space to add them without actually removing the old ones. If I understand CBROM's output correctly, this procedure should lead to a file with roughly the following layout and stats:

Code:
No. Item-Name Original-Size Compressed-Size Original-File-Name
================================================================================
0. System BIOS 20000h(128.00K) 14348h(80.82K) test.BIN
1. XGROUP CODE 0EB90h(58.89K) 0A0D1h(40.20K) awardext.rom
2. ACPI table 03E96h(15.65K) 01716h(5.77K) ACPITBL.BIN
3. EPA LOGO 0168Ch(5.64K) 0030Dh(0.76K) AwardBmp.bmp
4. GROUP ROM[18] 045F0h(17.48K) 02EA9h(11.67K) ggroup.bin
5. GROUP ROM[20] 02060h(8.09K) 018C1h(6.19K) ffgroup.bin
6. YGROUP ROM 0D930h(54.30K) 07442h(29.06K) awardeyt.rom
7. GROUP ROM[22] 0F630h(61.55K) 01510h(5.27K) tgroup.bin
8. GROUP ROM[23] 0F630h(61.55K) 025EFh(9.48K) t1group.bin
9. GROUP ROM[24] 0F630h(61.55K) 00AEFh(2.73K) t2group.bin
10. GROUP ROM[ 0] 088E0h(34.22K) 02FC0h(11.94K) _EN_CODE.BIN
*11. NoCompress ROM 0254Dh(9.33K) 0254Dh(9.33K) dummy.exe*
12. MINIT 147C0h(81.94K) 147EEh(81.98K) DS4_DDR2.BIN
*13. NoCompress ROM 09E3Eh(39.56K) 09E3Eh(39.56K) dummy.exe*
14. PCI ROM[C] 0E800h(58.00K) 082D1h(32.70K) rtegrom.lom
15. LOGO1 ROM 00B64h(2.85K) 00520h(1.28K) dbios.bmp
16. LOGO BitMap 4B30Ch(300.76K) 15690h(85.64K) des_ds4.bmp
17. OEM5 CODE 01132h(4.30K) 009B0h(2.42K) TPMMPDRV.ROM
18. GROUP ROM[21] 00050h(0.08K) 00078h(0.12K) TCGSMI32.BIN
19. GV3 0234Dh(8.83K) 00C31h(3.05K) PPMINIT.ROM
20. OEM0 CODE 028DBh(10.21K) 01E52h(7.58K) SBF.BIN
*21. PCI ROM[A] 04000h(16.00K) 02B45h(10.82K) ICHAAHCI.BIN*
*22. PCI ROM[B] 13E00h(79.50K) 0BF77h(47.87K) RAID89.BIN*
23. NoCompress ROM 11000h(68.00K) 11026h(68.04K) UTS64K.BIN
(SP) NCPUCODE 20800h(130.00K) 20800h(130.00K) NCPUCODE.BIN

Total compress code space = 1011.50K
Total compressed code size = 724.32K
Remain compress code space = 191.72K

I notice the first size stat would be over 1000KB, would that be an issue? I'd really appreciate any alternate ideas, or the pointing out of potential pitfalls! Thanks.
find
quote
#2
Here you are , try at your own risk!

http://dl.dropbox.com/u/747181/Gigabyte%...34s282.zip

good luck!

Admin
find
quote
#3
Hi 1234s282, and thanks for the reply. I haven't tested your file out yet (waiting for a DIP socket, so I can avoid re-soldering the board the next time the BIOS breaks), and while I'm certainly grateful for the work you've put into it, I am really interested in learning how the file needs to be modified. No one seems to have much information on modding boards using chipsets from the P45 era or newer, and I was hoping to not only get a system with fewer bugs/greater speed, but to add to the available knowledge base. If there's anything you can share about which editing tools, necessary sequences to avoid corruption, etc, that you could share, I'd appreciate it and I'm sure many others would as well!
find
quote
#4
nobody knows about predicting corruption! Tongue = Basically you have to cross your fingers and flash it

Best of Luck - good idea to be prepared so you dont have to resolder Smile
find
quote
#5
Yes, but you obviously have a method for making these changes, and I'm wondering if you'll share. For example, I see that you've inserted the AHCI module in the same sequence as the original. How do you update the later modules to reflect this, since both the RAMINIT and GV3 modules are now positioned later in the file? Which tools are you using, and are you using the same version for the whole mod?

If you're not willing to tell us how the magic trick works, that's OK, but if you are I'd like to learn how you do it. Smile
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)