Re: [coreboot] Retrieving additional payload files from CBFS

2017-04-12 Thread Julius Werner
> > Is there an easy way for a running payload to extract additional files > from its CBFS image in ROM? I'd like to have a reproducible kernel and > initrd as the primary payload, with user data (and keys) stored in a > separate payload section of the CBFS. > > On the build host I can use cbfstoo

Re: [coreboot] RFC: Changing CBMEM console to run as a persistent ring-buffer

2017-04-12 Thread Julius Werner
> > Is it possible to figure whenever the cbmem buffer supports rollover or > not, so a updated seabios version can work correctly with both old and > new coreboot? > Not explicitly, but it should still work fine with both versions. The old coreboot can only either not fill up the buffer or fill u

Re: [coreboot] Retrieving additional payload files from CBFS

2017-04-12 Thread tturne
On 2017-04-12 07:51, Trammell Hudson wrote: Is there an easy way for a running payload to extract additional files from its CBFS image in ROM? I'd like to have a reproducible kernel and initrd as the primary payload, with user data (and keys) stored in a separate payload section of the CBFS. On

Re: [coreboot] Retrieving additional payload files from CBFS

2017-04-12 Thread Trammell Hudson
On Wed, Apr 12, 2017 at 08:51:11AM -0600, Trammell Hudson wrote: > [...] > On the build host I can use cbfstool to add/extract them from the file, > but I'm not seeing an easy way to do it on the running machine > short of 'dd if=/dev/mem' at the correct address. Which works on real hardware, but

[coreboot] Retrieving additional payload files from CBFS

2017-04-12 Thread Trammell Hudson
Is there an easy way for a running payload to extract additional files from its CBFS image in ROM? I'd like to have a reproducible kernel and initrd as the primary payload, with user data (and keys) stored in a separate payload section of the CBFS. On the build host I can use cbfstool to add/extr

Re: [coreboot] Design discussions on gerrit

2017-04-12 Thread Zoran Stojsavljevic
Interesting discussion... Thank you Patrick for making me aware of some "things". ;-) Here is what read from my search about this topic from/on the net: Processor switches to System Management Mode (SMM) from protected or real-address mode upon receiving System Management Interrupt (SMI) from var

Re: [coreboot] RFC: Changing CBMEM console to run as a persistent ring-buffer

2017-04-12 Thread Gerd Hoffmann
Hi, > Right, sorry, I confused something while writing the explanation > there. Nevertheless, the SeaBIOS code will require a small adjustment > (same as the libpayload driver in the patch I linked) to continue > appending correctly after the log has rolled over, and I'll provide > that patch.