arm64: dts: ti: k3-am625-sk: enable ramoops
Subsystems (2)
PATCH v2 1/1 arm64: dts: ti: k3-am625-sk: enable ramoops
Enable ramoops features to easily debug some issues
---
Changes in 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
@@ -36,6 +36,15 @@ reserved-memory { #size-cells = <2>; ranges; + ramoops@0x9ca00000 { + compatible = "ramoops"; + reg = <0x0 0xe0000000 0x0 0x00100000>; + record-size = <0x8000>; + console-size = <0x8000>; + ftrace-size = <0x0>; + pmsg-size = <0x8000>; + }; + secure_tfa_ddr: tfa@9e780000 { reg = <0x00 0x9e780000 0x00 0x80000>; alignment = <0x1000>;
--
2.25.1
Nishanth Menon
maintainerQuoted 17 lines · Guillaume La Roque
Enable ramoops features to easily debug some issues
Signed-off-by Guillaume La Roque <[email protected]>Signed-off-by Kevin Hilman <[email protected]>---
Changes in v2:
- Apply scriptcreate-mem_map.pywith 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 +0
-0
arch/arm64/boot/dts/ti/k3-am625-sk.dts reserved-memory { · line 41
Quoted 6 lines
arch/arm64/boot/dts/ti/k3-am625-sk.dts +3
-0@@ -36,6 +36,15 @@ reserved-memory { #size-cells = <2>; ranges; + ramoops@0x9ca00000 { + compatible = "ramoops"; + reg = <0x0 0xe0000000 0x0 0x00100000>;
I think you intended 0x9ca00000 here?
Static checks should have caught this for you. please run them prior to posting?
Quoted 12 lines
arch/arm64/boot/dts/ti/k3-am625-sk.dts +6
-1+ record-size = <0x8000>; + console-size = <0x8000>; + ftrace-size = <0x0>; + pmsg-size = <0x8000>; + }; + secure_tfa_ddr: tfa@9e780000 { reg = <0x00 0x9e780000 0x00 0x80000>; alignment = <0x1000>; --2.25.1
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Le 16/05/2022 à 18:48, Nishanth Menon a écrit :
Quoted 21 lines · Guillaume La Roque
Quoted 20 lines
Enable ramoops features to easily debug some issues
Signed-off-by Guillaume La Roque <[email protected]>Signed-off-by Kevin Hilman <[email protected]>---
Changes in v2:
- Apply scriptcreate-mem_map.pywith 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 +0
-0@@ -36,6 +36,15 @@ reserved-memory { #size-cells = <2>; ranges;
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-am625-sk.dts reserved-memory { · line 41
Quoted 3 lines
arch/arm64/boot/dts/ti/k3-am625-sk.dts +3
-0+ ramoops@0x9ca00000 { + compatible = "ramoops"; + reg = <0x0 0xe0000000 0x0 0x00100000>;I think you intended
0x9ca00000here?Static checks should have caught this for you. please run them prior to posting?
sorry for that i forgot to run it and update line .
i will fix it .
sorry for noise...
Quoted 12 lines
Quoted 12 lines
arch/arm64/boot/dts/ti/k3-am625-sk.dts +6
-1+ record-size = <0x8000>; + console-size = <0x8000>; + ftrace-size = <0x0>; + pmsg-size = <0x8000>; + }; + secure_tfa_ddr: tfa@9e780000 { reg = <0x00 0x9e780000 0x00 0x80000>; alignment = <0x1000>; --2.25.1
Vignesh Raghavendra
maintainerQuoted 28 lines · Guillaume LA ROQUE
Le 16/05/2022 à 18:48, Nishanth Menon a écrit :
Quoted 27 lines · Guillaume La Roque
Quoted 18 lines
Enable ramoops features to easily debug some issues
Signed-off-by Guillaume La Roque <[email protected]>Signed-off-by Kevin Hilman <[email protected]>---
Changes in 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 +0
-0arch/arm64/boot/dts/ti/k3-am625-sk.dts reserved-memory { · line 41
Quoted 6 lines
arch/arm64/boot/dts/ti/k3-am625-sk.dts +3
-0@@ -36,6 +36,15 @@ reserved-memory { #size-cells = <2>; ranges; + ramoops@0x9ca00000 { + compatible = "ramoops"; + reg = <0x0 0xe0000000 0x0 0x00100000>;I think you intended
0x9ca00000here?
Quoted 8 lines
Quoted 2 lines
Static checks should have caught this for you. please run them prior to posting?
sorry for that i forgot to run it and update line .
i will fix it .
sorry for noise...
Also, convention in the file is to use 0x00 instead of 0x0. So,
reg = <0x00 0x9ca00000 0x00 0x100000>;
Quoted 13 lines
Quoted 12 lines
Quoted 12 lines
arch/arm64/boot/dts/ti/k3-am625-sk.dts +6
-0+ record-size = <0x8000>; + console-size = <0x8000>; + ftrace-size = <0x0>; + pmsg-size = <0x8000>; + }; + secure_tfa_ddr: tfa@9e780000 { reg = <0x00 0x9e780000 0x00 0x80000>; alignment = <0x1000>;Signature · 1 line
2.25.1