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
Foxconn 865G7MF Pinmodded Xeon Support
Last Post: Jackal1983
Today 05:08 PM
» Replies: 19
» Views: 780
Asus EEEPC 1015PN enable 64 bit operatio...
Last Post: pathickel
Today 12:10 AM
» Replies: 0
» Views: 141
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: PhySix66
Yesterday 05:05 PM
» Replies: 1775
» Views: 835971
[REQUEST] Lenovo B590 (H5ETxxWW) Whiteli...
Last Post: Cokeef
Yesterday 01:57 PM
» Replies: 280
» Views: 130418
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: DeathBringer
Yesterday 10:37 AM
» Replies: 128
» Views: 129693
Toshiba C855 replacement battery problem
Last Post: Rad25
Yesterday 09:45 AM
» Replies: 0
» Views: 93
CSM unlock Lenovo Ideapad Slim 3
Last Post: mario011
Yesterday 09:36 AM
» Replies: 0
» Views: 110
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: winged
Yesterday 07:32 AM
» Replies: 498
» Views: 258160
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: flyingscott
11-15-2025 01:02 PM
» Replies: 652
» Views: 340126
[Request] Microcode support on cpu A8 76...
Last Post: boblemagnifique
11-15-2025 07:17 AM
» Replies: 0
» Views: 160
New Members Say Hi Here
Last Post: boblemagnifique
11-15-2025 06:14 AM
» Replies: 162
» Views: 265668
Lenovo G460 G560 Z460 Z560 NWL ADV MC
Last Post: ArkuS
11-14-2025 09:37 AM
» Replies: 10
» Views: 6825
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Dudu2002
11-14-2025 03:45 AM
» Replies: 139
» Views: 100145
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
11-14-2025 03:43 AM
» Replies: 601
» Views: 352877
HP Elitebook 8540w Microcode for I7 920X...
Last Post: blackcat1996@
11-14-2025 03:25 AM
» Replies: 7
» Views: 552
ASUS X501A CPU 1000M > 3210M upgrade cl...
Last Post: ngocthienta
11-12-2025 11:16 PM
» Replies: 5
» Views: 2906
Help Acer Aspire 15
Last Post: mvlaurentiu
11-12-2025 06:41 PM
» Replies: 0
» Views: 421
[REQUEST] Acer Exstensa 5220 cpu mod
Last Post: DeathBringer
11-12-2025 04:09 PM
» Replies: 5
» Views: 451
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: sam4011
11-12-2025 01:37 PM
» Replies: 100
» Views: 58604
[REQUEST] Lenovo L340-15API & L340-17API...
Last Post: Dudu2002
11-12-2025 10:24 AM
» Replies: 12
» Views: 8740

(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: 117 Guest(s)