Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

How do I cancel uClinux user login ?

I want to directly enter system when power on.What can I do?

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Is it not direct now? My situation is always direct. I'd like to know how to set this function to set/cancel "login".

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I believe that you have to "login" to Linux to use it, but not for it to boot up.

    If you are referring to the system not booting till you log in through the terminal. There is a way around that. Simply remove the jtag serial device from you design in Quartus SOPC builder. Recompile, and remove the JTAG serial driver from the Linux kernel, it will boot up without login. Make sure you setup your rc file to either get or set the IP so you can telnet in if need be. Otherwise you will be good to go.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi supercjb,

    If you want to go directly to the shell (without the login prompt), you need to

    change your console inittab entry:

    From something like this:

    ttys0:vt100:/bin/agetty 115200 ttys0

    To something like this:

    ttys0:vt100:/bin/sh

    Regards,

    --Scott
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I yet have to see a first good reason why one should not login and just get a shell after powerup. Be very carefull when you do this, these are the type of blunders that tend to get in the final (released) product.