Skip to contentSkip to conversation

ARM: BCM5301X: Enable earlycon on tested devices

PATCH New Rafał Miłecki 3 participants 3 messages Apr 6, 2016 – Apr 13, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: BCM5301X: Enable earlycon on tested devices

This allows reporting & debugging problems occurring early in the boot process.

---
 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts  | 2 +-
 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts       | 2 +-
 arch/arm/boot/dts/bcm4708-netgear-r6250.dts        | 2 +-
 arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts      | 2 +-
 arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 2 +-
 arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts      | 2 +-
 arch/arm/boot/dts/bcm5301x.dtsi                    | 4 ++++
 7 files changed, 10 insertions(+), 6 deletions(-)
arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts +1 -1
index fb62ed6..5087aa8 100644
@@ -17,7 +17,7 @@
 	model = "Buffalo WZR-1750DHP (BCM4708)";
 
 	chosen {
-		bootargs = "console=ttyS0,115200";
+		bootargs = "console=ttyS0,115200 earlycon";
 	};
 
 	memory {
arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts +1 -1
index f18e80e..c973f768 100644
@@ -17,7 +17,7 @@
 	model = "Luxul XWC-1000 (BCM4708)";
 
 	chosen {
-		bootargs = "console=ttyS0,115200";
+		bootargs = "console=ttyS0,115200 earlycon";
 	};
 
 	memory {
arch/arm/boot/dts/bcm4708-netgear-r6250.dts +1 -1
index 6bebfa6..1049ab1 100644
@@ -17,7 +17,7 @@
 	model = "Netgear R6250 V1 (BCM4708)";
 
 	chosen {
-		bootargs = "console=ttyS0,115200";
+		bootargs = "console=ttyS0,115200 earlycon";
 	};
 
 	memory {
arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts +1 -1
index 64a5e8a..4d610ff 100644
@@ -17,7 +17,7 @@
 	model = "SmartRG SR400ac";
 
 	chosen {
-		bootargs = "console=ttyS0,115200";
+		bootargs = "console=ttyS0,115200 earlycon";
 	};
 
 	memory {
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts +1 -1
index 38f0c00..a9c8def 100644
@@ -17,7 +17,7 @@
 	model = "Buffalo WZR-600DHP2 (BCM47081)";
 
 	chosen {
-		bootargs = "console=ttyS0,115200";
+		bootargs = "console=ttyS0,115200 earlycon";
 	};
 
 	memory {
arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts +1 -1
index 9205c03..ace38ef 100644
@@ -17,7 +17,7 @@
 	model = "D-Link DIR-885L";
 
 	chosen {
-		bootargs = "console=ttyS0,115200";
+		bootargs = "console=ttyS0,115200 earlycon";
 	};
 
 	memory {
arch/arm/boot/dts/bcm5301x.dtsi +4 -0
index b3e9d28..9c06d91 100644
@@ -18,6 +18,10 @@
 / {
 	interrupt-parent = <&gic>;
 
+	chosen {
+		stdout-path = &uart0;
+	};
+
 	chipcommonA {
 		compatible = "simple-bus";
 		ranges = <0x00000000 0x18000000 0x00001000>;
Signature · 1 line
1.8.4.5