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 <[email protected]>
> ---
>  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
> [email protected]
> 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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to