Re: [PATCH] pstore: Add boot loader log messages support

From: Kees Cook
Date: Thu Feb 14 2019 - 23:05:24 EST

On Thu, Feb 14, 2019 at 8:01 PM Yue Hu <huyue2@xxxxxxxxxx> wrote:
> Yes, boot loader will did the _write_. When booting from power on, the first phase
> is boot loader, it will log to specific reserver memory. Then kernel/pstore is
> coming up, pstore will copy the log generated by boot loader to xbl zone. The xbl
> memory zone layout like below:
> +-----+---------
> |dest |
> |-----| xbl zone
> |src |
> +-----+---------
> Anyway, i think it is a useful debug feature.

Ah-ha, interesting. Okay, please mention this (and how the boot loader
knows to write in the area) in v2.


Kees Cook