8 ms·
Project Mu – A modular UEFI environment for building modern devices
- twoquestions 7y agoFor those who are confused (as I was until a bit ago), this is for writing firmware.
- farisjarrah 7y agoTo expand on this, if successful, this project would basically make it a lot easier to get firmware updates and write firmware for more devices. This, in conjunction with the Linux Vendor Firmware Project, could potentially make it extremely easy for vendors to support Linux and get firmware updates via Linux. Whether that's the projects actual goal or not, I am not sure, but that's what opportunity a project like this potentially avails us to.
- sesellis 7y agoI was confused as well, Project Mu to me is a Japanese car tuner: http://www.project-mu.co.jp/en/ http://www.project-mu.co.jp/en/
- spike021 7y agoSame here, was just about to comment on this.
- pgeorgi 7y agoProject Mu is mostly about getting the messy parts of the UEFI ecosystem sorted out: Instead of hoping that IBVs ("Independent BIOS Vendors") clean up their act (because, to be frank, they don't), they get ready-to-use components that Microsoft is using itself on the Surface products and provide a certain baseline standard (security, UX, ...). The difficult part about firmware in general (hardware initialization) is still under lock and wrap though: you'll have to get it from the silicon vendors and link it with the open EDK2/Tianocore (which is the UEFI base) and Mu (which is a toolset to extend that base) components to a full firmware image. In particular, those components aren't distributed as part of EDK2 or Mu.
- checktheorder 7y ago>the messy parts of the UEFI ecosystem The jokes practically write themselves.
- snek 7y agoI'm looking forward to the "UEFI: The Good Parts" O'Reilly book.
- pgeorgi 7y agos,book,leaflet,
- sam_bristow 7y agoJust a front and back cover and one page: [ this page intentionally left blank ]
- MisterTea 7y agoReminds me of the emacs man page in plan 9: http://man.cat-v.org/plan_9/1/emacs http://man.cat-v.org/plan_9/1/emacs
- checktheorder 7y ago"Do you have anything light?" https://www.youtube.com/watch?v=cxqjsyfbcd4 https://www.youtube.com/watch?v=cxqjsyfbcd4
- userbinator 7y agoIndeed. BIOS isn't perfect but it's small and simple and provides enough to boot an OS, whereas UEFI looks more like an attempt to create another OS to run before the main one. It's a great example of design-by-committee and second-system-syndrome. Linus' rants on this topic are always worth a read: https://yarchive.net/comp/linux/efi.html https://yarchive.net/comp/linux/efi.html
- wmf 7y agoThis is potentially an alternative to Coreboot for open source firmware. AFAIK it's used in Microsoft Surface PCs and it looks more consumer-friendly with menus and such. The downside is that it's based on TianoCore which is reported to be very poor quality.
- floatboth 7y agohere we go again, every thread, same confused comments… Coreboot is just an early stage bootloader that does basic bringup and jumps into a payload… like… TianoCore EDK2 :) Comparing Coreboot with something that can be its payload does not make much sense. EDK2 does have some PEI code but it's not very interesting. The valuable part is the DXE phase and beyond.
- pgeorgi 7y agoProject Mu, like EDK2/Tianocore lacks everything coreboot has - and vice-versa: coreboot doesn't care too much about OS-side or user interfaces but delegates that to something we call "payload". EDK2/Tianocore on the other hand (and Mu, by extension) is extremely weak in the actual hardware initialization department because they only care about OS-side and user interface matters. If you dig a lot, you'll find one memory init driver there (for the now-dead Quark SoC). Project Mu is an attempt to make something reasonable out of EDK2, and I commend them for it (EDK2 _really_ needs an effort like this). But to get a useful (UEFI style) firmware image without signing NDAs (and not the ordinary NDA, the more secret ones) you'll need to combine Project Mu with... coreboot.
- bjt2n3904 7y agoIf I were to build a "modern device", UEFI would be the last thing I'd want to put on it. I don't want to worry about exploits below ring 0 with a proprietary mess of binary blobs that lock me out of my own hardware.
- wmf 7y agoEven "open source" firmware has the same blobs.
- monocasa 7y agoUEFI runs in ring 0, and it's pretty trivial to just not call it.
- pgeorgi 7y agoExcept for the parts in SMM (often considered "ring -2", below virtualization) that are installed by UEFI to implement stuff like Authenticated Variables (the thing that makes UEFI Secure Boot work and requires a rather complete crypto library for it). See https://firmware.intel.com/sites/default/files/resources/A_Tour_Beyond_BIOS_Implementing_UEFI_Authenticated_Variables_in_SMM_with_EDKII.pdf https://firmware.intel.com/sites/default/files/resources/A_T...
- monocasa 7y agoThat's not really UEFI though per se. Having an oracle in SMM is one option, but sticking them in the Management Engine/PSP or an expanded TPM are other options. And SMM is way older that UEFI. We'll almost certainly still have SMM after UEFI is gone.
- pgeorgi 7y ago> That's not really UEFI though per se. Having an oracle in SMM is one option, but sticking them in the Management Engine/PSP or an expanded TPM are other options. It's UEFI code that's linked into a separate module. But it's the same code architecture (and largely the same code), just running in a different CPU mode. > And SMM is way older that UEFI. We'll almost certainly still have SMM after UEFI is gone. There are experiments at hardware vendors to get rid of SMM. While that will take approximately as long as the age-old attempts to retire legacy PC components (such as the RTC), it's not universally loved by vendors anymore.
- bhaavan 7y agoMan, I am loving this new Microsoft.
- xvilka 7y agoIt doesn't address the problem of binary blobs of platform initialization, the most important part of booting anyway. UEFI is just a glue, modern 64bit DOS, so can be dropped completely. Improving coreboot would have been a saner approach.
- voltagex_ 7y agoPreviously: https://news.ycombinator.com/item?id=18719816 https://news.ycombinator.com/item?id=18719816