[Request] ASRock z97 Anniversary BIOS mod enable Resizable BAR

[Kuri0]
i know its hard request but really i cant do it - so when u have time , please i need you mod this bios for me
-fix a DSDT issue - 4G decoding

  • add DXE driver to enable Resizable BAR
    -PciBusDxe fixed to allow 16GB + fixed PciHostBridge to allow more MMIO space
  • fix CMOS clear issue -above 4g to always enabled
  • patch the bios
    give me final bios that i can flash it - like this one
    https://i.postimg.cc/L6wbbghZ/Untitled.jpg

thank you


Edit by Fernando: Thread title shortened and customized

i will do the last two steps right ? :slight_smile:
1- enable 4G decoding
2- using ReBarState

Here try this (DSDT Patched):
Z97AVR_2MOD.rar (5.4 MB)

2.20: Capsule still present (pure mod)
2.21: Extracted body from capsule

1 Like

thank you for your time and efforts/
you mean i flash 2.20 then 2.21 ?
and after than enable above 4g ?

No, try which one could be flashed (its 1 AM here, have blurry memory abt asrock if they have the security feature on bios that would block modded bios flash or not).

Yes, if flash successful enable 4g decode, then run rebar state and set it at 32 then reboot

DSDT Patches (might be a good reference): Remove some unused laptop (dock, lid, battery things), added QWord memory (cause ur bios dsdt is broken/QWord missing)

ok i get it - i will try flash first one 2.21 and see - thank you man
any suggestions for the clear CMOS issue that give black screen?

do you mean if it blackscreen after rebar state? well, i had this before, i just simply unplug pcie power from gpu, unplug cmos and power cord, press and hold power button for 11 secs, put everything back in but not the pcie power, try to boot off igpu.

i will give it try-
i will give you feedback later - good night

1 Like

hope the bios flash went well. If bios flash successful, and you could enable 4g decoding, it should work rightaway after you set rebarstate at 32. dont forget to put gpuz screenshot (main and PCIE Resizable bar tab), also cpuz > mainboard tab. Will be looking forward for feedback :smiley:

i really appreciate your time - i will give you feedback after flashed


thank you - its worked like a charm

2 Likes

Which file did you use to flash? did you flash using instant flash?

if you dont mind, if there is some abnormality like not waking up properly or sleeping properly, please let me know. i worried if the DSDT patch (yes the “erasing some code” part) might break something, cause afaik it was laptop stuff mostly related to docking charger, laptop lid, and battery stuff.

Oh also, did the boot logo changed XD?

i flashed this bios— 2.21 via instant flash as usual
i think Above 4G . enables by default
and booted very well without any issues
the gaming running smoothly with extra fps
thank you

1 Like

Hi!

I flashed the 2.21. I have new boot screen logo but no above 4G decoding nor resizable bar.
I disabled CSM, but i cant find where should i enable above 4G decodeing and resizable bar?
I try to use it for an rx6600.

Now i tryed to flash the 2.20, but security check fails at it.

Thnx for the help.

Hi @Ityam , I have updated the module using the v3 of rebar mod which could reset the nvram value for rebardxe so you dont have to use igpu if you forgot to disable rebar size whenever you do clr cmos, this one would clr the rebarsize to disabled IF you clr cmos which is better (otherwise if you clr cmos, you would have blackscreen due to nvram value not resetting), here the file:
Z97AVRNEW_2.rar (5.4 MB)

Use modgrub if Above 4G Decoding is not in bios settings
Here is your above 4G offset:

to enable it using modgrub, read this from step 5 (you need to make bootable drive to use modgrub), then type setup_var 0x1 0x0, enter, type reboot, enter, then go to modgrub again and type setup_var 0x1 0x1, type reboot, enter, and you will have above 4g decoding enabled.

then, to enable rebar, open this app as admin, type 32, enter, and reboot (Make sure ABOVE 4G Decoding is enabled!)

@mhi sorry for the ping but here is an updated rebardxe mod for safe clr cmos.

Thank you for your help. Unfortunatelly the new bios file doesnt shown up as flashable bios :frowning: (i tryed to rename it, put to another directory but nowhere have found the instantflash)
Should i try this modgrub with the current bios i flashed before?

Currently my motherboard battery depleated, so if i switch down the power supply my bios resets…

you could try downgrading to older bios or the previous original bios (even if its outdated), then after downgrading try to flash the new bios one. or maybe just delete the “NEW” word making it Z97AVR2.21 or just make it 2.22 to differeniate the bios i posted earlier and the new modded bios i just gave, it might get the file readable too in instant flash.

Sorry i am too noob. I copyed the modGRUBShell.efi to an flash drive what is a win10 install drive.
If i boot fron that flash drive and i ask command prompt it doesnt recognize the setup_var 0x1 0x0
Probably i am doing something wrong. can u help me what?

to use modgrub, make a bootable drive like make a windows 10 ones, then rename modGRUBShell.efi to bootx64.efi, replace the bootx64.efi inside your windows installer (or rename the bootx64.efi from windows into something else) so that modgrub would load (since modgrub renamed to bootx64.efi).

Thank you for your help. The rename was missing :slight_smile:
It work perfectly. Performance increase in 3dmark not much but works:

1 Like