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.

Disable serial console on OMAPL138

Other Parts Discussed in Thread: OMAPL138

Hello,

I want to disable the serial console on OMAPL138 experimenter kit for using serial port in an application. To achieve this, i set "console=none" in uboot, and Ive also commented out gettty's in inittab file. But none worked. The serial console still exists. 

What should i do else to disable that console?

Thanks, regards...

Yigit Agabeyli

  • To make sure that your application has access to the serial port 2:

    chmod 777 /dev/ttyS2

    Also, change the boot args (using U-boot) - instead of putting console=ttyS2,115200n8, put console=ttyS1,115200n8. So the console does not interfere with your app anymore. This worked for L137, should be similar for L138.

  • Hello thanks for your answer.

    I had seperated the boot command into a few parts(addip, mmcargs vs..). When i join them on one line, the problem is solved.  Actually i dont know why this happened. Perhaps it is because of my terminal software(Minicom).

    Anyway,

    Thanks, regards...

    Yigit Agabeyli

     

  • We have the same problem. We want to completelly disable console and (use only telent or ssh connection to manage os processes) of Linux on AM 1705. We need to use all 3 uarts, but one of them (default - uart 2) is used for console. We change u-boot boargs string, diable getty in init.tab, but unsuccessfully. How we can completelly disable/turn-off console ?