mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: barebox@lists.infradead.org, david@protonic.nl
Subject: Re: [PATCH v1] ARM: dts: imx6q-prti6q: add pstore/ramoops node
Date: Fri, 9 Oct 2020 09:19:38 +0200	[thread overview]
Message-ID: <20201009071938.GX11648@pengutronix.de> (raw)
In-Reply-To: <20201008110734.31719-1-o.rempel@pengutronix.de>

On Thu, Oct 08, 2020 at 01:07:34PM +0200, Oleksij Rempel wrote:
> In some cases we have no UART access, but we still need to get barebox
> messages. With ramoops enabled, we still can get barebox message from
> running Linux by reading:
> cat /sys/fs/pstore/console-ramoops-0
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  arch/arm/dts/imx6qdl-prti6q.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/imx6qdl-prti6q.dtsi b/arch/arm/dts/imx6qdl-prti6q.dtsi
> index f2b36553d4..bfc059e34f 100644
> --- a/arch/arm/dts/imx6qdl-prti6q.dtsi
> +++ b/arch/arm/dts/imx6qdl-prti6q.dtsi
> @@ -27,6 +27,17 @@
>  		};
>  	};
>  
> +	reserved-memory {
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges;
> +
> +		/* Address will be determined by the bootloader */
> +		ramoops {
> +			compatible = "ramoops";
> +		};
> +	};
> +
>  	reg_1v8: regulator-1v8 {
>  		compatible = "regulator-fixed";
>  		regulator-name = "1v8";
> -- 
> 2.28.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2020-10-09  7:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08 11:07 Oleksij Rempel
2020-10-09  7:19 ` Sascha Hauer [this message]

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=20201009071938.GX11648@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=david@protonic.nl \
    --cc=o.rempel@pengutronix.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