rockbox/utils/ypr0tools/files/common/etc/inittab
Thomas Martitz b828b9d99b samsung ypr0: Include getty service in the patched firmware for usb serial shell access.
The getty service mointors /dev/ttyGS0 (also created by the patched firmware).
When the g_serial.ko module is loaded this automatically enables shell access
via usb. It exposes a cdc-acm device to the host which is compatible to linux
(usb_serial.ko) and windows.

The g_serial.ko is not included module can be build from the YP-R0 open source
package provided by samsung. It can be loaded via rc.user on the internal memory.

Change-Id: I4903a635fd2e2f0ce6f5e91589a31d72bba2776b
2014-02-04 22:26:06 +01:00

7 lines
266 B
Text

# see busybox-1.00rc2/examples/inittab for more examples
::sysinit:/etc/rc.d/rc.start
::respawn:/etc/autologin ttymxc0 login -f root
::ctrlaltdel:/sbin/reboot
::shutdown:/etc/rc.d/rc.reboot
::restart:/sbin/init
::respawn:/sbin/getty -n -l /bin/sh 115200 /dev/ttyGS0