lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 9 Oct 2015 17:10:36 +0100
From:	Wei Xu <xuwei5@...ilicon.com>
To:	Arnd Bergmann <arnd@...db.de>, Kevin Hilman <khilman@...aro.org>,
	"Olof Johansson" <olof@...om.net>,
	Haojian Zhuang <haojian.zhuang@...aro.org>
CC:	Yanhaifeng <yanhaifeng@...ilicon.com>,
	Jiancheng Xue <xuejiancheng@...wei.com>,
	Zhangfei Gao <zhangfei.gao@...aro.org>,
	Wei Xu <xuwei5@...ilicon.com>, <devicetree@...r.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Linuxarm <linuxarm@...wei.com>
Subject: [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs
 parameter

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@...ilicon.com>
Tested-by: Zhangfei Gao <zhangfei.gao@...aro.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