Re: [PATCH] schemas: Add schema for firmware logs

2023-02-10 Thread Ard Biesheuvel
On Thu, 9 Feb 2023 at 19:05, Simon Glass wrote: > > Hi Jan, > > On Wed, 8 Feb 2023 at 01:15, Jan Lübbe wrote: > > > > On Tue, 2023-02-07 at 11:39 -0700, Simon Glass wrote: > > > Hi Jan, > > > > > > On Tue, 7 Feb 2023 at 08:39, Jan Lübbe wrote: > > > > > > > > On Tue, 2023-02-07 at 06:38 -0700,

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-09 Thread Simon Glass
Hi Jan, On Wed, 8 Feb 2023 at 01:15, Jan Lübbe wrote: > > On Tue, 2023-02-07 at 11:39 -0700, Simon Glass wrote: > > Hi Jan, > > > > On Tue, 7 Feb 2023 at 08:39, Jan Lübbe wrote: > > > > > > On Tue, 2023-02-07 at 06:38 -0700, Simon Glass wrote: > > > > Hi Jan, > > > > > > > > On Tue, 7 Feb 2023

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-08 Thread Jan Lübbe
On Tue, 2023-02-07 at 11:39 -0700, Simon Glass wrote: > Hi Jan, > > On Tue, 7 Feb 2023 at 08:39, Jan Lübbe wrote: > > > > On Tue, 2023-02-07 at 06:38 -0700, Simon Glass wrote: > > > Hi Jan, > > > > > > On Tue, 7 Feb 2023 at 04:56, Jan Lübbe wrote: > > > [snip] > > > Thanks for the pointer. I

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-07 Thread Simon Glass
Hi Jan, On Tue, 7 Feb 2023 at 08:39, Jan Lübbe wrote: > > On Tue, 2023-02-07 at 06:38 -0700, Simon Glass wrote: > > Hi Jan, > > > > On Tue, 7 Feb 2023 at 04:56, Jan Lübbe wrote: > > > > > > On Mon, 2023-02-06 at 17:32 -0600, Rob Herring wrote: > > > > +boot-architecture > > > > > > > > On Mon,

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-07 Thread Jan Lübbe
On Tue, 2023-02-07 at 06:38 -0700, Simon Glass wrote: > Hi Jan, > > On Tue, 7 Feb 2023 at 04:56, Jan Lübbe wrote: > > > > On Mon, 2023-02-06 at 17:32 -0600, Rob Herring wrote: > > > +boot-architecture > > > > > > On Mon, Feb 6, 2023 at 3:25 PM Simon Glass wrote: > > > > > > > > Hi Rob, > > >

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-07 Thread Simon Glass
Hi Jan, On Tue, 7 Feb 2023 at 04:56, Jan Lübbe wrote: > > On Mon, 2023-02-06 at 17:32 -0600, Rob Herring wrote: > > +boot-architecture > > > > On Mon, Feb 6, 2023 at 3:25 PM Simon Glass wrote: > > > > > > Hi Rob, > > > > > > On Mon, 6 Feb 2023 at 10:15, Rob Herring wrote: > > > > > > > > On

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-07 Thread Jan Lübbe
On Mon, 2023-02-06 at 17:32 -0600, Rob Herring wrote: > +boot-architecture > > On Mon, Feb 6, 2023 at 3:25 PM Simon Glass wrote: > > > > Hi Rob, > > > > On Mon, 6 Feb 2023 at 10:15, Rob Herring wrote: > > > > > > On Sat, Feb 4, 2023 at 6:04 AM Simon Glass wrote: > > > > > > > > Hi Peter, >

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-06 Thread Simon Glass
Hi Rob, On Mon, 6 Feb 2023 at 16:32, Rob Herring wrote: > > +boot-architecture > > On Mon, Feb 6, 2023 at 3:25 PM Simon Glass wrote: > > > > Hi Rob, > > > > On Mon, 6 Feb 2023 at 10:15, Rob Herring wrote: > > > > > > On Sat, Feb 4, 2023 at 6:04 AM Simon Glass wrote: > > > > > > > > Hi Peter,

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-06 Thread Rob Herring
+boot-architecture On Mon, Feb 6, 2023 at 3:25 PM Simon Glass wrote: > > Hi Rob, > > On Mon, 6 Feb 2023 at 10:15, Rob Herring wrote: > > > > On Sat, Feb 4, 2023 at 6:04 AM Simon Glass wrote: > > > > > > Hi Peter, > > > > > > On Sat, 4 Feb 2023 at 02:36, Peter Robinson wrote: > > > > > > > >

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-06 Thread Simon Glass
Hi Rob, On Mon, 6 Feb 2023 at 10:15, Rob Herring wrote: > > On Sat, Feb 4, 2023 at 6:04 AM Simon Glass wrote: > > > > Hi Peter, > > > > On Sat, 4 Feb 2023 at 02:36, Peter Robinson wrote: > > > > > > Hi Simon, > > > > > > Does it make sense to devise something that is compatible with the > > >

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-06 Thread Rob Herring
On Sat, Feb 4, 2023 at 6:04 AM Simon Glass wrote: > > Hi Peter, > > On Sat, 4 Feb 2023 at 02:36, Peter Robinson wrote: > > > > Hi Simon, > > > > Does it make sense to devise something that is compatible with the > > kernel's pstore [1] mechanism? > > Possibly...can you please be a little more

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-04 Thread Simon Glass
Hi Peter, On Sat, 4 Feb 2023 at 02:36, Peter Robinson wrote: > > Hi Simon, > > Does it make sense to devise something that is compatible with the > kernel's pstore [1] mechanism? Possibly...can you please be a little more specific? Regards, Simon > > Peter > > [1]

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-04 Thread Peter Robinson
Hi Simon, Does it make sense to devise something that is compatible with the kernel's pstore [1] mechanism? Peter [1] https://lwn.net/Articles/434821/ On Sat, Feb 4, 2023 at 12:20 AM Simon Glass wrote: > > A common way to detect problems in firmware is to collect logs from > the firmware,

[PATCH] schemas: Add schema for firmware logs

2023-02-03 Thread Simon Glass
A common way to detect problems in firmware is to collect logs from the firmware, then pass them to the OS for storage and analysis. Logs can take the form of simple text output, or structured logs where the filename and line number, etc. are provided. Timestamps can sometimes be useful, too.