Lenovo To Make Its BIOS/UEFI Updates Easier For Linux Users Via LVFS (phoronix.com)
An anonymous reader shares a report: Lenovo is making it easier for their customers running Linux to update their firmware now on ThinkPad, ThinkStation, and ThinkCenter hardware. Lenovo has joined the Linux Vendor Firmware Service (LVFS) and following collaboration with the upstream developers is beginning to roll-out support for offering their device firmware on this platform so it can be easily updated by users with the fwupd stack. Kudos to all involved especially with Lenovo ThinkPads being very popular among Linux users.
But also shows that UEFI is a bit of a crock.
Lenovos are usually the hardware I have least trouble with when installing Ubuntu at least.
I thought that it was a file system that your BIOS could mount ;-)
Everything I write is lies, read between the lines.
What could possibly go wrong with that?
This is something I have not experienced much? I typically create a DOS boot and boot into that with the bios file EXE included. But its nice I guess for users who are rather skittish about bios updates with the sort of shoehorn means rather then the simple form in Windows. Were only talking about a small percentage of users this applies too anyway. Most I know who run Linux also run Windows in a duel boot function anyway.
Updated my ThinkPad T470s using Kubuntu 18.04, just worked out of the box, this is simply amazing.
The lack of mental health care in the US. Too many people are allowed to use a computer without medication.
C'mon. Who would stand a chance against Putin?
When is Linux going to work properly on X1 Tablet Gen3? launched in Feb, still trackpoint/buttons not working, suspend not working.
Sweet. I also notice that many or most enthusiast motherboards are shipping with Windows-independent bios updaters now. This suggests the Linux component of the enthusiast segment is signifcant. Another motivation would be, you see no end of forum posts about people bricking their motherboard because of running the bios update with the Windows utility.
When all you have is a hammer, every problem starts to look like a thumb.
On my Gigabyte motherboard, I download the new BIOS, stick it on a small FAT partition on an external drive I have for various things, boot into the BIOS and pick "upgrade". The BIOS will then read the firmware from the FAT partition in question, verify it then install it before rebooting automatically. I am sure if I stuck the BIOS on a thumb drive it would work as well (except that I would need to find a thumb drive whereas the extra partition on the existing external HDD is easy to work with)
Why can't everyone make it that easy rather than needing to run a Windows exe or boot from a special DOS boot disk or something (or even this new Linux thing)
There are already working solutions for this. For example, having FreeDOS on a USB drive, downloading the BIOS to it, and booting from it is very simple.
Did it on my Dell Latitude a while back, and got the latest BIOS on it without any issues.
2bits.com, Inc: Drupal, WordPress, and LAMP performance tuning.
offered by an American or a European laptop maker instead of an arm of the Chinese communist People's Liberation Army.
Those Lenovo laptops (generally, not a particular model) used to be made in America by IBM, but that division was sold to the communist Chinese as part of the Wall Street sell-out of the West. Given that China is officially communist, and a one-party-rule nation where everything serves the interests of the ruling party which is also at-one with the police and armed forces and spy agencies, there is simply no trusting those tech products. You cannot trust the software, the firmware and certainly not the semiconductors, all of which can have malware and backdoors built-in in China.
I'm holding out for the FEELpad. :-D LOL
Our reign has gone on long enough. Indeed. Summon the meteors.
There are reasons to open a laptop other than fixing it. Expanding memory, adding optional modules, upgrading storage, etc.. Most of those are quick and trivial
You know, the exact list of things that Apple was brave and courageous to SOLDER ON their supposedly "pro" range of laptops.
being able to manage it in a few minutes at a convenient time in the office greatly offsets the hassle of scheduling on-site service - let alone overnight or any other service type of "send it in" service.
And you can count on Apple's service being not "same-day / over-night", because they don't allow shops to keep local stock of replacement parts for the latest Pro models(need to ship a broken part in, before receiving the replacement part). Apparently to avoid some replacements ending up on ebay black market.
My current laptop is a Dell Latitude business laptop (there's exactly ONE single screw to open the bottom pannel and get immediate access to nearly everything).
My next one is going to be a good business laptop too (probably a ThinkPad one if they get a good feature set, including full AMD chipset, like on the A480 / E585)
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
Actually, to nitpick : you do NOT get user space to the Firmware.
Since UEFI, the firmware locks-down irreversibly lots of low-level access once its start to boot the OS.
It's impossible to recover these low-level access unless you reboot completely.
Thus these low-level access are only up and available while the UEFI firmware is active, they cannot be available while the OS is running.
Instead, it uses an approach called capsule :
- the userspace part just gives a plain file to the UEFI. And that's it. It does nothing on it's own. Usually after finishing that, the userspace program encourages you to reboot.
- on the following reboot, while the UEFI firmware is running, it can detect that a new payload is available, check its signature, check it is targetting the correct hardware, and eventually jumps into it *before* the usually boot-time hand-over lock-down of low-level function.
- the updater can itself perform futher checks and performs the flashing.
As it's a plain file, it's usually also possible to completely ignore the OS : just save it on a USB stick, and most UEFI menu have a special entry that starts a file browser and give you the possibilty to point to the file on the stick your self, instead of relying on the OS. It will then again run the check and jump into the updater as above.
Bottom line : it's not the user-space, it's the UEFI. And the UEFI has been able to update the UEFI since ages.
You can't write a virus that will write arbitrary bullshit on the UEFI firmware.
BUT if you have a valid signing key, you can write a valid upgrade that will pass all checks and will get the UEFI to self-overwrite with arbitrary bullshit.
The end result is the same (getting arbitrary bullshit), but mean is different (the user space has no access, its merely a short cut to avoid needing to manually point the update file with the UEFI menu file browser).
Given how simple the update is from the point of view of the OS, there's no technical reason why it should not be enabled on Linux.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
With a BIOS based machine, it works this way indeed, with a DOS boot (an OS that has no protection whatsover and could directly talk to the flasher to flash a new bios).
With UEFI that not the case anymore. Lots of low-level functionality (including flashing) is locked-down once the OS is booted. This is irreversible, a OS cannot reclaim the flashing capability, you need to reboot the machine back into UEFI.
In that case, the upgrade is simply a file.
This file can be either directly selected from a built-in file browser in the UEFI menu (another poster mentions this on Dell).
Or this file can be pushed by an executable. That's what the Windows or DOS upgrade executable do on modern UEFI machine. They don't actually flash the update, they give the file to the UEFI to use for flashing on the next reboot.
Given that its simply uploading a file, no low-level flashing, there's no reason why it couldn't be added to Linux too.
(Bonus point: the UEFI will check signatures and compatibility of such update capsules before starting them).
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
boot into the BIOS and pick "upgrade". The BIOS will then read the firmware from the FAT partition in question, verify it then install it before rebooting automatically. I am sure if I stuck the BIOS on a thumb drive it would work as well (except that I would need to find a thumb drive whereas the extra partition on the existing external HDD is easy to work with)
And that's what the various user-space "updater" (Windows, or TFA's Linux, or even a few older DOS for those who use that) actually do :
they simply provide the file to the UEFI firmware and tell "please on the next reboot, use this file".
Since UEFI, user-space program cannot have the necessary access to perform the flashing themselves any more, it's locked-up when handing control from UEFI to OS.
Why can't everyone make it that easy rather than needing to run a Windows exe or boot from a special DOS boot disk or something (or even this new Linux thing)
The point here is *unattended upgrade*. A windows .EXE upgrade means that it can be part of some "update" software that runs periodically.
Being accessible to "fwupd" means that on Ubuntu and Fedora, it could be part of the regular update GUI (synaptic and I forgot what respectively).
Critical firmware bug could be fixed even for non-power user that would forget or even not be comfortable enough to boot into the UEFI menu to manually pick up the upgrade themselves.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
This Chinese Ministry of State Security must love this! It is REALLY open source?