aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mxs/base-files
diff options
context:
space:
mode:
authorMichael Heimpold <mhei@heimpold.de>2019-11-05 00:39:42 +0100
committerZoltan HERPAI <wigyori@uid0.hu>2019-11-09 12:56:34 +0100
commit9673d5c7ab9b9018a6e87fa6a4b26624c7b1f96f (patch)
tree0d32b1912e7d86ea9e1a337c1c30988e1e8876ae /target/linux/mxs/base-files
parent9a5fd2fa85b97e262d765f14ac02f5e04c927ca2 (diff)
downloadupstream-9673d5c7ab9b9018a6e87fa6a4b26624c7b1f96f.tar.gz
upstream-9673d5c7ab9b9018a6e87fa6a4b26624c7b1f96f.tar.bz2
upstream-9673d5c7ab9b9018a6e87fa6a4b26624c7b1f96f.zip
mxs: start a console on USB gadget serial ports
The I2SE Duckbill devices are pen-drive like and thus the usage of the USB gadget subsystem is highly indicated. Spawning a console if a serial gadget is configured saves us from connecting a physical debug uart. On Olimex OLinuXino Maxi/Mini boards, this does not hurt. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'target/linux/mxs/base-files')
-rw-r--r--target/linux/mxs/base-files/etc/inittab1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mxs/base-files/etc/inittab b/target/linux/mxs/base-files/etc/inittab
index 9820e7144b..253036402d 100644
--- a/target/linux/mxs/base-files/etc/inittab
+++ b/target/linux/mxs/base-files/etc/inittab
@@ -1,3 +1,4 @@
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K shutdown
::askconsole:/usr/libexec/login.sh
+ttyGS0::askfirst:/usr/libexec/login.sh