[Release] Resizable BAR BIOS EFI Module

oh no :scream:

you need to leave everything unplugged for a few minutes after cmos bat remove

Hey, tried reaching to you on Discord but having troubles with SecureBIOS. I was able to use a python script to extract the BIOS from the dell exe and use uefi tool and patcher on it and have a .bin file. How do I go about flashing this to my 7820? I heard something about shorting a jumper but cannot find any information online

Hi sorry not been around yes you need to ve in service mode to flash fron the pc or get an external flasher


Guys, help me flash REBAR in Asus Strix x399e gaming (Ryzen WX2990).
In the Bios settings 4g is enabled, but the system says that it is not.
I tried to build the firmware myself, but then I get a security error when flashing the firmware.

Very disappointed in Asus, who never added this feature…while other manufacturers included it a long time ago.

@LiTeN
Welcome to the Win-Raid Forum!

This problem is a BIOS Flashing one (look >here<) and has nothing to do with the Resizable BAR EFI module.


Oh…I forgot that the firmware was updated and it didn’t understand the command.

Everything was done, although it was funny… now the computer beeps several times, 1 long and 3 short, and takes a little longer to start up.

I saw that some even displayed the REbar menu in Bios (so that you could disable it), is this very difficult to do?

Hi,

I try to add rebar support to my bios following the guide on github from xCuri0, but the computer doesn’t except the new bios.

Below my configuration:

Machine:
Type: Unknown Mobo: ASRockRack model: X399D8A-2T
serial: UEFI: American Megatrends v: P1.30
date: 08/08/2019
CPU:
Info: 16-core AMD Ryzen Threadripper 1950X [MT MCP] speed (MHz): avg: 2200
min/max: 2200/3400
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 32 [Radeon RX 7700 XT /
7800 XT] driver: amdgpu v: kernel
Device-2: Intel Battlemage G21 [Intel Graphics] driver: xe v: kernel

I’ve tried the bios flash option and through the BMC, but both doens’t except it and I got the following feedback:

Secure Flash check fail!

Any idea how I can get past this or what I’m doing wrong?

Thanks

Hello @Gafry ,

I would email the ASRock support team. They are very good at responding to requests.

I recently requested a BIOS fix for an SSD incompatibility and they responded very quickly and then sent a beta bios within a week.

Fill in the form as best you can, detailing that you would like Resizable BAR added to support your new GPUs

https://tw.asrock.com/events/tsd.asp?kind=MB

If they can’t, do it “officially” then we can try unofficially.

Good luck

-68k

Thanks -68k,

I’ve send a support request to ASRockRack using there web form.

Greetings,
Gafry

I’ve got a reply from ASRockRack more or less saying we won’t provide you with a new bios:

Thank you for contacting ASRock Rack support.
Sorry, I checked with Hq but the latest lab X399D8A-2T BIOS even does not support resizable bar.
This is an EOL board and as such it will be difficult to provide a new BIOS for old model.

I’ll give it a try with this extends the live for the board for me, but I have no high expectations…

:cry:

I will take a look at the latest file for your board.

I’ll send a PM later

-68k

I have an older GA-X99-UD5 Wifi, I have followed the guide on your GH. I have gotten to the part where I am searching for “4G Decod” in the patched bios (although only the Broadwell patches applied) and I cannot locate any variation listed… The closest I have is PFMMIO which is not the same. Can someone help me out with getting resizable bar on this… I am trying to get this thing running an A770 for my wife for XMAS

Hello @LordRelic,

If you can’t get Above 4G decode, you can try to add the ReBAR DXE to the latest BIOS file.

Then try to increase the BAR size

512MB
1GB
2GB

You might not get the full 16GB, but you might notice improvements in performance.

If you se a BAR size that prevents the system from booting, just reset the CMOS.

Good luck

-68k

So this is strange… Above 4G Decod shows as enabled in GPUz but Resizable bar does not… and I cannot find an option to enable it even after extracting the IFR and searching… Not sure what to do.

I also only see 1 Bar and it is 256MB

Unfortunately this BIOS does not work, my computer restart every 2 seconds.

I created a modified version based on the BIOS provided by fidoboy LINK (I replaced the ffs drivers NvStrapsReBar with ReBarDxe and NvmExpressDxe_4 with NvmExpressDxe_5). ReBAR works, but the Intel Management Engine and built-in LAN doesn’t work.

My BIOS: LINK

UPDATE:
Maybe there is something wrong with my EPPROM programmer oryou have to set the Optimized Defaults settings in the BIOS… now it works.

Blockquote

Hey, I was looking to see if anyone can help me mod the MSI Z97S SLI Krait Edition for resize bar support? I was attempting to upgrade my aging PC with a slightly better GPU, but didn’t realize sizebar was a thing and i’m having a lot of problems with my intel arc a750 i’m hoping having resize bar enabled will help.

Hi Guys

Hope one of you can help me. :slight_smile:

I am using an AsRock Z170 Extreme 4, and an RTX 3070.
I cannot for the life of me get Re-BAR to enable.

  1. I used a fresh bios from AsRock (v7.5).
  2. Added in the DXE drived
  3. Did the UEFI patch.
  4. Flashed the new bios.
  5. Used the re-bar state program.
  6. Restarted.

I have tried using both UEFI tool and MMtool to create the modified BIOS and neither have worked. I can see the driver included in the BIOS in UEFI tool.

Also patching without using the MMtool method results in the bios flasher failing to pick up the bios file.

Can’t see where I have gone wrong?

Setting the Re-BAR size works in the tool but even after restarting twice, and clearing the CMOS it still isn’t working.
I have attached the fresh copy and my modified copy of the bios.
modified_bios_asrock_z170e4.zip (7.7 MB)
fresh_bios_asrock_z170e4.zip (7.7 MB)

If anyone can help it would be greatly appreciated.

-mcg

Greetings @mcg ,

Does the 3070 need a new VBIOS?

https://nvidia.custhelp.com/app/answers/detail/a_id/5165

Good luck

-68k

Thank you so much 68K!

I totally forgot about having to flash the new VBIOS to the GPU.

Thanks again
-mcg