All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter
@ 2015-10-09 16:10 ` Wei Xu
  0 siblings, 0 replies; 9+ messages in thread
From: Wei Xu @ 2015-10-09 16:10 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson, Haojian Zhuang
  Cc: Yanhaifeng, Jiancheng Xue, Zhangfei Gao, Wei Xu, devicetree,
	linux-arm-kernel, linux-kernel, Linuxarm

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



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter
@ 2015-10-09 16:10 ` Wei Xu
  0 siblings, 0 replies; 9+ messages in thread
From: Wei Xu @ 2015-10-09 16:10 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson, Haojian Zhuang
  Cc: Yanhaifeng, Jiancheng Xue, Zhangfei Gao, Wei Xu,
	devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel,
	linux-kernel, Linuxarm

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-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
Tested-by: Zhangfei Gao <zhangfei.gao-QSEj5FYQhm4dnm+yROfE0A@public.gmane.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 devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter
@ 2015-10-09 16:10 ` Wei Xu
  0 siblings, 0 replies; 9+ messages in thread
From: Wei Xu @ 2015-10-09 16:10 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter
  2015-10-09 16:10 ` Wei Xu
  (?)
@ 2015-10-09 18:26   ` Arnd Bergmann
  -1 siblings, 0 replies; 9+ messages in thread
From: Arnd Bergmann @ 2015-10-09 18:26 UTC (permalink / raw)
  To: Wei Xu
  Cc: Kevin Hilman, Olof Johansson, Haojian Zhuang, Yanhaifeng,
	Jiancheng Xue, Zhangfei Gao, devicetree, linux-arm-kernel,
	linux-kernel, Linuxarm

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter
@ 2015-10-09 18:26   ` Arnd Bergmann
  0 siblings, 0 replies; 9+ messages in thread
From: Arnd Bergmann @ 2015-10-09 18:26 UTC (permalink / raw)
  To: Wei Xu
  Cc: devicetree, Kevin Hilman, Linuxarm, Yanhaifeng, linux-kernel,
	Jiancheng Xue, Haojian Zhuang, Olof Johansson, Zhangfei Gao,
	linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter
@ 2015-10-09 18:26   ` Arnd Bergmann
  0 siblings, 0 replies; 9+ messages in thread
From: Arnd Bergmann @ 2015-10-09 18:26 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter
  2015-10-09 18:26   ` Arnd Bergmann
  (?)
@ 2015-10-12  8:11     ` Wei Xu
  -1 siblings, 0 replies; 9+ messages in thread
From: Wei Xu @ 2015-10-12  8:11 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Kevin Hilman, Olof Johansson, Haojian Zhuang, Yanhaifeng,
	Jiancheng Xue, Zhangfei Gao, devicetree, linux-arm-kernel,
	linux-kernel, Linuxarm



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
> 
> .
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter
@ 2015-10-12  8:11     ` Wei Xu
  0 siblings, 0 replies; 9+ messages in thread
From: Wei Xu @ 2015-10-12  8:11 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Kevin Hilman, Olof Johansson, Haojian Zhuang, Yanhaifeng,
	Jiancheng Xue, Zhangfei Gao, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel, linux-kernel, Linuxarm



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-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
>> Tested-by: Zhangfei Gao <zhangfei.gao-QSEj5FYQhm4dnm+yROfE0A@public.gmane.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 devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter
@ 2015-10-12  8:11     ` Wei Xu
  0 siblings, 0 replies; 9+ messages in thread
From: Wei Xu @ 2015-10-12  8:11 UTC (permalink / raw)
  To: linux-arm-kernel



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
> 
> .
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-10-12  8:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-09 16:10 [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter Wei Xu
2015-10-09 16:10 ` Wei Xu
2015-10-09 16:10 ` Wei Xu
2015-10-09 18:26 ` Arnd Bergmann
2015-10-09 18:26   ` Arnd Bergmann
2015-10-09 18:26   ` Arnd Bergmann
2015-10-12  8:11   ` Wei Xu
2015-10-12  8:11     ` Wei Xu
2015-10-12  8:11     ` Wei Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.