This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAPl137 Linux console terminal on usb

Hi,

      Can anyone provide me solution on how to transfer Linux console terminal to USB port on the OMAPl137 EV board. According to startup guide the Linux is set to use serial port ttyS2 as the console port, but in my case i require the serial port on the board for sending configuration data to another device. So i want to transfer console terminal to be available to the USB port. So what kernel configuration & drivers are required for the above procedure.

Please reply 

With Regards

Jitendra

  • Hello Jitendra,

     

    The question is not clear. Can you please elaborate?

     

    " i require the serial port on the board for sending configuration data to another device. So i want to transfer console terminal to be available to the USB port."

     

    You want the UART to be converted into USB?

     

    Best

    Feorz

     

  • Hello Feroz,

    In OMAP L137 eval board only one serial port is available. I require serial port on OMAP l137 Eval board to be connected to the serial modem , but at the same time Linux console is also configured to that particular serial port ,so both cannot be used at the same time. So is there any other way to access Linux console other than this particular serial port by changing the commands.

    And in the above post i want to ask that whether we can use USB port as the Linux console terminal rather then UART.

    Regards

    Jitendra

  • Hi,

    I am able to solve the above issue by using Telnet to access console terminal on OMAPL137 board & serial port available on board to be used for Modem connection.

    But i have set the console= tty0, 115200n8 by using the setenv command in the U-boot command prompt , Even after setting the kernel console to tty0 i can still receive console data at serial port ttyS2 in the eval board & this causing an issue with modem communication. Can anybody provide the solution for the above problem

    Regards

    Jitendra 

  • Jitendra,

    in addition to the bootargs you most likely need to modify some Linux init file. In my filesystems (based on Arago) this is done in /etc/initab. Search for the spawn commands of getty processes...

    We had the same issue with an app that was using the serial port for something else.

    Regards.

  • Hi Frank

    I did modification in the initab file & it worked 

    Thanks

    Regards

  • Jitendra,

    good to hear that. Now please mark the thread as answered if you can spare a minute. Only you can do that.

    Then everyone knows the issue is closed and new readers see immideately that there is a solution included.

    Thanks and regards.