[Offer] Gigabyte GA-B85-HD3 (Rev. 2.1) BIOS with ReBAR

Gigabyte support was not helpful with enabling above 4g decoding, so I decided to just do it all myself

To enable ReBAR

BIOS Features tab > Change OS type to Windows 8/WHQL, set CSM Support to Never

Peripherals tab > change “Resizable BAR” from Disabled → Auto

This will set ReBAR value to the largest ReBAR size the card advertises

Use @Kuri0’s ReBarState.exe to set custom BAR sizes

Extras:

2023 Secure Boot keys added, NVMe support, Crystalwell CPU support

Download

2 Likes

@roschank would you give elaborative details on how you finally did it? Since most of 8 series chipset lacks Above 4G Decoding options, and the eSupport bios gigabyte gave me for B85M-D3H is not working as it should be.

Also, i couldn’t find “Resizable BAR” options in AMIBCP, but i found the strings which i think you’ve added yourself. I would love to know how you finally achieve it :slight_smile:

simply intel left the enabling code out of the 8 series firmware for some reason

pci host bridge never sets MEM64_DECODE & there is no above TOUUD MMIO space for the allocator to use because no aperture is registered. so any bar that won’t fit under 4 GB is left unassigned

I wrote a driver to manually program the bridge window & BAR. Planning to publish a generic version of it in the coming days

Not sure whatsup with AMIBCP. did a greasy hii mod though

3 Likes

Wdym with this?

So basically, you made an efi driver to do manual program the bridge window?

Also, did you use the UEFI Patches from the rebaruefi wiki for this bios?

Im looking forward if you could guide on how did you add the “Rebar” option in the bios, with that option still driven with the rebaruefi for rebar usage (im interested on how you do add the option itself on the bios)

If you don’t mind, could you take a look/inspect at this: Transfer.it, and mod it to add “Resizable BAR” option, or maybe make the already available Above 4G Decoding option to actually work like your seld added Resizable Bar option? The thing is i already did the UEFIPatches, DSDT Patch, and add ReBarDxe and Nvstrapsrebar dxe in the bios, but the Above 4G Decoding is doing nothing, it doesn’t promote the MMIO Space to Above 4Gigs, so i think your way of doing it and adding “Resizable BAR” option is the correct way of doing Above 4G Decoding.

This is a bios for B85M D3H A that i’ve received from eSupport, that have Above 4G Decoding option, TPM2.0, and Secure Boot 2023, but it’s not doing anything.. MMIO space still under 4Gigs. Idk if this bios would be useful for your research, im interested on your achievement to this :slight_smile:

Welcome and thank you for sharing, very impressive work on the whole and I look forward to more updates!

What we have encountered in a thread related to updating Secure Boot on older BIOS is:

  • With newer Aptio 5, it is very straight forward to swap out the SB related files from another BIOS
  • However, so far no success with older Aptio 4

Would you be so kind to summarize in that thread, what you did to update Secure Boot on your Gigabyte B85 board? At a first quick glance, the only difference I can spot is that you have not compressed “dbvar” and “dbxvar”.

So, which specific registers have you configured, and should the related configuration code be included as a patch or as a standalone driver? I am using the ASUS B85M-G motherboard, and I would appreciate your advice

Tks for sharing! Could you help me to add the Above 4G Decoding function into my GA B85 D3V A rev1.0 motherboard?Thank you!

@fortitude @Lovesj refer to this topic: [Offer] reBART - Resiz. BAR Module for Intel 8-Series MBs