Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
[REQUEST[ Acer Nitro 5 AN515-46 BIOS Unl...
Last Post: lifeislife93
Yesterday 03:03 PM
» Replies: 7
» Views: 6416
Add CPU support Lenovo M715s
Last Post: PapuhDave
Yesterday 12:35 PM
» Replies: 9
» Views: 14047
Lenovo IdeaPad Gaming 3 15IAH7 BIOS unlo...
Last Post: yigmayo
10-04-2026 03:07 PM
» Replies: 0
» Views: 146
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: kolnew
10-04-2026 08:48 AM
» Replies: 653
» Views: 424574
Dell Optiplex 5070 SFF i9 9900K
Last Post: DeathBringer
10-04-2026 01:43 AM
» Replies: 4
» Views: 3659
Extracting BIOS - Samsung Galaxy Book 3 ...
Last Post: mirroreduser
10-02-2026 09:12 AM
» Replies: 0
» Views: 330
[REQUEST] HP Pavilion g6-1b87cl WiFi Whi...
Last Post: AkiNakano6055
10-02-2026 12:32 AM
» Replies: 0
» Views: 238
Asrock Z890-C Bios Mod
Last Post: xul8tr
10-01-2026 12:51 PM
» Replies: 0
» Views: 348
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: frozik1990
10-01-2026 11:55 AM
» Replies: 1735
» Views: 1224903
[REQUEST] Acer Aspire VN7-791(G) BIOS Un...
Last Post: Whiter
10-01-2026 06:19 AM
» Replies: 92
» Views: 119212
Modifying Aptio V BIOS to disable non-fa...
Last Post: KappaDev
09-30-2026 09:16 PM
» Replies: 0
» Views: 302
[Unlocked] Acer Aspire One D255E
Last Post: ananinami
09-29-2026 01:26 PM
» Replies: 3
» Views: 6820
FANPEEC S210 i9-10980HK
Last Post: geometryczny@tlen.pl
09-29-2026 07:14 AM
» Replies: 0
» Views: 444
[REQUEST] Lenovo Z410 & Z510 (8DCNxxWW) ...
Last Post: anntoxx
09-28-2026 02:28 PM
» Replies: 504
» Views: 309843
[REQUEST] Lenovo Y70-70 (9ECNxxWW) White...
Last Post: Dooglas
09-27-2026 11:31 AM
» Replies: 92
» Views: 62010
[REQUEST] Lenovo E31-70 (AFCNxxWW) BIOS ...
Last Post: kristian6237455372
09-27-2026 11:04 AM
» Replies: 2
» Views: 660
[REQUEST] HP dv6-6c51ca whitelist remova...
Last Post: johnyn2005
09-26-2026 12:52 PM
» Replies: 20
» Views: 20321
[REQUEST] Lenovo B590 (H5ETxxWW) Whiteli...
Last Post: katri
09-26-2026 02:03 AM
» Replies: 281
» Views: 169448
[Request] Dell Optiplex 3040M 7th Gen CP...
Last Post: DeathBringer
09-25-2026 12:35 AM
» Replies: 10
» Views: 6393
[Untested] Dell OptiPlex 3040 H110 – Cof...
Last Post: gonza20889
09-23-2026 02:02 PM
» Replies: 0
» Views: 867

Lenovo M920s - resizable BAR mod?
#1
Greetings,

I've completed the mod that would allow the stock BIOS to support resizable BAR for the Intel ARC A380 that I have installed. (see: https://github.com/xCuri0/ReBarUEFI)

I am currently stuck on not being able to flash the modified BIOS. The stock Lenovo tools will not allow it, which I kind of figured would be the case. Does anyone know if there is some way around it? I've researched and found that maybe Intel FPT is what I'd be looking to use, but I am not 100% certain that's the case and really don't want to brick the machine. Confused

Thanks,
Digits

System Specs:
Intel i5-8600/32GB Crucial DDR4/512GB TeamGroup NVME/2TB TeamGroup SSD/Sparkle Intel ARC A380 - running Fedora 39.
find
quote
#2
(03-30-2024, 12:51 PM)digits Wrote: I am currently stuck on not being able to flash the modified BIOS. The stock Lenovo tools will not allow it, which I kind of figured would be the case. Does anyone know if there is some way around it? I've researched and found that maybe Intel FPT is what I'd be looking to use, but I am not 100% certain that's the case and really don't want to brick the machine. 

This Thread is Google Hit #1 for "m920s resizable bar", so i thought i'll add my failed attempt here. Maybe it'll help others, maybe someone might find another way.


- used the USB Drive Package, UEFI M1UKT77A/1.0.0.119  25 Apr 2024
- successfully Inserted the ReBarDxe Module to the PciBus Module
- used UEFIPatch with the ReBarUEFI projects patches.txt -> none were applicable
- tried to enable hidden 4G decoding -> no hidden option
- the UEFI does not provide such Option, but i flashed it anyways 
-- to answer digits' question: format a flash drive to fat32, put all content of m1ujt77usa.zip onto it's root, replace the imageM1U.ROM with the modified, boot from it. After 2 promts it will start flashing. 
- Result: ResBar is not working

- It meets the following criteria in DTST patching section:
| Systems without 4G decoding even in hidden settings, this fix will only work in Linux for them though (atleast with GPUs)
- Tried to find the GUID for DSDT modification, no matches

Gave up at this point. Good luck to the next guy, i'd be happy to find your mail in my inbox Wink
find
quote
#3
(09-29-2024, 01:33 AM)There is a hidden GPU option for 4G decode. Wrote:
  • You have to search for  "Above 4G" and you will come up with:
  1. 1) "Memory Remap" and Edit:Guide says not to mess with Memory Remap as it is not the same. 
  2. 2)"Above 4GB MMIO Bios assignment"
  • You then follow the modGrubShell instuctions to enablethe second of these. After  the second of these , GPU-Z shows 4G encoding enabled. Edit:GPU-Z can't really tell if 4G encoding is enabled.
