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
Unlocked BIOS for Zephyrus M16 2023
Last Post: nir1213
Yesterday 08:56 PM
» Replies: 0
» Views: 40
[REQUEST] Lenovo IdeaPad U330, U430 & U5...
Last Post: Dudu2002
Yesterday 02:36 PM
» Replies: 413
» Views: 140792
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
Yesterday 02:33 PM
» Replies: 40
» Views: 13615
lenovo z570 Advanced Menu Unlocked
Last Post: Brunobox99
Yesterday 10:02 AM
» Replies: 9
» Views: 6119
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: djcostyro
Yesterday 06:48 AM
» Replies: 1783
» Views: 500702
Lenovo ThinkCentre M700 10GS - Kaby Lake...
Last Post: tommi22012
Yesterday 04:42 AM
» Replies: 11
» Views: 3809
[Request] Lenovo T550 Whitelist removal
Last Post: Dudu2002
Yesterday 04:37 AM
» Replies: 5
» Views: 1171
[REQUEST] Acer PT715-51 (Triton 700) ins...
Last Post: Dudu2002
11-27-2024 10:49 AM
» Replies: 24
» Views: 12425
[REQUEST] Acer Aspire 9300 BIOS Unlock
Last Post: Geortor
11-26-2024 04:01 PM
» Replies: 10
» Views: 2249
[Request] Asus H110M-R Mainboard - Xeon ...
Last Post: kusslegyen
11-26-2024 02:04 PM
» Replies: 14
» Views: 6785
LGA771 Bios Microcode for HP dc7800 sff
Last Post: Netuser232
11-26-2024 01:27 PM
» Replies: 136
» Views: 92137
Dell Vostro 3500 full unlocked
Last Post: kamilchno
11-26-2024 10:51 AM
» Replies: 0
» Views: 115
Bios logo
Last Post: Nkosenhle
11-26-2024 10:43 AM
» Replies: 0
» Views: 111
Gigabyte AORUS 5 (KB/SB/MB) BIOS Unlock
Last Post: Dudu2002
11-26-2024 10:41 AM
» Replies: 18
» Views: 4841
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
11-26-2024 09:09 AM
» Replies: 1730
» Views: 673334
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: willow25565
11-26-2024 02:06 AM
» Replies: 1090
» Views: 452003
[REQUEST] Lenovo Thinkpad Edge E430 & E5...
Last Post: RuryGame
11-25-2024 06:23 PM
» Replies: 494
» Views: 171784
2x CPU Dell Workstation BIOS modding
Last Post: William P
11-25-2024 03:30 PM
» Replies: 0
» Views: 143
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: Dudu2002
11-25-2024 01:28 PM
» Replies: 492
» Views: 186398
[Request] ECS P6LX-A bios mod for HDD si...
Last Post: pdesrosiers
11-24-2024 11:20 PM
» Replies: 0
» Views: 391

(UEFI) Dell XPS 15z L511z modded BIOS - and HOWTO
I'm just wondering if you guys could help me understand a little bit more about UEFI. I've never set up any OS with UEFI and I'm not totally clear on how everything fits together.

My impression for the old BIOS type system is this:
Power on -> BIOS loads -> boot loader on first sector of HD (installed by the OS) -> OS loads

My impression for UEFI type system is this:
Power on -> UEFI loads -> UEFI bootloader (which is already installed from the manufacturer (edk2?)) -> OS install creates an entry in the UEFI bootloader -> OS loads

Then if someone installs something like "Clover EFI" it's just a more feature filled replacement UEFI bootloader than the one that's already installed by the manufacturer? Does the UEFI bootloader reside within memory space present on the UEFI chip itself, or is it located on the hard drive? I was under the impression it was located on the chip itself.

Also, in the case of the XPS 15z, when using the "legacy mode", the computer is still operating off UEFI except it is simply emulating the BIOS environment and you use the MBR based OS installations as usual.
find
quote
(08-11-2013, 10:55 AM)thorbsd Wrote: My impression for the old BIOS type system is this:
Power on -> BIOS loads -> boot loader on first sector of HD (installed by the OS) -> OS loads
BIOS > MBR -> PBR > BOOTLOADER > OS
(08-11-2013, 10:55 AM)thorbsd Wrote: My impression for UEFI type system is this:
Power on -> UEFI loads -> UEFI bootloader (which is already installed from the manufacturer (edk2?)) -> OS install creates an entry in the UEFI bootloader -> OS loads
UEFI > BOOTLOADER.EFI > OS
(08-11-2013, 10:55 AM)thorbsd Wrote: Then if someone installs something like "Clover EFI" it's just a more feature filled replacement UEFI bootloader than the one that's already installed by the manufacturer? Does the UEFI bootloader reside within memory space present on the UEFI chip itself, or is it located on the hard drive? I was under the impression it was located on the chip itself.
If someone *installs* CloverEFI (an emulated EFI firmware based on DUET/EDKII) it will be a case of legacy boot with emulated EFI environment. Basically obtaining hardware information from BIOS, then passing it over to a fake firmware, which resides on a HDD media. The boot process in such case is:
BIOS > MBR > PBR > boot1h > boot > Clover.efi > BOOTLOADER.EFI > OS
(08-11-2013, 10:55 AM)thorbsd Wrote: Also, in the case of the XPS 15z, when using the "legacy mode", the computer is still operating off UEFI except it is simply emulating the BIOS environment and you use the MBR based OS installations as usual.
That's correct. In fact, Dell went down this road and locked down the machine in emulated BIOS scenario from the factory as the firmware clearly has memory allocation issues. In UEFI mode runtime services fail to start, there are CPU deadlocks and firmware frequently tries to write outside the available memory regions (Fn+F2, QuickSet..).
find
quote
Thanks for the explanation, it cleared a few things up.

