Skip to contentSkip to conversation

ARM: dts: Enable earlycon stdout path for LogicPD torpedo

PATCH In review Tony Lindgren 2 participants 3 messages May 22, 2017 1 message not in the archive Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: Enable earlycon stdout path for LogicPD torpedo

As long as the kernel cmdline has "earlycon" in it, this allows seeing debug messages earlier and does not require DEBUG_LL to be enabled.

---
 arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/logicpd-torpedo-som.dtsi +4 -0
@@ -7,6 +7,10 @@
 #include <dt-bindings/input/input.h>
 
 / {
+	chosen {
+		stdout-path = &uart1;
+	};
+
 	cpus {
 		cpu@0 {
 			cpu0-supply = <&vcc>;
Signature · 5 lines
2.13.0
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170522161346.10591-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

#2 lore raw

PATCH 2/2 ARM: dts: Enable earlycon stdout path for duovero

As long as the kernel cmdline has "earlycon" in it, this allows seeing debug messages earlier and does not require DEBUG_LL to be enabled.

---
 arch/arm/boot/dts/omap4-duovero.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/omap4-duovero.dtsi +4 -0
@@ -12,6 +12,10 @@
 	model = "Gumstix Duovero";
 	compatible = "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4";
 
+	chosen {
+		stdout-path = &uart3;
+	};
+
 	memory@80000000 {
 		device_type = "memory";
 		reg = <0x80000000 0x40000000>; /* 1 GB */
Signature · 5 lines
2.13.0
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Acked-by
#3 lore raw
In reply to a message not in the archive
Quoted 3 lines · Tony Lindgren

As long as the kernel cmdline has "earlycon" in it, this allows seeing debug messages earlier and does not require DEBUG_LL to be enabled.

Thanks for doing that. I was meaning to do that after I found it was necessary for porting OMAP3 device tree stuff to U-Boot. I just got distracted and forgot to do it.

Quoted 3 lines
Quoted 19 lines
---
 arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/logicpd-torpedo-som.dtsi +4 -1
@@ -7,6 +7,10 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       chosen {
+               stdout-path = &uart1;
+       };
+
        cpus {
                cpu@0 {
                        cpu0-supply = <&vcc>;
--
Quoted 1 line

2.13.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html