xCuri0 / ReBarUEFI

Resizable BAR for (almost) any UEFI system
MIT License
1.29k stars 57 forks source link

ASUS H87I-PLUS Can't flash modified BIOS; Security verficiation failed. #121

Closed qauff closed 3 months ago

qauff commented 3 months ago

System

Description My ASUS motherboard doesn't support BIOS Flashback, so I attempted to flash via the BIOS interface (ASUS EZ Flash 2 Utility v02.00). When I try to flash the modified BIOS however, I get a Security verification failed. error.

I'm not sure how to bypass this security feature. I've tried another method using the ASUS DOS bupdater.exe, but I get the same issue, and I can't even do a BIOS backup. I have Secure Boot set to Other OS, there's no Disabled state from what I can tell.

Does this mean I'm SOL on getting Resizable BAR enabled on my motherboard?

Specifications: https://dlcdnets.asus.com/pub/ASUS/mb/LGA1150/H87I-PLUS/E8210_H87I-PLUS.pdf

4G decoding doesn't seem to be enabled or available on my motherboard. I tried to find the 4G Decod or Above 4G but only seem to find Memory Remapping.

This is the output of lspci -v of my system:

03:00.0 VGA compatible controller: Intel Corporation Device 56a6 (rev 05) (prog-if 00 [VGA controller])
    Subsystem: ASRock Incorporation Device 6007
    Flags: bus master, fast devsel, latency 0, IRQ 28
    Memory at f6000000 (64-bit, non-prefetchable) [size=16M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Expansion ROM at f7000000 [disabled] [size=2M]
    Capabilities: [40] Vendor Specific Information: Len=0c <?>
    Capabilities: [70] Express Endpoint, MSI 00
    Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit+
    Capabilities: [d0] Power Management version 3
    Capabilities: [100] Alternative Routing-ID Interpretation (ARI)
    Capabilities: [420] Physical Resizable BAR
    Capabilities: [400] Latency Tolerance Reporting
    Kernel driver in use: i915
    Kernel modules: i915

This is the output of dmesg | grep "root bus resource":

[    0.217132] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.217135] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.217137] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000dffff window]
[    0.217138] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xfeafffff window]
[    0.217140] pci_bus 0000:00: root bus resource [bus 00-3e]
Daishuku commented 3 months ago

Some other guy told me, ASUS BIOS.rom has their own header that design for EZ Flash, need convert to .cap to remove header, maybe the the main factor cause UEFI tools ruin ASUS motherboard.

qauff commented 3 months ago

Some other guy told me, ASUS BIOS.rom has their own header that design for EZ Flash, need convert to .cap to remove header, maybe the the main factor cause UEFI tools ruin ASUS motherboard.

@Daishuku Ah so that means I'm probably SOL then?

xCuri0 commented 3 months ago

There is no reason for you to flash BIOS if you use Linux, all you have to do is the Linux DSDT fix where you add a QWordMemory entry which the wiki explains