lantiq: fix console print
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 4 Jan 2017 20:53:22 +0000 (21:53 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 5 Jan 2017 22:10:44 +0000 (23:10 +0100)
The boot loader of many boards provides a kernel boot argument with a
broken console parameter to the kernel. This will be taken before the
stdout-path defined in device tree and the serial will not work on this
board. Multiple boards are affected by this problem, so revert this
patch for all boards. Later we can remove the boot arguments from the
device tree again, after the individual board was checked to work.

This partly reverts this commit:
commit 4995c64857a09c4cc92238ba0bd52cdb06c4c581
Author: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Date:   Sun Dec 11 21:55:00 2016 +0100

    lantiq: specify console using stdout-path instead of cmdline argument

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
35 files changed:
target/linux/lantiq/dts/ACMP252.dts
target/linux/lantiq/dts/ARV4510PW.dts
target/linux/lantiq/dts/ARV4518PWR01.dtsi
target/linux/lantiq/dts/ARV4519PW.dts
target/linux/lantiq/dts/ARV4520PW.dts
target/linux/lantiq/dts/ARV452CQW.dts
target/linux/lantiq/dts/ARV7510PW22.dts
target/linux/lantiq/dts/ARV7518PW.dts
target/linux/lantiq/dts/ARV7519PW.dts
target/linux/lantiq/dts/ARV7519RW22.dts
target/linux/lantiq/dts/ARV7525PW.dts
target/linux/lantiq/dts/ARV752DPW.dts
target/linux/lantiq/dts/ARV752DPW22.dts
target/linux/lantiq/dts/BTHOMEHUBV2B.dts
target/linux/lantiq/dts/BTHOMEHUBV3A.dts
target/linux/lantiq/dts/BTHOMEHUBV5A.dts
target/linux/lantiq/dts/DGN1000B.dts
target/linux/lantiq/dts/DGN3500.dtsi
target/linux/lantiq/dts/EASY50712.dts
target/linux/lantiq/dts/EASY50810.dts
target/linux/lantiq/dts/EASY80920.dtsi
target/linux/lantiq/dts/FRITZ3370.dts
target/linux/lantiq/dts/FRITZ7320.dts
target/linux/lantiq/dts/FRITZ7360SL.dts
target/linux/lantiq/dts/GIGASX76X.dts
target/linux/lantiq/dts/H201L.dts
target/linux/lantiq/dts/P2601HNFX.dts
target/linux/lantiq/dts/P2812HNUFX.dtsi
target/linux/lantiq/dts/TDW89X0.dtsi
target/linux/lantiq/dts/VG3503J.dts
target/linux/lantiq/dts/VGV7510KW22.dtsi
target/linux/lantiq/dts/VGV7519.dtsi
target/linux/lantiq/dts/VR200v.dts
target/linux/lantiq/dts/WBMR.dts
target/linux/lantiq/dts/WBMR300.dts

index 50c011a..a94014b 100644 (file)
@@ -5,6 +5,10 @@
 / {
        model = "ACMP252 - AudioCodes MediaPack MP-252";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        memory@0 {
                reg = <0x0 0x4000000>;
        };
index 5850767..17609e2 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV4510PW - Wippies, Elisa";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power2;
index c527147..8e712bf 100644 (file)
@@ -3,6 +3,10 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power;
index fe0f9a7..86c0d48 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV4519PW - Vodafone Netfaster IAD 2, Pirelli P.RG A4201G";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_red;
index 2ad3a8a..030e316 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV4520PW - Easybox 800, WAV-281";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_blue;
                led-failsafe = &power_red;
index 8d47b3b..6bc0796 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV452CQW - Arcor 801";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_blue;
                led-failsafe = &power_red;
index d47567f..53ff3b7 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV7510PW22 - Astoria Networks";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power;
index b7e2295..a054437 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV7518PW - Astoria Networks";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_red;
index baa1e26..cc67868 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV7519PW - Astoria Networks";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power2;
index 3cc91df..14be6f2 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV7519RW22 - Orange Livebox 2.1";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_green;
index 849a7b5..7d643be 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV7525PW - Speedport W303V Typ A";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_red;
index d6dc99b..b68a17c 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV752DPW - Arcor 802";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_red;
                led-failsafe = &power_blue;
index 7636b1b..225dfaa 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV752DPW22 - Arcor 803";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_red;
                led-failsafe = &power_blue;
index 69f4448..751368b 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "BTHOMEHUBV2B - BT Home Hub 2B";  /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_orange;
                led-failsafe = &power_red;
index 2cd0989..a909632 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "BTHOMEHUBV3A - BT Home Hub 3A";  /* SoC: Lantiq ar9 @ 333MHz */
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_orange;
                led-failsafe = &power_red;
index 2d201ff..7f19e52 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "BTHOMEHUBV5A - BT Home Hub 5A";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_red;
index 5999bdc..5586582 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "DGN1000B - Netgear DGN1000B";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power;
index 52cd895..5528d59 100644 (file)
@@ -4,7 +4,7 @@
 
 / {
        chosen {
-               bootargs = "root=";
+               bootargs = "root= console=ttyLTQ0,115200";
        };
 
        aliases {
index b1409b0..ec3516c 100644 (file)
@@ -5,6 +5,10 @@
 / {
        model = "EASY50712 - Intel EASY50712 Nand";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        memory@0 {
                reg = <0x0 0x2000000>;
        };
index edba7a5..7c274a1 100644 (file)
@@ -3,6 +3,10 @@
 #include "ar9.dtsi"
 
 / {
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        memory@0 {
                reg = <0x0 0x2000000>;
        };
index 8e15ca8..aa646c8 100644 (file)
@@ -3,6 +3,10 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power;
index 1b4b28c..1e2e90c 100644 (file)
@@ -8,7 +8,7 @@
        model = "FRITZ3370 - Fritz!Box WLAN 3370";
 
        chosen {
-               bootargs = "ubi.mtd=1,512 root=/dev/mtdblock9";
+               bootargs = "console=ttyLTQ0,115200 ubi.mtd=1,512 root=/dev/mtdblock9";
        };
 
        aliases {
index e31981e..1d3e02f 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "FRITZ7320 - 1&1 HomeServer";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power;
index 8ecc861..b4b1224 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "FRITZ7360SL - 1&1 HomeServer";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_red;
index 43471b3..f5707e9 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "GIGASX76X - Gigaset SX761,SX762,SX763";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        memory@0 {
                reg = <0x0 0x2000000>;
        };
index a080b27..a24d759 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "H201L - ZTE H210L";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_green;
index d9f9460..7bfd52c 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "P2601HNFX - ZyXEL P-2601HN-Fx";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_red;
index 14dcfd4..cc133f6 100644 (file)
@@ -3,6 +3,10 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_red;
index 96ade58..4252297 100644 (file)
@@ -3,6 +3,10 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                /* the power led can't be controlled, use the wps led instead */
                led-boot = &wps;
index 9cbb975..d2a6136 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "VG3503J - BT OpenReach VDSL Modem";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_red;
index e002c7d..fa46e07 100644 (file)
@@ -4,7 +4,7 @@
 
 / {
        chosen {
-               bootargs = "mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1";
+               bootargs = "console=ttyLTQ0,115200 mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1";
        };
 
        aliases {
index fbb5ec4..9080d8d 100644 (file)
@@ -4,7 +4,7 @@
 
 / {
        chosen {
-               bootargs = "mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1";
+               bootargs = "console=ttyLTQ0,115200 mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1";
        };
 
        aliases {
index 923a7d3..29d4279 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "VR200v - TP-LINK Archer VR200v";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power;
index 24fbc55..79d7b63 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "WBMR - Buffalo WBMR-HP-G300H";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_red;
index c0c5b7c..d89e8a1 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "WBMR300 - Buffalo WBMR-300HPD";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power_g;
                led-failsafe = &diag_r;