Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Problem with getty

Altera_Forum
Honored Contributor II
1,106 Views

Hi, 

 

I try to add a login to uClinux-dist-20060803 patch V32. 

 

I've added to busybox adduser/ addgroup / deluser / delgroup / login / su / passwd / getty / shadowpw support. 

 

It works pretty fine when I connect to my board with a telnet client, but on the ttyS0 console it looks good but the keyboard is disabled ... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif  

 

I&#39;ve added to /etc/inittab: 

ttyS0:vt100:/sbin/getty -L 9600 ttyS0 

or 

ttyS0:vt100:/sbin/getty 9600 ttyS0 

or with others speed ... the same. 

 

I&#39;ve tried with tinylogin : same behavior, but with an IOCTL error message. 

 

If someone could help me ... thanks ! 

 

LeFred.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
455 Views

You should disable the console shell in the simple init. 

Core Applications--> 

[*] init 

[ ] enable console shell <== 

 

The getty in busybox might take more memory. You should try agetty, which is standalone. 

[*] agetty
0 Kudos
Altera_Forum
Honored Contributor II
455 Views

It works fine now ! Thanks Hippo http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif  

 

About the used RAM memory: 

Busybox/getty -> 514 k 

standalone agetty -> 130 k !!  

 

Once again ... Thanks Hippo http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif
0 Kudos
Reply