From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH v5 1/3] cmd: Add command to display or save Linux PStore dumps
Date: Wed, 14 Oct 2020 13:43:55 -0400 [thread overview]
Message-ID: <20201014174355.GP14816@bill-the-cat> (raw)
In-Reply-To: <20200320095924.523-2-frederic.danis@collabora.com>
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 <frederic.danis@collabora.com>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Cc: Wolfgang Denk <wd@denx.de>
> Cc: Heiko Schocher <hs@denx.de>
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: <https://lists.denx.de/pipermail/u-boot/attachments/20201014/64705ec6/attachment.sig>
next prev parent reply other threads:[~2020-10-14 17:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-20 9:59 [PATCH v5 0/3] Add command to display or save Linux PStore dumps Frédéric Danis
2020-03-20 9:59 ` [PATCH v5 1/3] cmd: " Frédéric Danis
2020-10-14 17:43 ` Tom Rini [this message]
2020-03-20 9:59 ` [PATCH v5 2/3] test: Add PStore command tests Frédéric Danis
2020-10-13 15:48 ` Tom Rini
2020-10-13 16:35 ` Frédéric Danis
2020-10-13 18:03 ` Tom Rini
2020-10-13 18:33 ` Tom Rini
2020-10-14 17:44 ` Tom Rini
2020-03-20 9:59 ` [PATCH v5 3/3] cmd: Fixup DT to pass PStore Ramoops parameters Frédéric Danis
2020-10-14 17:44 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201014174355.GP14816@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox