News for hackers. Stuff that matters.
Re:LinuxBoot: Linux as Firmware by euyyn on Monday January 29, 2018 @01:58PM (#16259745)
Check Ron Minnich's talk explaining the why:

https://schd.ws/hosted_files/osseu17/84/Replace%20UEFI%20wit...

(The video of the presentation is linked in the OP).

There's already two and a half obscure OS's running underneath the OS for booting. So this replaces all that crap with something lean and good.

Re:LinuxBoot: Linux as Firmware by mevile on Monday January 29, 2018 @02:11PM (#16259867)
Firmware with a built in web server is pretty spooky. Why do they have that?
Re:LinuxBoot: Linux as Firmware by y0ssar1an on Monday January 29, 2018 @02:21PM (#16259936)
Most UEFI implementations have a network stack these days. It's horrible.
Re:LinuxBoot: Linux as Firmware by Hello71 on Monday January 29, 2018 @06:52PM (#16261699)
I agree, but it's not exactly like PXE didn't exist before EFI was invented, and AIUI EFI actually decided to reuse PXE instead of NIHing another overengineered non-solution, so honestly that's not even so bad.
Re:LinuxBoot: Linux as Firmware by yuhong on Monday January 29, 2018 @03:00PM (#16260182)
Don't forget OpenSSL. Imagine how long SSLv3 or export ciphers would last if this was done in the 1990s
Re:LinuxBoot: Linux as Firmware by AceJohnny2 on Monday January 29, 2018 @02:21PM (#16259934)
To administer a fleet of computers remotely. HTTP is a widely-implemented and tested protocol that fits the problem domain well.
Re:LinuxBoot: Linux as Firmware by kevin_thibedeau on Tuesday January 30, 2018 @10:07AM (#16265831)
As opposed to something like SNMP that was designed for remote management.
Re:LinuxBoot: Linux as Firmware by kodablah on Monday January 29, 2018 @02:13PM (#16259879)
> So this replaces all that crap with something lean and good.

I think the concern is about "lean". I don't think there's a lot of code yet, but I do see it will use http://u-root.tk/.

Re:LinuxBoot: Linux as Firmware by hugelgupf on Monday January 29, 2018 @02:28PM (#16259976)
LinuxBoot is trying to be agnostic to the initramfs. We don't want to prescribe what tools you use to boot your system.

When there is a build system, you'll be able to choose whatever initramfs you want to implement your boot policies. The two choices we have today are NERF (= LinuxBoot + u-root as initramfs, as you linked) and Heads (LinuxBoot with Heads kernel and runtime, see http://osresearch.net).

Re:LinuxBoot: Linux as Firmware by vanderZwan on Monday January 29, 2018 @03:54PM (#16260541)
> DigitalTermometerSensor (sic)

Heh, that gave me a chuckle

> Userland written in Go (http://u-root.tk)

So much for Go not being a systems programming language.

Re:LinuxBoot: Linux as Firmware by pjmlp on Tuesday January 30, 2018 @02:46AM (#16263601)
> So much for Go not being a systems programming language.

There are other examples already.

Fuchsia TCP/IP stack and file system driver management utilities are implemented in Go.

https://groups.google.com/d/msg/golang-dev/2xuYHcP0Fdc/tKb1P...

Android's new GPU debugger is written in Go.

https://github.com/google/gapid

An then there are some bare-metal experiments like G.E.R.T.

https://github.com/ycoroneos/G.E.R.T

Re:LinuxBoot: Linux as Firmware by vanderZwan on Tuesday January 30, 2018 @06:25AM (#16264425)
I knew about G.E.R.T. but the other two are new to me, very nice!

(I was going for a tongue-in-cheek ribbing of the Go-haters - in retrospect my wording sounds a bit passive-aggressive, probably should have ended with an exclamation mark and a smily or something)

Re:LinuxBoot: Linux as Firmware by pjmlp on Tuesday January 30, 2018 @06:55AM (#16264574)
I do share a love-hate relation to Go.

I love it is based on a mix of Oberon and Limbo, compiled to native code and an improvement for what a safe C like language should probably look like, and who knows maybe someone decides a day to do a "Goberon" OS for they OS PhD research.

Basically what Java and C# 1.0 should have been all along, about 20 years ago.

However I also dislike some of the design decisions regarding features that will never come to Go, regardless of how much we get to discuss them, even with the mirage of Go 2.0.

Re:LinuxBoot: Linux as Firmware by justincormack on Monday January 29, 2018 @04:59PM (#16261002)
Its kind if weird, they compile at runtime as Go is a bit bloated. But userspace is a good fit for Go. GC timing is not an issue, it has good libraries. Much better choice than C for almost all userspace bringup.
Re:LinuxBoot: Linux as Firmware by hugelgupf on Monday January 29, 2018 @05:22PM (#16261174)
We also have a mode that rewrites all commands' sources given so it can be compiled into one binary. It ahem needs some improvements, though :)