* [PATCH] arm64: dts: ti: k3-am625-sk: enable ramoops
@ 2022-05-11 21:28 ` Kevin Hilman
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2022-05-11 21:28 UTC (permalink / raw)
To: linux-omap, Nishanth Menon, Vignesh Raghavendra
Cc: praneeth, linux-arm-kernel, Guillaume La Roque
From: Guillaume La Roque <glaroque@baylibre.com>
enable ramoops fetures to easily debug some issues
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
---
arch/arm64/boot/dts/ti/k3-am625-sk.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
index 0de4113ccd5d..ff22bb7887d0 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
@@ -53,6 +53,15 @@ wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
reg = <0x00 0x9db00000 0x00 0xc00000>;
no-map;
};
+
+ ramoops@e0000000 {
+ compatible = "ramoops";
+ reg = <0x0 0xe0000000 0x0 0x00100000>;
+ record-size = <0x8000>;
+ console-size = <0x8000>;
+ ftrace-size = <0x0>;
+ pmsg-size = <0x8000>;
+ };
};
vmain_pd: regulator-0 {
--
2.34.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] arm64: dts: ti: k3-am625-sk: enable ramoops
@ 2022-05-11 21:28 ` Kevin Hilman
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2022-05-11 21:28 UTC (permalink / raw)
To: linux-omap, Nishanth Menon, Vignesh Raghavendra
Cc: praneeth, linux-arm-kernel, Guillaume La Roque
From: Guillaume La Roque <glaroque@baylibre.com>
enable ramoops fetures to easily debug some issues
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
---
arch/arm64/boot/dts/ti/k3-am625-sk.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
index 0de4113ccd5d..ff22bb7887d0 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
@@ -53,6 +53,15 @@ wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
reg = <0x00 0x9db00000 0x00 0xc00000>;
no-map;
};
+
+ ramoops@e0000000 {
+ compatible = "ramoops";
+ reg = <0x0 0xe0000000 0x0 0x00100000>;
+ record-size = <0x8000>;
+ console-size = <0x8000>;
+ ftrace-size = <0x0>;
+ pmsg-size = <0x8000>;
+ };
};
vmain_pd: regulator-0 {
--
2.34.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: ti: k3-am625-sk: enable ramoops
2022-05-11 21:28 ` Kevin Hilman
@ 2022-05-12 0:41 ` Nishanth Menon
-1 siblings, 0 replies; 4+ messages in thread
From: Nishanth Menon @ 2022-05-12 0:41 UTC (permalink / raw)
To: Kevin Hilman
Cc: linux-omap, Vignesh Raghavendra, praneeth, linux-arm-kernel,
Guillaume La Roque
On 14:28-20220511, Kevin Hilman wrote:
> From: Guillaume La Roque <glaroque@baylibre.com>
>
> enable ramoops fetures to easily debug some issues
^^ spell check etc..
>
> Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
> ---
> arch/arm64/boot/dts/ti/k3-am625-sk.dts | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> index 0de4113ccd5d..ff22bb7887d0 100644
> --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> @@ -53,6 +53,15 @@ wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
> reg = <0x00 0x9db00000 0x00 0xc00000>;
> no-map;
> };
> +
> + ramoops@e0000000 {
> + compatible = "ramoops";
> + reg = <0x0 0xe0000000 0x0 0x00100000>;
Could you use [1] and keep the reservation under 512MB?
./create-mem_map.py -i -b 0xa0000000 -m optee:0x01800000 tf-a:524288 lpm_cntx_save:524288 dm:12582912 mcu_m4fss_dma_memory_region:0x100000 mcu_m4fss_memory_region:0xf00000 ramoops:0x100000
> + record-size = <0x8000>;
> + console-size = <0x8000>;
> + ftrace-size = <0x0>;
> + pmsg-size = <0x8000>;
> + };
> };
>
> vmain_pd: regulator-0 {
> --
> 2.34.0
>
[1] https://gist.github.com/nmenon/13b135e8ba29531395de205903471b15
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: ti: k3-am625-sk: enable ramoops
@ 2022-05-12 0:41 ` Nishanth Menon
0 siblings, 0 replies; 4+ messages in thread
From: Nishanth Menon @ 2022-05-12 0:41 UTC (permalink / raw)
To: Kevin Hilman
Cc: linux-omap, Vignesh Raghavendra, praneeth, linux-arm-kernel,
Guillaume La Roque
On 14:28-20220511, Kevin Hilman wrote:
> From: Guillaume La Roque <glaroque@baylibre.com>
>
> enable ramoops fetures to easily debug some issues
^^ spell check etc..
>
> Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
> ---
> arch/arm64/boot/dts/ti/k3-am625-sk.dts | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> index 0de4113ccd5d..ff22bb7887d0 100644
> --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> @@ -53,6 +53,15 @@ wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
> reg = <0x00 0x9db00000 0x00 0xc00000>;
> no-map;
> };
> +
> + ramoops@e0000000 {
> + compatible = "ramoops";
> + reg = <0x0 0xe0000000 0x0 0x00100000>;
Could you use [1] and keep the reservation under 512MB?
./create-mem_map.py -i -b 0xa0000000 -m optee:0x01800000 tf-a:524288 lpm_cntx_save:524288 dm:12582912 mcu_m4fss_dma_memory_region:0x100000 mcu_m4fss_memory_region:0xf00000 ramoops:0x100000
> + record-size = <0x8000>;
> + console-size = <0x8000>;
> + ftrace-size = <0x0>;
> + pmsg-size = <0x8000>;
> + };
> };
>
> vmain_pd: regulator-0 {
> --
> 2.34.0
>
[1] https://gist.github.com/nmenon/13b135e8ba29531395de205903471b15
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-12 0:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11 21:28 [PATCH] arm64: dts: ti: k3-am625-sk: enable ramoops Kevin Hilman
2022-05-11 21:28 ` Kevin Hilman
2022-05-12 0:41 ` Nishanth Menon
2022-05-12 0:41 ` Nishanth Menon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.