Hi Rob, On Mon, 6 Feb 2023 at 10:15, Rob Herring <robh@xxxxxxxxxx> wrote: > > On Sat, Feb 4, 2023 at 6:04 AM Simon Glass <sjg@xxxxxxxxxxxx> wrote: > > > > Hi Peter, > > > > On Sat, 4 Feb 2023 at 02:36, Peter Robinson <pbrobinson@xxxxxxxxx> 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? > > Peter is talking about the same thing I suggested on IRC. > > pstore == ramoops Oh, I only looked at the DT binding as I thought that was what you were talking about on irc. For pstore, isn't the point that Linux wants to save stuff to allow debugging or collection on reboot? What does that have to do with console logs from firmware? That seems like a different thing. Or are you suggesting that we add a pstore driver into U-Boot? It is quite a lot of code, including compression, etc. It might be easier for Linux to write the data into pstore when it starts up? I'm really just looking for more specific ideas as to what you are suggesting. Regards, Simon