summaryrefslogtreecommitdiff
path: root/target/linux/arc770
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-18 17:51:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-18 17:51:54 +0000
commit018e84f58d3d23d5c1f629843ada5569723b9f00 (patch)
treecb5c245c3aea160bdd05c2fb5ae563164792184a /target/linux/arc770
parent85ba5805e4ef5aef491a1ececf40c0830164083c (diff)
downloadmtk-20170518-018e84f58d3d23d5c1f629843ada5569723b9f00.zip
mtk-20170518-018e84f58d3d23d5c1f629843ada5569723b9f00.tar.gz
mtk-20170518-018e84f58d3d23d5c1f629843ada5569723b9f00.tar.bz2
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 <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 48325
Diffstat (limited to 'target/linux/arc770')
-rw-r--r--target/linux/arc770/dts/axs101.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/arc770/dts/axs101.dts b/target/linux/arc770/dts/axs101.dts
index 769e81a..8718eb4 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";
};
};