From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 14 Oct 2020 13:43:55 -0400 Subject: [PATCH v5 1/3] cmd: Add command to display or save Linux PStore dumps In-Reply-To: <20200320095924.523-2-frederic.danis@collabora.com> References: <20200320095924.523-1-frederic.danis@collabora.com> <20200320095924.523-2-frederic.danis@collabora.com> Message-ID: <20201014174355.GP14816@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 20, 2020 at 10:59:22AM +0100, Fr?d?ric Danis wrote: > This patch adds a new pstore command allowing to display or save ramoops > logs (oops, panic, console, ftrace and user) generated by a previous > kernel crash. > PStore parameters can be set in U-Boot configuration file, or at run-time > using "pstore set" command. Records size should be the same as the ones > used by kernel, and should be a power of 2. > This command allows: > - to display uncompressed logs > - to save compressed or uncompressed logs, compressed logs are saved as a > compressed stream, it may need some work to be able to decompress it, > e.g. adding a fake header: > "printf "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x00" | > cat - dmesg-ramoops-0.enc.z | gzip -dc" > - ECC part is not used to check memory corruption > - only 1st FTrace log is displayed or saved > > Signed-off-by: Fr?d?ric Danis > Cc: Tom Rini > Cc: Heinrich Schuchardt > Cc: Wolfgang Denk > Cc: Heiko Schocher Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: