[coreboot] Re: Coreboot Self-Flashing Through Payload?

2019-02-15 Thread ron minnich
I agree with patrick :-) On Fri, Feb 15, 2019 at 1:38 PM Patrick Georgi wrote: > > It's also possible to make Linux (with included ramdisk) into a > payload, so maybe that could be a middle ground: It's still usable by > all payloads that can execute payloads, it's still Linux + userland in > a m

[coreboot] Re: Coreboot Self-Flashing Through Payload?

2019-02-15 Thread Patrick Georgi via coreboot
It's also possible to make Linux (with included ramdisk) into a payload, so maybe that could be a middle ground: It's still usable by all payloads that can execute payloads, it's still Linux + userland in a more or less normal configuration. It has some overhead, but OTOH brings the peace of mind o

[coreboot] Re: Coreboot Self-Flashing Through Payload?

2019-02-15 Thread Matt B
Makes sense. That was one thing that gave me a bit of a gut feeling to do it in a small linux install than to try to integrate more tightly with the firmware. The linux utility is what everyone uses and should be more reliable. I've been recently burned by that issue too, on proprietary firmware f

[coreboot] Re: Coreboot Self-Flashing Through Payload?

2019-02-14 Thread ron minnich
On Thu, Feb 14, 2019 at 9:29 AM Matt B wrote: > > Hi, > > I was helping a friend with a bios issue (we may have an involuntary coreboot > convert on our hands ;) ) and realized that a lot of BIOSs provide a way for > the BIOS to flash itself but Coreboot doesn't. And, for the record, this was i

[coreboot] Re: Coreboot Self-Flashing Through Payload?

2019-02-14 Thread Nico Huber
On 14.02.19 21:54, Matt B wrote: >> >> Actually that's what we do in the FILO payload. > > > What is libflashrom used for in FILO? Was it intended at some point that > FILO be able to reflash the BIOS, or is it being used for something like > reading the flash chip in order to load other things?

[coreboot] Re: Coreboot Self-Flashing Through Payload?

2019-02-14 Thread Matt B
> > Actually that's what we do in the FILO payload. What is libflashrom used for in FILO? Was it intended at some point that FILO be able to reflash the BIOS, or is it being used for something like reading the flash chip in order to load other things? -Matt On Thu, Feb 14, 2019 at 3:45 PM Nico

[coreboot] Re: Coreboot Self-Flashing Through Payload?

2019-02-14 Thread Nico Huber
Hi Matt, On 14.02.19 18:56, Patrick Georgi via coreboot wrote: > Am Do., 14. Feb. 2019 um 18:47 Uhr schrieb Vadim Bendebury > : >> Why does it have to be done by Seabios as opposed to Linux? It is easy >> to create a USB stick which would boot Linux compiled with permissions >> needed and with sta

[coreboot] Re: Coreboot Self-Flashing Through Payload?

2019-02-14 Thread Patrick Georgi via coreboot
Am Do., 14. Feb. 2019 um 18:47 Uhr schrieb Vadim Bendebury : > Why does it have to be done by Seabios as opposed to Linux? It is easy to > create a USB stick which would boot Linux compiled with permissions needed > and with startup files which will program the new firmware image. This would > b

[coreboot] Re: Coreboot Self-Flashing Through Payload?

2019-02-14 Thread Vadim Bendebury
Why does it have to be done by Seabios as opposed to Linux? It is easy to create a USB stick which would boot Linux compiled with permissions needed and with startup files which will program the new firmware image. This would be much easier to debug and modify when needed, right? -vb On Thu, Feb