Despiste have passed 12 hours following the guide i am stuck on the Padding problem when after aplying the patches to the bios after adding the Rebar module, the bios pading files gets messed up.
Would be great to have some help since all the standard solutions are not working (whit the other tool MMTool), and i canot understand from the infomations that i found how to fix the padding bug by manualy editing whit an hex editor, explanations are quick and dont make any sense in the way the wrote them.
I’m currently trying to mod the Bios for my ASUS B250M-Plus using the ReBarUEFI guide and tools.
I used the UEFITool to handle the .ffs file and insert the DXE driver and UEFIPatch to apply the patches.txt file.
The output of UEFIPatch was:
UEFIPatch_0.28.0_linux_x86_64]$ ./UEFIPatch PRIME-B250M-PLUS-PATCHED.CAP patches.txt -o B250M-PATCHED.CAP
parseImageFile: Aptio capsule signature may become invalid after image modifications
patch: replaced 8 bytes at offset 88B1h 81E10080000033C1 -> 9090909090909090
patch: replaced 8 bytes at offset 88B1h 81E10080000033C1 -> 9090909090909090
Image patched
I tried to next follow the padding issues part of the ReBARUEFI guide, but I can’t seem to figure out if I have the padding issue using the screenshots in the guide. That’s problem #1. Perhaps I’m just not understanding where I have to look.
My second problem is, I’m unsure if I need to do anything with DSDT on this board. My board doesn’t seem to fall under any categories listed as required in the DSDT part of the guide.
I’m on Linux so I ran sudo dmesg | grep "root bus resource" per the guide.
The output was:
[ 0.183815] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.183817] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 0.183818] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 0.183820] pci_bus 0000:00: root bus resource [mem 0xc8000000-0xf7ffffff window]
[ 0.183821] pci_bus 0000:00: root bus resource [mem 0x2000000000-0x2fffffffff window]
[ 0.183822] pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfe7fffff window]
[ 0.183823] pci_bus 0000:00: root bus resource [bus 00-3e]
I’m unsure if my line ending in ffffff indicates I don’t need to mess with DSDT as per the ReBarUEFI guide, but I certainly see a bunch of f’s lol.
Can anyone offer an insight on these two issues? Assuming, I don’t need to touch the DSDT stuff, if my padding is correct, I should then only have to flash the Bios to get ReBar?
Hi,
I tried to mod my bios for resizable bar but my skills are too limited so if someone could help me it would be great. Here is the original bios 2104.
Thanks for your help. P8Z77-V-DELUXE-ASUS-2104.zip (4.5 MB)
I’ve been trying to setup RebarDxe for quite some time now and it just doesn’t work for me, I am still not sure why. I went through every single step from Github and it never worked. Always the same outcome - laptop stays in some kind of limbo mode, it doesn’t try to boot. When I press the shutdown button - fans ramp up for 5 seconds and it turns off. I also tried NvStrapsReBar - same result. My laptop is Dell Precision M4800, I have a Quadro T1000 GPU in it.
I got my hands on a Dell Precision T1650 (C216 chipset) which is the upmarket version of Dell Optiplex 7010 (Q77 chipset). Bios wise they are basically the same so what I am asking about should apply to both.
I don’t yet have a BAR enabled GPU but am doing this as a test on the viability of the system.
The machine has hidden 4G decoding that can be enabled via modGRUBShell and it has no problems applying the Ivy Bridge UEFIPatches EXCEPT 16GB MMIO region patch.
The result after applying 4G decoding and rest of the patches is Large Memory has a strange size: 0x61E5FFFFF. The machine has 8GB ram installed.
I took a look in Ghidra but can’t figure it out. The Dell implementation does not look to be 16GB limited but has some strange calculation going on. I think the interesting part is at 0x62a offset, I checked an Asus board with Z77 chipset where the MMIO patch is applied to compare but I can’t quite figure it out for the Dell. I attached the 8D6756B9-E55E-4D6A-A3A5-5E4D72DDF772 efi body: Section_PE32_image_PciHostBridge_PciHostBridge_body_T1650.zip (6.0 KB)
I might have worded it bad - the MMIO patch cannot be applied, there is no matching pattern. Where is the Dell one? As I already have the module in Ghidra I might as well take a look if it is the same/adaptable. Is the DSDT mod safe to do without the MMIO patch - don’t really have a comfortable setup to reflash a brick…