So UEFI booting doesn't work properly on the 15z (with the modded A12 BIOS found here)? Or more specifically, it will boot, but there will be issues once you boot into the OS?
find
quote
It wasn't meant to be in the first place so there was something that made Dell lock it down and we have now found this *Something, Something, Something, Dark Side* - it just doesn't really scale very well. When a board with proper NVRAM support would scale GNVS region memory allocation and change it based on what you set in the BIOS, on this generation of Dell GNVS remains fixed and never changes. So, when it comes to writing something into the memory space that would normally be accessible in UEFI boot it just freezes the system down to a point where you have to physically power it down from the PWRBTN because there is not address that corresponds to the destination.

UEFI install of Windows is somewhat usable if you can deal with some quirks -> http://forum.notebookreview.com/dell-xps...ost9307506 (same applies for 15z)
UEFI Clover for booting OSX is totally usable if you keep your laptop as a desktop machine, basically. Which only means that you put it to sleep more frequently, than you actually shut it down. Because with UEFI Clover shutdown is broken on SC Tiano firmware.
find
quote
And all the more I keep thinking that there must be a way to upgrade the UEFI firmware to 2.31 and beyond...

There must be someone out there who has attempted this, even if unsuccessful.
find
quote
Morning y'all - New week, new event.

Intel has just posted the new CPU microcode updates (all our i5+i7 families have been updated to 0x29) and I've patched the 15z bios microcode to support this. Two interesting things happened:

1) Windows 8 bluescreened on boot. No safe mode, auto repair could make it work. Windows 7 (and XP) worked fine. In fact I had to reboot into an emergency pen drive with W7 just to reflash the previous bios with 0x25 microcode. Note that both Linux and OSX worked fine with the new microcode.

2) Under Linux I noticed something interesting. As both Windows & Linux automatically update the microcode on boot (depending on the latest apt-get, service pack etc) all were updated (downgraded) to 0x28. However with the new microcode CPU0 and CPU1 (the two threads of the first core) were running 0x29 whilst CPU2 and CPU3 were disabled (microcode 0x00). Might be the reason why W8 wasn't too happy. Then again all geekbench scores under Linux+OSX had the same scores as with 0x28 so it might just be an anomaly on reporting.

3) I've also just realised one other thing; for those of us who run OSX we will not get the latest microcode updates unless we manually patch them into the BIOS.

Thoughts?

Nice weekend to all Smile
find
quote
(08-17-2013, 05:51 AM)jkbuha Wrote: Morning y'all - New week, new event.

Intel has just posted the new CPU microcode updates (all our i5+i7 families have been updated to 0x29) and I've patched the 15z bios microcode to support this. Two interesting things happened:

1) Windows 8 bluescreened on boot. No safe mode, auto repair could make it work. Windows 7 (and XP) worked fine. In fact I had to reboot into an emergency pen drive with W7 just to reflash the previous bios with 0x25 microcode. Note that both Linux and OSX worked fine with the new microcode.

2) Under Linux I noticed something interesting. As both Windows & Linux automatically update the microcode on boot (depending on the latest apt-get, service pack etc) all were updated (downgraded) to 0x28. However with the new microcode CPU0 and CPU1 (the two threads of the first core) were running 0x29 whilst CPU2 and CPU3 were disabled (microcode 0x00). Might be the reason why W8 wasn't too happy. Then again all geekbench scores under Linux+OSX had the same scores as with 0x28 so it might just be an anomaly on reporting.

3) I've also just realised one other thing; for those of us who run OSX we will not get the latest microcode updates unless we manually patch them into the BIOS.

Thoughts?

Nice weekend to all Smile
New microcode is known to restrict some chipset operation in order to avoid overcloaking/hard modification see http://www.bit-tech.net/news/hardware/20...ng-block/1
find
quote
Quote:New microcode is known to restrict some chipset operation in order to avoid overcloaking/hard modification see http://www.bit-tech.net/news/hardware/20...ng-block/1

thanks for the info.

then I will stick happyly to my 0x28 version, working great and no [censored] restrictions Tongue
find
quote
BTW I have achieved to get aspm (pci energy saving), by setting pcie to native under linux... (and less firmware bug) and it is a battery life savor

Still I have some firmaware bug detected by linux:
- usb controler problem:
* usb 4-1:1.0: over-current condition on port 1
* hub 4-1:1.0: over-current condition on port 2
seems upgrading the microcode of the usb controler help
- [drm] Wrong MCH_SSKPD value: 0x16040307
[drm] This can cause pipe underruns and display issues.
[drm] Please upgrade your BIOS to fix this.
- ACPI: Interpreter enabled
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20130328/hwxface-568)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20130328/hwxface-568)
*Clearly a acpi bug *

May we test bios with https://code.google.com/p/linuxfirmwarek...runk/BUILD

Moreover why not starting to implement coreboot ?

Bastien

(08-27-2013, 06:11 AM)kasar Wrote:
Quote:New microcode is known to restrict some chipset operation in order to avoid overcloaking/hard modification see http://www.bit-tech.net/news/hardware/20...ng-block/1

thanks for the info.

then I will stick happyly to my 0x28 version, working great and no [censored] restrictions Tongue

The good question is why windows modify this forbidden register after lock...

BTW I believe that firmware upgrade render these register read only only after upgrade so you could overclock but before upgrading the firmware (that correct a critical security bug unfortunatly not documented that allow to bypass paging)
find
quote
Nice work @broucaries - rep added. I had missed this, so thanks for the heads up. @kasar - the microcode patch is applied at OS level as well (Win/Linux) so eventually your proc will get updated to 0x29 as well - already done thru Linux and soon to follow via service update on windows.
find
quote


Forum Jump:


Users browsing this thread: 57 Guest(s)