Forum Discussion

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

Can't see login prompt!!

Hi:

nios2-terminal displays messages“starting in terminal mode <control&#65293;C exit s>” but does&#39;t display log in prompt

I found directory"/ect/" includes only six file : group, mime.types, passwd, shadow, shells, and version. is&#39;t normal??

Who can help me? thanks!!

5 Replies

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

    There should be a file called inittab in the /etc directory with something like this:

    ttyS0:vt100:/bin/agetty 115200 ttyS0 # First serial port console

    ttyJ0:vt100:/bin/agetty 115200 ttyJ0 # First JTAG serial port console (I think you need this one)

    There should be a file called rc as well. This is the init-script for the microtronix distro.

    # ls /etc
    fstab            group            inetd.conf inittab          issue            mime.types       mtab           passwd           protocols        rc               services          shadow           shells           version
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi wgoossens!

    I have used command "ls /etc". Unfortunately,I still get only six files mentioned above. What is wrong? What can I do then?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by fodywang@Nov 16 2005, 08:29 AM

    yes, i try to do something with directory "/etc" and get some files such inittab, issue, rc ....but there are not files "fstab" and "mtab". who can tell me how to get the two files? i&#39;m very troubled http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/sad.gif

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=11020)

    --- quote end ---

    --- Quote End ---

    fstab and mtab aren&#39;t crucial for your system (I don&#39;t even know if they&#39;re there by default) the just list what you "can" mount (fstab) and what is cirrently mounted (mtab) when the other files (inittab, rc) are there you should be ready to go...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    alas,

    I can‘t see login prompt so far! I want to upload my kernel to RAM dirrectly and filesystem to Flash because my flash content is only 2M. When I upload kernel to RAM with way mentioned in Linux reference guide, I found that Host COM port(Run->Run..->Target Connection->Host COM port) is invalid with selected jtag_uart (Run->Run..->Target Connection-> Nio II Terminal communication device)as Nio II Terminal communication device .When I select uart as as Nio II Terminal communication device,Host COM port can be /dev/com1 [COM1] , /dev/com2 [COM2] etc. .Who can tell me whether it results in having not login prompt??