<div dir="ltr"><div>Hi All,</div><div>Â </div><div>I use imx6q sabre lite board with Yocto Morty. Every time I start my imx6 board, it always asks me to enter login: root , so I have tried auto login with the following way: Â </div><div>in my /usr/bin, I create a autologin script contains this:</div><div>#!/bin/sh</div><div>exec /bin/login -f root</div><div><br></div><div>then in /etc/inittab, I have changed</div><div>#mxc1:12345:respawn:/bin/start_getty 115200 ttymxc</div><div>to follows</div><div>mxc1:12345:respawn:/bin/start_getty -l /usr/bin/autologin -n 115200 ttymxc1</div><div><br></div><div>but when I reboot the board, it doesn't auto login, and it display:Â </div><div>INIT: Id "mxc1" respawning too fast: disabled for 5 minutes</div><div>Â </div><div>I don't know where is wrong and how I should modify this file? I attached my inittab file, thanks in advance!</div><div><br></div><div>-------------------------------------------------------------------------------------------</div><div># /etc/inittab: init(8) configuration.</div><div># $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $</div><div># The default runlevel.</div><div>id:5:initdefault:</div><div># Boot-time system configuration/initialization script.</div><div># This is run first except when booting in emergency (-b) mode.</div><div>si::sysinit:/etc/init.d/rcS</div><div># What to do in single-user mode.</div><div>~~:S:wait:/sbin/sulogin</div><div># /etc/init.d executes the S and K scripts upon change</div><div># of runlevel.</div><div>#</div><div># Runlevel 0 is halt.</div><div># Runlevel 1 is single-user.</div><div># Runlevels 2-5 are multi-user.</div><div># Runlevel 6 is reboot.</div><div>l0:0:wait:/etc/init.d/rc 0</div><div>l1:1:wait:/etc/init.d/rc 1</div><div>l2:2:wait:/etc/init.d/rc 2</div><div>l3:3:wait:/etc/init.d/rc 3</div><div>l4:4:wait:/etc/init.d/rc 4</div><div>l5:5:wait:/etc/init.d/rc 5</div><div>l6:6:wait:/etc/init.d/rc 6</div><div># Normally not reached, but fallthrough in case of emergency.</div><div>z6:6:respawn:/sbin/sulogin</div><div>mxc1:12345:respawn:/bin/start_getty 115200 ttymxc1</div><div>#mxc1:12345:respawn:/bin/start_getty -l /usr/bin/autologin -n 115200 ttymxc1</div><div># /sbin/getty invocations for the runlevels.</div><div>#</div><div># The "id" field MUST be the same as the last</div><div># characters of the device (after "tty").</div><div>#</div><div># Format:</div><div># <id>:<runlevels>:<action>:<process></div><div>#</div><div>1:12345:respawn:/sbin/getty 38400 tty1</div><div><br></div><div>Best regards,</div><div>Yang GAO</div></div>