Re: [Gumstix-users] Removing the login prompt from Gumstix

handika h. wrote:
hh> Hi Craig,
hh>
hh> I added this line to the etc/init/tab:
hh> : :respawn:/bin/sh
hh>
hh> and made the u-boot + linux kernel silent by following the hints in the
hh> "TIps and Tricks" section:
hh> GUM> pri
hh> GUM> setenv bootargs console=null root=1f02 rootfstype=jffs2
hh> reboot=cold,hard
hh> GUM> setenv silent true
hh> GUM> saveenv
hh>
hh> I expected things to run normal that is I'll not see all those
hh> initialization lines as before and will not need to login. Unfortunately,
hh> this does not happen. As a matter fact, the gumstix just froze after the
hh> following line:
hh> Uncompressing Linux................................................. done,
hh> booting the kernel.
hh>
hh> Any clue on how to fix this?
What are you trying to do? You turned off the console by saying console=none,
but then you want to start a shell on the console, which doesn't exist...
Assuming that what you want is to disable the boot messages, remove the login
prompt, and just have a shell pop up on ttyS0, you can do this by doing what you
did above (ie disabling the console), but then starting /bin/sh on ttyS0 rather
than the non-existant console. Do this by having in /etc/inittab:
/dev/ttyS0::respawn:/bin/sh
That should do it.
Note, I haven't tried this myself, so I might be forgetting something -- but
that should work.
C