Forum Discussion

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

Why linux not run until connected to terminal

My custom linux doesn,t run until connected to terminal.Why

I tested a small program "hello.c"(which lets leds flashing),and after some operation,I copy "hello.exe" to linux file"/bin/".And add "/bin/hello" to /etc/rc.

If I login terminal without do anything ,the leds flashing.But if I just turn on the power and press reset,the led doesn't flash until connected terminal.Why,So I doubt if the linux is real running .Maybe I didn't set some parament or I have to do something to let linux run automatically.

thanks,

Best wishs

TommyCP.

2 Replies

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

    You use JTAG-UART, right?

    That's normal operation for JTAG-UART. Program execution is stopped when the UART's buffer is full.

    I don't know if you can change this bahaviour.

    JTAG-UART is mostly used for debugging purposes where you don't want to miss a message.

    I switched to a 'normal' RS232 UART.

    For this you need to activate Altera UART support and console on serial UART support in the kernel configuration.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    popdog,

    thanks,After I have changed Kernel config,and get off JTAG UART.Then It can automatically run.

    best wishs,

    TommyCP