[PATCH v3 0/3] Add command to display or save Linux PStore dumps

Frédéric Danis frederic.danis at collabora.com
Fri Mar 20 12:19:34 CET 2020


Dear Wolfgang,

On 20/03/2020 11:35, Wolfgang Denk wrote:
> Dear Frédéric,
>
> In message <03674974-2a2c-3804-ce02-4f3d38ff01d9 at collabora.com> you wrote:
>>> I understand what Linus has is one-way, only focussing on crash
>>> dump, i. e. it does not allow to pass information from U-Boot to Linux?
>> Yes, currently it is not possible to pass information from U-Boot to Linux.
>> But, PStore does not only store crash dump, but also console, ftrace and
>> user space logs.
>>
>> It may be possible to add a "bootloader" storage space to PStore.
> This does not make much sense to me.  We should not try to push any
> possible functionality into U-Boot just because we can.

Yes, I understand it.
But, when debugging kernel crashes occurring either early in boot or 
hard crashes later, it can be helpful to be able to retrieve logs using 
the U-Boot session.

> U-Boot is a boot loader, and should only contain necessary
> functionality and things, that are impossible or difficult to solve
> in other ways.
>
>
> I would much rather see the opposite direction working (again):
> being able to pass information from U-Boot to Linux kernel and
> further into Linux user land in a standard way.
>
> Best regards,
>
> Wolfgang Denk
>

Best regards,

Frédéric Danis


More information about the U-Boot mailing list