From: Michael Heimpold Date: Mon, 4 Nov 2019 23:39:42 +0000 (+0100) Subject: mxs: start a console on USB gadget serial ports X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9673d5c7ab9b9018a6e87fa6a4b26624c7b1f96f;p=oweals%2Fopenwrt.git 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 --- 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