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 50c011acaae6216c9c863049b6bc7ee78665efce..a94014b0f982bcb0a3a82b13bd9dbebdda661d48 100644 (file)
@@ -5,6 +5,10 @@
 / {
        model = "ACMP252 - AudioCodes MediaPack MP-252";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        memory@0 {
                reg = <0x0 0x4000000>;
        };
index 58507672a609658ddbccdbae2105cd74d5b88419..17609e25ba6969f755104def7dd8483513597652 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV4510PW - Wippies, Elisa";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power2;
index c527147e91d85b64821e6e76321b7f7ae06a32f9..8e712bfec6e646f6c540dadf29438c243a625e44 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 fe0f9a7ac41c91b268104f284ed5d5aae5899042..86c0d487634840a2369b717c02e5292660c55eac 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 2ad3a8a0803c533333f1b12756b840295bb8a146..030e316c87091bbc6ac0cf3ac36f260425731eea 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 8d47b3b7db2d904df16b4f1b27901939de997dff..6bc0796f9e76f3794f3ccedd0bbef0705a769195 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 d47567fe9326a0262bc16ae9e39afa6e83622a15..53ff3b7e945b52a1035ac17fa73caa3cdd53452a 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV7510PW22 - Astoria Networks";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power;
index b7e2295b8ce936cb28fa1c9ac9992ce76f1a9767..a0544372581076f089a28143c31abbb85c566e75 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 baa1e263645c4180f7d42624087568908629a6ea..cc6786833fd0541435573087437ed18b198e290e 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "ARV7519PW - Astoria Networks";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power2;
index 3cc91df948b76a0c96b446266ee95aeb1c93dc7a..14be6f2ca713c68a1d2737b0b3baec5c1bf1091b 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 849a7b56be9354498e0ace6bfe03a59e6509f1b6..7d643be2fd7a9629707af14768473b50e27ff748 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 d6dc99bd488cd46aa7fb3cbdf8879d80a665cb23..b68a17cd1b187f69356acf2a04911ffdfc5a15c5 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 7636b1ba6f3039408559425c85b24d76a4ba90d3..225dfaaaacc3223d581356b452e97fb4581acb71 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 69f4448bc15136311d8253dfab4bbdf8616bc985..751368bc74e3a2ca0d802be96d5a122799e236fa 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 2cd098905da90e0f1c85cfa1d07e415448605537..a9096320228fd729aded93f788f11a79eb1c97ec 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 2d201ffa5235edbb6527a086b48e1234531ba339..7f19e5291ff49c31da3703bd296dba0535997148 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 5999bdc310d972cf5a33efa9a8c7e201a1f81348..558658292e9d1858e2ea8a58e0a3727487958e54 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "DGN1000B - Netgear DGN1000B";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power;
index 52cd895b48c2bc6accbe6cfac9fdac525a8bc194..5528d5994b8f1d16ff869683230ef589e65c83f2 100644 (file)
@@ -4,7 +4,7 @@
 
 / {
        chosen {
-               bootargs = "root=";
+               bootargs = "root= console=ttyLTQ0,115200";
        };
 
        aliases {
index b1409b039b690a8d266ed7425f9107d94e99b9c5..ec3516ca8cc92fef60ed0fed943d348616f3ac1c 100644 (file)
@@ -5,6 +5,10 @@
 / {
        model = "EASY50712 - Intel EASY50712 Nand";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        memory@0 {
                reg = <0x0 0x2000000>;
        };
index edba7a5d554e192481e23563ad963584a640fffd..7c274a15a65853fab7787e01a3f83e81652509a7 100644 (file)
@@ -3,6 +3,10 @@
 #include "ar9.dtsi"
 
 / {
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        memory@0 {
                reg = <0x0 0x2000000>;
        };
index 8e15ca89a22f9dd96b451f9e09694d87ae293c43..aa646c8746c1fc95b70f97a7236329b0717f5064 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 1b4b28ca95ce65946426e21e9f278a1de4f87383..1e2e90ca1b462e6ee4d1ffca1ea82ea9098cf5f6 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 e31981e3f44859cc04ebe2c4cfdeb4ce9bd25007..1d3e02f9aafbd8bb720fbaa206c5ec7ac5fe5e2e 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "FRITZ7320 - 1&1 HomeServer";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        aliases {
                led-boot = &power;
                led-failsafe = &power;
index 8ecc8610ef022bb1a862e504a03af860600254f1..b4b12246ced62530a127455bc4647fded5a7b94d 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 43471b31b93d04a3048dd33a20b4db6a75dbf07e..f5707e9c9b94bbb1917d44a8d164e0b5b1f5edd6 100644 (file)
@@ -7,6 +7,10 @@
 / {
        model = "GIGASX76X - Gigaset SX761,SX762,SX763";
 
+       chosen {
+               bootargs = "console=ttyLTQ0,115200";
+       };
+
        memory@0 {
                reg = <0x0 0x2000000>;
        };
index a080b2747119f5f980f89e6786d7157cbd8f9062..a24d7590e4a93df35e48ba2d18de5b04e8cf05a9 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 d9f94602d75ae0c8bdcadb620c84eb0280106a1c..7bfd52cf571c72afa20d3c3657cf19277ef02a33 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 14dcfd40bb95f14b00e89961a995126c972b7c08..cc133f65ff177e75c3e236da644ed50fc7e516ec 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 96ade58a8afdca43d8c7eb6d4dfa45882bd414c0..4252297df766ca5ac5f31e54909a8f7a18425c9c 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 9cbb9753d7064cbf2728b7360ab84a69139b0f8b..d2a6136d4fdf7c3925f2c4cca26cb84b3826283f 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 e002c7daabe2a85e5270f41ec23c883a9face451..fa46e07670776ce553aeb1c084b06adfa22baf0d 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 fbb5ec4b5e2dc9ac7d83f7eb86a8e1faa9f4b550..9080d8d99780bfc8425ea44c30ccdca7b879ef67 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 923a7d3c6046393c8a243a584d362d0b165cf7ee..29d4279a6cca16c0942157d0db4e31e63d86fdc6 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 24fbc557fc11d0115faa17b7d4d40460c44b8769..79d7b63bffd793f1eaa5c7d34d0fcded04141a3d 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 c0c5b7c013b94df33dce2c73ddf96a5aed5592b3..d89e8a19dbb5beb757f99746d675ebb993e3d4a5 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;