bcm53xx: activate early printk
authorHauke Mehrtens <hauke@openwrt.org>
Sat, 1 Nov 2014 13:57:50 +0000 (13:57 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Sat, 1 Nov 2014 13:57:50 +0000 (13:57 +0000)
This makes it possible to activate early printk.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43145 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/bcm53xx/patches-3.14/048-ARM-BCM5310X-activate-early-printk-for-Netgear-R6250.patch [new file with mode: 0644]
target/linux/bcm53xx/patches-3.14/302-ARM-BCM5301X-Add-DT-for-Netgear-R6300-V2.patch
target/linux/bcm53xx/patches-3.14/303-ARM-BCM5301X-Add-DT-for-Buffalo-WZR-1750DHP.patch
target/linux/bcm53xx/patches-3.14/304-ARM-BCM5301X-Add-DT-for-Asus-RT-N18U.patch
target/linux/bcm53xx/patches-3.14/305-ARM-BCM5301X-Add-DT-for-Buffalo-WZR-600DHP2.patch
target/linux/bcm53xx/patches-3.18/048-ARM-BCM5310X-activate-early-printk-for-Netgear-R6250.patch [new file with mode: 0644]
target/linux/bcm53xx/patches-3.18/302-ARM-BCM5301X-Add-DT-for-Netgear-R6300-V2.patch
target/linux/bcm53xx/patches-3.18/303-ARM-BCM5301X-Add-DT-for-Buffalo-WZR-1750DHP.patch
target/linux/bcm53xx/patches-3.18/304-ARM-BCM5301X-Add-DT-for-Asus-RT-N18U.patch
target/linux/bcm53xx/patches-3.18/305-ARM-BCM5301X-Add-DT-for-Buffalo-WZR-600DHP2.patch

diff --git a/target/linux/bcm53xx/patches-3.14/048-ARM-BCM5310X-activate-early-printk-for-Netgear-R6250.patch b/target/linux/bcm53xx/patches-3.14/048-ARM-BCM5310X-activate-early-printk-for-Netgear-R6250.patch
new file mode 100644 (file)
index 0000000..0dbb5ce
--- /dev/null
@@ -0,0 +1,23 @@
+From 5e7384adfd587ded31a107f059ebf929acc105c3 Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <hauke@hauke-m.de>
+Date: Sat, 1 Nov 2014 12:48:45 +0100
+Subject: [PATCH] ARM: BCM5310X: activate early printk for Netgear R6250
+
+This activates early printk on the Netgear R6250 by default.
+
+Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+---
+ arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
++++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
+@@ -16,7 +16,7 @@
+       model = "Netgear R6250 V1 (BCM4708)";
+       chosen {
+-              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
+       };
+       memory {
index d0cd9bb..e366076 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +      model = "Netgear R6300 V2 (BCM4708)";
 +
 +      chosen {
-+              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
 +      };
 +
 +      memory {
index 5890740..a24ea11 100644 (file)
@@ -44,7 +44,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +      model = "Buffalo WZR-1750DHP (BCM4708)";
 +
 +      chosen {
-+              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
 +      };
 +
 +      memory {
index 763fb23..2dfe3b1 100644 (file)
@@ -49,7 +49,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +      model = "Asus RT-N18U (BCM47081)";
 +
 +      chosen {
-+              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
 +      };
 +
 +      memory {
index f2e5e50..c2ea67f 100644 (file)
@@ -46,7 +46,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +      model = "Buffalo WZR-600DHP2 (BCM47081)";
 +
 +      chosen {
-+              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
 +      };
 +
 +      memory {
diff --git a/target/linux/bcm53xx/patches-3.18/048-ARM-BCM5310X-activate-early-printk-for-Netgear-R6250.patch b/target/linux/bcm53xx/patches-3.18/048-ARM-BCM5310X-activate-early-printk-for-Netgear-R6250.patch
new file mode 100644 (file)
index 0000000..0dbb5ce
--- /dev/null
@@ -0,0 +1,23 @@
+From 5e7384adfd587ded31a107f059ebf929acc105c3 Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <hauke@hauke-m.de>
+Date: Sat, 1 Nov 2014 12:48:45 +0100
+Subject: [PATCH] ARM: BCM5310X: activate early printk for Netgear R6250
+
+This activates early printk on the Netgear R6250 by default.
+
+Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+---
+ arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
++++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
+@@ -16,7 +16,7 @@
+       model = "Netgear R6250 V1 (BCM4708)";
+       chosen {
+-              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
+       };
+       memory {
index ca4c956..dcb197c 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +      model = "Netgear R6300 V2 (BCM4708)";
 +
 +      chosen {
-+              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
 +      };
 +
 +      memory {
index b8b0a5f..42ffe15 100644 (file)
@@ -44,7 +44,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +      model = "Buffalo WZR-1750DHP (BCM4708)";
 +
 +      chosen {
-+              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
 +      };
 +
 +      memory {
index d0f5a86..d40c69e 100644 (file)
@@ -49,7 +49,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +      model = "Asus RT-N18U (BCM47081)";
 +
 +      chosen {
-+              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
 +      };
 +
 +      memory {
index 6d6baa3..2303f7a 100644 (file)
@@ -46,7 +46,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +      model = "Buffalo WZR-600DHP2 (BCM47081)";
 +
 +      chosen {
-+              bootargs = "console=ttyS0,115200";
++              bootargs = "console=ttyS0,115200 earlyprintk";
 +      };
 +
 +      memory {