arm: dts: vexpress: Set chosen 'stdout-path'
Subsystems (2)
Rob Herring
maintainerRFC PATCH 1/1 arm: dts: vexpress: Set chosen 'stdout-path'
Using chosen 'stdout-path' is the preferred way to set the console, but several Arm, Ltd. platforms don't set it. Set it to the 1st serial port.
---
RFC because I don't have any idea what the baud rate is for real boards. If anyone knows, please comment and I'll add it.
arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts | 4 +++- arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 4 +++- arch/arm/boot/dts/vexpress-v2p-ca5s.dts | 4 +++- arch/arm/boot/dts/vexpress-v2p-ca9.dts | 4 +++- arch/arm64/boot/dts/arm/foundation-v8.dtsi | 4 +++- arch/arm64/boot/dts/arm/fvp-base-revc.dts | 4 +++- arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 4 +++- 7 files changed, 21 insertions(+), 7 deletions(-)
arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts +3 -1
@@ -20,7 +20,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;
arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts +3 -1
@@ -20,7 +20,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;
arch/arm/boot/dts/vexpress-v2p-ca5s.dts +3 -1
@@ -20,7 +20,9 @@ / { #address-cells = <1>; #size-cells = <1>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;
arch/arm/boot/dts/vexpress-v2p-ca9.dts +3 -1
@@ -20,7 +20,9 @@ / { #address-cells = <1>; #size-cells = <1>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;
arch/arm64/boot/dts/arm/foundation-v8.dtsi +3 -1
@@ -18,7 +18,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;
arch/arm64/boot/dts/arm/fvp-base-revc.dts +3 -1
@@ -24,7 +24,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;
arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts +3 -1
@@ -23,7 +23,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;
Signature · 1 line
2.30.2
Liviu Dudau
maintainerHi Rob,
Quoted 11 lines · Rob Herring
Using chosen 'stdout-path' is the preferred way to set the console, but several Arm, Ltd. platforms don't set it. Set it to the 1st serial port.
Cc Liviu Dudau <[email protected]>Cc Sudeep Holla <[email protected]>Cc Lorenzo Pieralisi <[email protected]>Signed-off-by Rob Herring <[email protected]>---
RFC because I don't have any idea what the baud rate is for real boards. If anyone knows, please comment and I'll add it.
I believe all of them default to 115200,8n1 but I'm only sure about the first two boards.
Best regards,
Liviu
Quoted 118 lines
arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts | 4 +++- arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 4 +++- arch/arm/boot/dts/vexpress-v2p-ca5s.dts | 4 +++- arch/arm/boot/dts/vexpress-v2p-ca9.dts | 4 +++- arch/arm64/boot/dts/arm/foundation-v8.dtsi | 4 +++- arch/arm64/boot/dts/arm/fvp-base-revc.dts | 4 +++- arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 4 +++- 7 files changed, 21 insertions(+), 7 deletions(-)arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts +3
-1@@ -20,7 +20,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts +3
-1@@ -20,7 +20,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;arch/arm/boot/dts/vexpress-v2p-ca5s.dts +3
-1@@ -20,7 +20,9 @@ / { #address-cells = <1>; #size-cells = <1>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;arch/arm/boot/dts/vexpress-v2p-ca9.dts +3
-1@@ -20,7 +20,9 @@ / { #address-cells = <1>; #size-cells = <1>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;arch/arm64/boot/dts/arm/foundation-v8.dtsi +3
-1@@ -18,7 +18,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;arch/arm64/boot/dts/arm/fvp-base-revc.dts +3
-1@@ -24,7 +24,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts +3
-1@@ -23,7 +23,9 @@ / { #address-cells = <2>; #size-cells = <2>; - chosen { }; + chosen { + stdout-path = "serial0"; + }; aliases { serial0 = &v2m_serial0;Signature · 1 line
2.30.2
Signature · 8 lines
====================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
¯\_(ツ)_/¯Quoted 15 lines · Liviu Dudau
Hi Rob,
Quoted 11 lines · Rob Herring
Using chosen 'stdout-path' is the preferred way to set the console, but several Arm, Ltd. platforms don't set it. Set it to the 1st serial port.
Cc Liviu Dudau <[email protected]>Cc Sudeep Holla <[email protected]>Cc Lorenzo Pieralisi <[email protected]>Signed-off-by Rob Herring <[email protected]>---
RFC because I don't have any idea what the baud rate is for real boards. If anyone knows, please comment and I'll add it.
Quoted 3 lines
I believe all of them default to 115200,8n1 but I'm only sure about the first two boards.
Sorry to contradict, but I ran TC2 this Monday with 38400 baud. So the first four must be 38400, as the uart is in the MB IOFPGA and we just change the coretile DB to get the first 4 platforms. Juno and N1SDP have SoC uart and they are configured by default to 115200 IIUC.
Signature · 2 lines
Regards, Sudeep
Liviu Dudau
maintainerQuoted 16 lines · Sudeep Holla
Quoted 15 lines · Liviu Dudau
Hi Rob,
Quoted 11 lines · Rob Herring
Using chosen 'stdout-path' is the preferred way to set the console, but several Arm, Ltd. platforms don't set it. Set it to the 1st serial port.
Cc Liviu Dudau <[email protected]>Cc Sudeep Holla <[email protected]>Cc Lorenzo Pieralisi <[email protected]>Signed-off-by Rob Herring <[email protected]>---
RFC because I don't have any idea what the baud rate is for real boards. If anyone knows, please comment and I'll add it.
Quoted 8 lines
Quoted 3 lines
I believe all of them default to 115200,8n1 but I'm only sure about the first two boards.
Sorry to contradict, but I ran TC2 this Monday with 38400 baud. So the first four must be 38400, as the uart is in the MB IOFPGA and we just change the coretile DB to get the first 4 platforms. Juno and N1SDP have SoC uart and they are configured by default to 115200 IIUC.
Huh, you're right! I guess I was trying to cover some painful memories :) Sorry for the noise Rob, please listen to Sudeep.
Best regards,
Liviu
Quoted 4 lines
Signature · 3 lines
-- Regards, Sudeep
Signature · 8 lines
====================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
¯\_(ツ)_/¯