(03-30-2024, 12:51 PM)digits Wrote: I am currently stuck on not being able to flash the modified BIOS. The stock Lenovo tools will not allow it, which I kind of figured would be the case. Does anyone know if there is some way around it? I've researched and found that maybe Intel FPT is what I'd be looking to use, but I am not 100% certain that's the case and really don't want to brick the machine. 

This Thread is Google Hit #1 for "m920s resizable bar", so i thought i'll add my failed attempt here. Maybe it'll help others, maybe someone might find another way.
- used the USB Drive Package, UEFI M1UKT77A/1.0.0.119  25 Apr 2024
- successfully Inserted the ReBarDxe Module to the PciBus Module
- used UEFIPatch with the ReBarUEFI projects patches.txt -> none were applicable
- tried to enable hidden 4G decoding -> no hidden option
- the UEFI does not provide such Option, but i flashed it anyways 
-- to answer digits' question: format a flash drive to fat32, put all content of m1ujt77usa.zip onto it's root, replace the imageM1U.ROM with the modified, boot from it. After 2 promts it will start flashing. 
- Result: ResBar is not working
- It meets the following criteria in DTST patching section:
| Systems without 4G decoding even in hidden settings, this fix will only work in Linux for them though (atleast with GPUs)
- Tried to find the GUID for DSDT modification, no matches
Gave up at this point. Good luck to the next guy, i'd be happy to find your mail in my inbox Wink
find
quote
#4
So rather than mod the bios, I just did a bit of kernel hackery and made a patch which fixes this in the Linux kernel.  Apply the patch to your kernel, compile & install it with a kernel command line parameter of `pci=realloc=on` ... This enables Intel ARC resizable BAR without UEFI hackery on the C621 / Lenovo P920:

https://github.com/ben-efros/grimtickle-...bars.patch

Code:
b2:00.0 VGA compatible controller: Intel Corporation DG2 [Arc A380] (rev 05) (prog-if 00 [VGA controller])
        Subsystem: ASRock Incorporation Device 6004
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin ? routed to IRQ 410
        NUMA node: 1
        IOMMU group: 21
        Region 0: Memory at e5000000 (64-bit, non-prefetchable) [size=16M]
        Region 2: Memory at 28000000000 (64-bit, prefetchable) [size=8G] <<<<<<< YAY!!!!!!!!!!!!!!!!!!!!!!
        Expansion ROM at e6000000 [disabled] [size=2M]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express (v2) Endpoint, IntMsgNum 0
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 0W TEE-IO-
                DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1
                        TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range B, TimeoutDis+ NROPrPrP- LTR+
                        10BitTagComp+ 10BitTagReq+ OBFF Not Supported, ExtFmt+ EETLPPrefix-
                        EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
                        FRS- TPHComp- ExtTPHComp-
                        AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
                        AtomicOpsCtl: ReqEn-
                        IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
                        10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                LnkCap2: Supported Link Speeds: 2.5GT/s, Crosslink- Retimer- 2Retimers- DRS-
                LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
                        Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                        Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
                        EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
                        Retimer- 2Retimers- CrosslinkRes: unsupported
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit+
                Address: 00000000fee00078  Data: 0000
                Masking: 00000000  Pending: 00000000
        Capabilities: [d0] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [100 v1] Alternative Routing-ID Interpretation (ARI)
                ARICap: MFVC- ACS-, Next Function: 0
                ARICtl: MFVC- ACS-, Function Group: 0
        Capabilities: [420 v1] Physical Resizable BAR
                BAR 2: current size: 8GB, supported: 256MB 512MB 1GB 2GB 4GB 8GB
        Capabilities: [400 v1] Latency Tolerance Reporting
                Max snoop latency: 0ns
                Max no snoop latency: 0ns
        Kernel driver in use: i915
        Kernel modules: i915, xe
find
quote


Forum Jump:


Users browsing this thread: 3 Guest(s)