Skip to contentSkip to conversation

arm64: dts: ti: k3-am625-sk: enable ramoops

PATCH Superseded Guillaume La Roque 1 participant 2 messages May 17, 2022

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 arm64: dts: ti: k3-am625-sk: enable ramoops

Enable ramoops fetures to easily debug some issues.

---
Changes in :
v3:
- run dtbs_check

v2:
- Apply script create-mem_map.py with args given by Nishanth Menon
- Spelling fix

---
 arch/arm64/boot/dts/ti/k3-am625-sk.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/ti/k3-am625-sk.dts +9 -0
index 0de4113ccd5d..62d8503b5923 100644
@@ -36,6 +36,15 @@ reserved-memory {
 		#size-cells = <2>;
 		ranges;
 
+		ramoops@9ca00000 {
+			compatible = "ramoops";
+			reg = <0x00 0x9ca00000 0x00 0x00100000>;
+			record-size = <0x8000>;
+			console-size = <0x8000>;
+			ftrace-size = <0x00>;
+			pmsg-size = <0x8000>;
+		};
+
 		secure_tfa_ddr: tfa@9e780000 {
 			reg = <0x00 0x9e780000 0x00 0x80000>;
 			alignment = <0x1000>;

--
2.25.1

#1 lore raw

please ignore, i do typo in commit message...

guillaume

Le 17/05/2022 à 14:21, Guillaume La Roque a écrit :

Quoted 39 lines

Enable ramoops fetures to easily debug some issues.

---
Changes in :
v3:
- run dtbs_check

v2:
- Apply script create-mem_map.py with args given by Nishanth Menon
- Spelling fix

---
  arch/arm64/boot/dts/ti/k3-am625-sk.dts | 9 +++++++++
  1 file changed, 9 insertions(+)
arch/arm64/boot/dts/ti/k3-am625-sk.dts +9 -1
index 0de4113ccd5d..62d8503b5923 100644
@@ -36,6 +36,15 @@ reserved-memory {
  		#size-cells = <2>;
  		ranges;
 
+		ramoops@9ca00000 {
+			compatible = "ramoops";
+			reg = <0x00 0x9ca00000 0x00 0x00100000>;
+			record-size = <0x8000>;
+			console-size = <0x8000>;
+			ftrace-size = <0x00>;
+			pmsg-size = <0x8000>;
+		};
+
  		secure_tfa_ddr: tfa@9e780000 {
  			reg = <0x00 0x9e780000 0x00 0x80000>;
  			alignment = <0x1000>;
--

2.25.1