From aac5294a27b3b0b7f5ccf27f409670e720bf7239 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 18 Jan 2016 17:51:54 +0000 Subject: [PATCH] arc770/axs101: fix console output While bumping kernel version kernel command line was unintentionally modified in attempt to make it closer to upstream version. In case of AXS that has not only serial port but HDMI/USB both capable of being debug console we have 2 entries in kernel's command line: ------------------->8----------------- console=tty0 console=ttyS3,115200n8 ------------------->8----------------- But as it turned out OpenWRT uses procd as init instead of Busybox. And in its turn procd gets the first "console" entry from kernel command line (/proc/cmdline) and uses it if default inittab is used: ------------------->8----------------- ... ::askconsole:/bin/ash --login ------------------->8----------------- So what we got is non-functional serial console. That change removes "console=tty0" which brings serial console back to life. Signed-off-by: Alexey Brodkin Cc: Felix Fietkau Cc: Jo-Philipp Wich Cc: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48325 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/arc770/dts/axs101.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/arc770/dts/axs101.dts b/target/linux/arc770/dts/axs101.dts index 769e81a433..8718eb46cc 100644 --- a/target/linux/arc770/dts/axs101.dts +++ b/target/linux/arc770/dts/axs101.dts @@ -17,6 +17,6 @@ compatible = "snps,axs101", "snps,arc-sdp"; chosen { - bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0"; + bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=ttyS3,115200n8"; }; }; -- 2.11.0