Forum RSS Feed Follow @ Twitter Follow On Facebook

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

Username:


Password:





[-]
Latest Threads
Acer Predator Helios 300 N17C1 G3-572-79...
Last Post: chadreuel
Today 11:39 AM
» Replies: 0
» Views: 49
[REQUEST] Acer Nitro 5 AN515-56 BIOS Unl...
Last Post: Dudu2002
Today 07:25 AM
» Replies: 5
» Views: 876
[REQUEST] Lenovo Y50-70 (9ECNxxWW) BIOS ...
Last Post: Dudu2002
Today 03:52 AM
» Replies: 1972
» Views: 661422
[Request] Acer Aspire Z1620 (h61h aio v1...
Last Post: spingernexx
Yesterday 06:09 PM
» Replies: 2
» Views: 139
[REQUEST] Lenovo G505 (82CNxxWW) Whiteli...
Last Post: khaos
Yesterday 04:15 PM
» Replies: 155
» Views: 55167
Asus Prime b250m plus, RAM compatibility
Last Post: Slayery777
Yesterday 06:23 AM
» Replies: 0
» Views: 136
[REQUEST] Bios Unlock Request Clevo W230...
Last Post: happycrazyman
04-23-2024 03:53 PM
» Replies: 0
» Views: 114
Rog Strix B650E-F BIOS File Extraction
Last Post: panmetrix24
04-23-2024 11:25 AM
» Replies: 0
» Views: 130
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: Pipo89
04-23-2024 06:47 AM
» Replies: 236
» Views: 69609
[REQUEST] Acer Nitro 5 AN517-41 BIOS Unl...
Last Post: onetapxdf
04-23-2024 03:37 AM
» Replies: 11
» Views: 1353
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: Dudu2002
04-23-2024 03:14 AM
» Replies: 203
» Views: 70580
[REQUEST] Lenovo V570(c) (44CNxxWW) BIOS...
Last Post: d3m3n7r
04-22-2024 05:20 PM
» Replies: 18
» Views: 11176
[REQUEST] Lenovo Y520-15IKBN (4KCNxxWW) ...
Last Post: ati90
04-22-2024 05:02 AM
» Replies: 64
» Views: 37005
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: SteamTug
04-22-2024 04:24 AM
» Replies: 1734
» Views: 545661
[REQUEST] Lenovo G410 (79CNxxWW) Whiteli...
Last Post: Dudu2002
04-22-2024 03:58 AM
» Replies: 53
» Views: 10795
Asus h110m-a & xeon e3-1280v5
Last Post: Brutoloco
04-21-2024 08:22 PM
» Replies: 16
» Views: 572
[REQUEST] LG GRAM 14T990 Unlock request
Last Post: riclausk
04-21-2024 12:15 PM
» Replies: 16
» Views: 4262
[REQUEST] SLIC 2.1 for ASRock 880GM-LE F...
Last Post: amijim
04-21-2024 10:27 AM
» Replies: 2
» Views: 136
[REQUEST] Dell Alienware 15 R3 BIOS Unlo...
Last Post: jason.exe
04-21-2024 03:44 AM
» Replies: 1
» Views: 188
[REQUEST] Samsung NP450R5G unlock hide s...
Last Post: magg
04-21-2024 12:54 AM
» Replies: 0
» Views: 204

(UEFI) Dell XPS 15z L511z modded BIOS - and HOWTO
(04-30-2014, 09:14 AM)Brabbelbla Wrote: When I added the boot option. It's so simple, can't think of what was wrong:

bcfg boot add a [firmare volume]:\C57[blablabla...].efi "Internal Shell"

I know what's wrong - dmazar's shell thinks that internal image is not executable

Other shells do not have bcfg command built in, so we were tied up to dmazar's shell. I've decided to fix this issue Smile

I've built bcfg as standalone app , and now we can use any shell to add boot records

It deppends on UnicodeCollate interface , so you need to get one , because we dont have any installed , and I built one for English language. It should be loaded prior using bcfg


Attached Files
.zip   BcfgApp.efi.zip (Size: 32.37 KB / Downloads: 9)
.zip   EnglishDxe.efi.zip (Size: 6.57 KB / Downloads: 6)
find
quote
Nice one Big Grin

Btw, I took a look at a UEFI RAID driver. I highly doubt the one from win-raid will work, but I was mistaken in my previous post. It was not some Lenovo machine, it was the Inspiron 7720 that has a module called RaidEfiRom in it, which, given it comes from Dell from an SCT firmware (UEFI 2.31 though), I give higher chances of working. There were two GOP drivers present, too, and a UEFI driver for the ethernet NIC. I gave RaidEfiRom a first try, but it didn't load. If you are interested, the FFS structure is attached.


Attached Files
.zip   RaidEfiRom.zip (Size: 73.45 KB / Downloads: 3)
find
quote
(05-03-2014, 03:14 PM)Brabbelbla Wrote: Nice one Big Grin

Btw, I took a look at a UEFI RAID driver. I highly doubt the one from win-raid will work, but I was mistaken in my previous post. It was not some Lenovo machine, it was the Inspiron 7720 that has a module called RaidEfiRom in it, which, given it comes from Dell from an SCT firmware (UEFI 2.31 though), I give higher chances of working. There were two GOP drivers present, too, and a UEFI driver for the ethernet NIC. I gave RaidEfiRom a first try, but it didn't load. If you are interested, the FFS structure is attached.

how about to take a look at alienware's m17x r3 firmware - it has almost identical hardware and RAID enabled from the box

Tested bcfg with ffs driver - it can'not add boot entry because it cant get the path for it
will try to patch bcfg
find
quote
M17x R3 has Insyde firmware, and RAID is handled by the Intel OROM. I immediately tried to add a driver entry with BcfgApp, it hanged. It is not really important, maybe our firmware version lacks support for it, but I thought I'd tell.

Right, messed a bit with RaidEfiRom. I replaced SystemIsaFloppy with it, but had to sacrifice the DXE dependency section that belongs to RaidEfiRom. SystemIsaFloppy has no such section, and adding it would prevent the driver to load entirely.

The effects are strange but vaguely promising. I enabled RAID mode per the usual setting. Now, however, the OROM does not run immediately at boot. I can boot the UEFI shell without it having run. There the hard drives still report as SATA devices, instead of SCSI with the OROM, but with a changed adress. What used to be Sata(0xN,0x0,0x0) now is Sata(0xN,0x8000,0x0) and the optical drive has become Sata(0x20,0x8000,0x0) instead of Sata(0x5,0x0,0x0). When I want to enter setup or the boot menu, the OROM does run. What happens next depends whether SATA port 5 (optical drive) is enabled or not. When it is, the system hangs and I have to reset CMOS to get in again. When it isn't, I can enter them. Then, despite never seeing any new tab appear anywhere, when I choose save settings in the setup, I get an error popup:

Quote:Intel® Rapid Storage Technology
Failed to save storage: RstHiiConfig. Status: 0x3
Press ENTER to continue

So, things to try:
  1. Destroy the OROM, see what the UEFI driver does
  2. Find a module to replace which has a DXE dependency section
  3. Get to know more about variable stores and how the RAID settings are accessed on an Inspiron 7720
Enough for today. Any thoughts?

ADDITION: The RaidEfiRom from the Inspiron 7720 is just the Intel® RST 11.6.0.1702 SATA Driver, which is posted identically at Win-RAID. So that road is open.

I managed to identify some blank settings on the Advanced page. Looking at the unicode strings between after Express charge there are four settings between that option and the references to the unlocked advanced menus. The first of these settings controls the Wireless toggle, with eight options. All the blank settings have no options, but the first one after Express Charge has a default value of 0x7, indicating (at least) eight options. It was kind of a guess, but it was correct.

So, these settings allow one to control the behaviour of the Wireless toggle and enable/disable the Bluetooth, WLAN and WWAN devices at firmware level. At first sight, setting the Wireless toggle to none might 'solve' that problem with UEFI boot. I don't have a WWAN device, disabling it (also) disables the Ethernet controller. The Bluetooth setting depends on the WLAN setting, Bluetooth cannot be enabled with WLAN disabled. The reverse does work.

   
   
find
quote
Looks very promising !
My thoughts :
About driver loading - I'm working on a dxe driver which will load other drivers from firmware, and it will solve dependency and inserting multiple drivers problems

I'm currently working on utility that enables to add any built in image to boot menu

UPDATED:

I did it ! It works !!!! I've added internal shell into boot menu ! And now we can boot any image from firmware
I need couple more days to rewrite as driver and embedd into firmware
next step is to load internall drivers. My plan is - get rid of diagnostics orom , to free up some space, embedd additional drivers , load this drivers at start

about UefiRaid driver I suppose it is required to unload SataDriver (or not to load it)

@brabbelbla as you requested, next I will try to patch video driver to load native resolution (I have base driver sourcess and it seems like easy to do, but as usual, it's not Smile )

How about OS X built in patches (Acpi Tables , Powermanagement , etc) ? Smile
find
quote
Good job Smile I am waiting for it, I am getting sick of inserted drivers not loading for apparently no reason.

Some tiny progress with the UEFI RAID driver. It seems it is not necessary to unload the original drivers. I did destroy the legacy OROM though, and now I can enter setup and the boot menu with the optical drive enabled. Functionality is much the same, but I managed to create a reference to the Intel RST formset from within the Advanced form. That works, but so far it ends there. When I follow any of the references on that screen, the form browser / setup utility crashes. I have to say I haven't managed to initiate any legacy boot procedure so far with this driver, I could get into UEFI Clover though. OS X refuses to boot as the boot device can't be found, as is the case with the legacy OROM, too, so something is happening for sure.
   

About the resolution, maybe I was wrong to ask. I don't know what you were planning, but I noticed that entering setup or the boot menu causes a resolution change, I guess from 800x600 to 640x480. So I guess regardless of what resolution you make it run in at boot, it will be changed anyway to something lower. Anyway, I think replacing the VBIOS with the GOP drivers from the Inspiron 7720 (PhxGopDxe and SnbGopDriver) would be nice. I tried replacing some useless flash device drivers with them, but they wouldn't load. Maybe the key for the resolution problem lies in some other module. The formbrowser, the setup module, I don't know, no obvious finds there.
find
quote
As far as I understand UEFI RAID is a pure UEFI driver and it will not work fot the legacy boot
But I'm not sure about it

What tools do you use ?

I have a sources of intel's referance firmware for 6/7 series chipsets - may be it will help you to find out what you should look for

@kasar - I think you will be interested in ME part of it Wink
find
quote
Hmmm, I'd think the UEFI RAID driver does not control the way the system boots. The hard drives remain reported as SATA devices, which are legacy bootable on AHCI mode. But we will just see.

The only tools I have ever used are PhoenixTool and Donovan's Universal IFR Extractor.

I am interested in those sources for sure, taking a look never does any harm. My programming skills are... cough... limited, though Big Grin

For with the older version of the UEFI RAID driver, I could get an error message that the RstHiiConfig could not be saved, I thought that might be the case this time, too. Dumping NVRAM reveals that indeed RstHiiConfig is not there. RstSataV and RstSataF do exist though and belong to the same driver. Is there any way to check NVRAM capacity? Could it be full? If I am counting somewhat correctly, the used space is well on it's way to 16MB. As the BIOS chip is 32MB, of which 4MB is used for the BIOS image, there should be more...

EDIT: It shouldn't be full. The shell creates an enormous amount of variables, way more than what RstHiiConfig should be (113 bytes, decimal). And besides, I forgot some orders of magnitude. Used space is well on its way to 16kB, not 16MB.
find
quote
(05-04-2014, 05:59 PM)Brabbelbla Wrote: Hmmm, I'd think the UEFI RAID driver does not control the way the system boots. The hard drives remain reported as SATA devices, which are legacy bootable on AHCI mode.
It was not about the "control the boot process" , the driver must create legacy visible device and emulate it as if it was bios

Intel's reference sourcess

magnet:?xt=urn:btih:bd8b50ebfc73b4f0ea53bda4f7f6a1861b1eb19c&dn=leaked_bios&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80
find
quote
Those are from AMI, not Intel. Anyway only the newest version there uses a UEFI RAID (they say SATA) driver, but the actual Intel driver is there only in compiled format.

The problem certainly isn't NVRAM capacity. I manually created the RstHiiConfig variable store, initially with all zeroes. The data doesn't get changed, though, and the problem persists. I can enter for instance the Create Volume submenu, by creating a reference to it from some other page. There, however, the fun stops. There are many variable checks there for suppress statements, which with only zero in the store all evaluate to zero, or more likely it doesn't access the store at all.
find
quote


Forum Jump:


Users browsing this thread: 13 Guest(s)