From 9673d5c7ab9b9018a6e87fa6a4b26624c7b1f96f Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Tue, 5 Nov 2019 00:39:42 +0100 Subject: [PATCH] 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 --- target/linux/mxs/base-files/etc/inittab | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1