Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1243514 > unrolled thread

[PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter

Started byWei Xu <xuwei5@hisilicon.com>
First post2015-10-09 18:20 +0200
Last post2015-10-12 10:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs  parameter Wei Xu <xuwei5@hisilicon.com> - 2015-10-09 18:20 +0200
    Re: [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter Arnd Bergmann <arnd@arndb.de> - 2015-10-09 20:30 +0200
      Re: [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs  parameter Wei Xu <xuwei5@hisilicon.com> - 2015-10-12 10:20 +0200

#1243514 — [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter

FromWei Xu <xuwei5@hisilicon.com>
Date2015-10-09 18:20 +0200
Subject[PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter
Message-ID<qhIyL-7ea-23@gated-at.bofh.it>
Replace console with stdout-path so that we don't have to put the
console on the kernel command line.

Remove earlyprintk to allow the kernel to boot on a system even
if DEBUG_LL is configured for another system.

Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Tested-by: Zhangfei Gao <zhangfei.gao@linaro.org>
---
 arch/arm/boot/dts/hi3620-hi4511.dts  | 3 ++-
 arch/arm/boot/dts/hisi-x5hd2-dkb.dts | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/hi3620-hi4511.dts b/arch/arm/boot/dts/hi3620-hi4511.dts
index fe62392..a579fbf 100644
--- a/arch/arm/boot/dts/hi3620-hi4511.dts
+++ b/arch/arm/boot/dts/hi3620-hi4511.dts
@@ -16,7 +16,8 @@
     compatible = "hisilicon,hi3620-hi4511";

     chosen {
-        bootargs = "console=ttyAMA0,115200 root=/dev/ram0 earlyprintk";
+        bootargs = "root=/dev/ram0";
+        stdout-path = "serial0:115200n8";
     };

     memory {
diff --git a/arch/arm/boot/dts/hisi-x5hd2-dkb.dts b/arch/arm/boot/dts/hisi-x5hd2-dkb.dts
index 721b092..d13af84 100644
--- a/arch/arm/boot/dts/hisi-x5hd2-dkb.dts
+++ b/arch/arm/boot/dts/hisi-x5hd2-dkb.dts
@@ -15,7 +15,7 @@
     compatible = "hisilicon,hix5hd2";

     chosen {
-        bootargs = "console=ttyAMA0,115200 earlyprintk";
+        stdout-path = "serial0:115200n8";
     };

     cpus {
-- 1.9.1


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1243587 — Re: [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter

FromArnd Bergmann <arnd@arndb.de>
Date2015-10-09 20:30 +0200
SubjectRe: [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter
Message-ID<qhKAy-1Gw-25@gated-at.bofh.it>
In reply to#1243514
On Friday 09 October 2015 17:10:36 Wei Xu wrote:
> Replace console with stdout-path so that we don't have to put the
> console on the kernel command line.
> 
> Remove earlyprintk to allow the kernel to boot on a system even
> if DEBUG_LL is configured for another system.
> 
> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
> Tested-by: Zhangfei Gao <zhangfei.gao@linaro.org>
> 

Looks good to me. Do you want us to apply the patch directly, or
do you plan to send a pull request?

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1244471

FromWei Xu <xuwei5@hisilicon.com>
Date2015-10-12 10:20 +0200
Message-ID<qiGuR-1Ag-5@gated-at.bofh.it>
In reply to#1243587

On 10/9/2015 7:26 PM, Arnd Bergmann wrote:
> On Friday 09 October 2015 17:10:36 Wei Xu wrote:
>> Replace console with stdout-path so that we don't have to put the
>> console on the kernel command line.
>>
>> Remove earlyprintk to allow the kernel to boot on a system even
>> if DEBUG_LL is configured for another system.
>>
>> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
>> Tested-by: Zhangfei Gao <zhangfei.gao@linaro.org>
>>

Hi Arnd,

> 
> Looks good to me. Do you want us to apply the patch directly, or
> do you plan to send a pull request?

Thanks!
I will send a pull request today.

Best Regards,
Wei

> 
> 	Arnd
> 
> .
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web