Re: [coreboot] Rettungsboot

2016-11-27 Thread Zoran Stojsavljevic
> The measurements are with me. Linux, properly configured, is a very fast bootloader. UEFI has always been nothing but slow. And > that's still true; I've seen recent systems with "stripped down" UEFI and they are still appallingly slow, slower than linuxbios was in > 2000 on slow CPUs. I still ca

Re: [coreboot] Rettungsboot

2016-11-27 Thread ron minnich
On Sun, Nov 27, 2016 at 5:58 PM Charlotte Plusplus < pluspluscharlo...@gmail.com> wrote: > I don't know about you, but once I have a minimal working kernel or a > coreboot fallback, I never really update them. So having no way to recover > them without hardware intervention is fine. The kernel I m

Re: [coreboot] Rettungsboot

2016-11-27 Thread ron minnich
yeah, david and nico both make very good points. I like the idea of JSON file, and further we're working on a Go program on the u-root project that would parse said file (trivial in Go to parse JSON, it's one statement and blam! your Go struct is all filled in) and then decide what to configure/wh

Re: [coreboot] Rettungsboot

2016-11-27 Thread David Hendricks
On Sat, Nov 26, 2016 at 2:46 PM, ron minnich wrote: > coreboot today is linuxbios minus the linux. The original intent was > always that linux be our lifeboat. The current set of (as you point out) > not terrific options is a result of linux growing too big for flash, and > flash growing too big

Re: [coreboot] Rettungsboot

2016-11-27 Thread Charlotte Plusplus
I don't know about you, but once I have a minimal working kernel or a coreboot fallback, I never really update them. So having no way to recover them without hardware intervention is fine. The kernel I may recompile, patch, etc would be somewhere else. The job of this minimal kernel and initrd wou

[coreboot] How to access temperature sensors on 'modern' thinkpads?

2016-11-27 Thread Charlotte Plusplus
Hello I am still interested in lowering the power consumption. To try to find the culprit, I am thinking about monitoring temperature sensors. On the W520 specs, I see on p 70 ("Thermal sensor"): S0: PCH/BASE COVER S1: NVIDIA S2: GBE S3: WWAN S4: DIMM(TOP) S5: DIMM(BOTTOM) S6: WLAN S7: EXPRESS SL

Re: [coreboot] Rettungsboot

2016-11-27 Thread Trammell Hudson
On Sun, Nov 27, 2016 at 07:30:07PM -0500, Charlotte Plusplus wrote: > [...] > With the amount of flash we have, sharing the kernel and initrd doesn't > seem like a bad idea. The problem is if a bad kernel or initrd is flashed then there is no way to recover without hardware intervention. Having a

Re: [coreboot] Rettungsboot

2016-11-27 Thread Charlotte Plusplus
If I had more flash, I would like that too, just for kicks. With the amount of flash we have, sharing the kernel and initrd doesn't seem like a bad idea. If the cmdline for the normal mode can be modified easily by updating the cbfs with flashrom, I don't see any drawback to using kexec from the

Re: [coreboot] Rettungsboot

2016-11-27 Thread ron minnich
On Sun, Nov 27, 2016 at 4:22 PM Charlotte Plusplus < pluspluscharlo...@gmail.com> wrote: > > > In my ideal scenario, coreboot would have the 2 images (normal, fallback) > both starting the same payload (a minimal linux kernel) to save space. > at Los Alamos we found we wanted a fallback kernel an

Re: [coreboot] Rettungsboot

2016-11-27 Thread Charlotte Plusplus
Hello On Sat, Nov 26, 2016 at 6:19 PM, Trammell Hudson wrote: > The 4MB flash in the older thinkpads is a little tight, but still > sufficient for a text-based modern Linux kernel -- the biggest issue is > the cryptsetup tool brings in quite a few dependencies right now, > which complicates usin

Re: [coreboot] [RFC] Setting C99 by default

2016-11-27 Thread ron minnich
Seems reasonable, but on Harvey recently we went with c11. Any reason not to do that instead? On Sun, Nov 27, 2016 at 2:09 PM Paul Menzel via coreboot < coreboot@coreboot.org> wrote: > Dear coreboot folks, > > > Using GCC 4.9.2 coreboot fails to build for certain boards, whose code > uses ‘for’ l

Re: [coreboot] Rettungsboot

2016-11-27 Thread ron minnich
On Sun, Nov 27, 2016 at 1:03 AM Zoran Stojsavljevic < zoran.stojsavlje...@gmail.com> wrote: > > I'll again repeat what I always believe in, and always advertise(d) here, > and anywhere else: Coreboot is one excellent absolute minimum required for > booting HW platform to the next step: OS boot loa

[coreboot] [RFC] Setting C99 by default

2016-11-27 Thread Paul Menzel via coreboot
Dear coreboot folks, Using GCC 4.9.2 coreboot fails to build for certain boards, whose code uses ‘for’ loop initial declarations. ``` $ gcc --version gcc (Debian 4.9.2-10) 4.9.2 […] $ make # lenovo/x60 with native graphics initialization […] CC ramstage/northbridge/intel/i945/gma.o s

Re: [coreboot] Rettungsboot

2016-11-27 Thread Zoran Stojsavljevic
Rettungs (German) - Ubersetzung/translate ist/is rescue. As much as I know... Desperately trying to learn more Deutsche Sprache these days (bloody tough - too old for it). I'll again repeat what I always believe in, and always advertise(d) here, and anywhere else: Coreboot is one excellent absolut