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.

am1705 disable linux console

Other Parts Discussed in Thread: AM1705

We need to use all of 3 uarts of am1705.  

But one of them (uart2 by default) is used for linux console communicatinos. 

How we can completely disable/turn-off linux console?

We did changes of u-boot 'bootargs' env variable (delete 'console' tag with parameters), commented out all of 'getty' startup strings in inittab, but something is still present on uart2 from linux side. 

Our test app (is perfectly working on uart0 and uart1) can only read data from uart2, but can't write anything.

What we should do more?

  • You might have to comment out or config out the add_preferred_console() code from board-da8300-evm.c.

    #ifdef CONFIG_SERIAL_8250_CONSOLE
    static int __init da830_evm_console_init(void)
    {
        if (!machine_is_davinci_da830_evm())
            return 0;

        return add_preferred_console("ttyS", 2, "115200");
    }
    console_initcall(da830_evm_console_init);
    #endif

    It can be configured out in the kernel config:

    Device Drivers
    ->Serial drivers
    -->8250/16550 and compatible serial support
    --->Console on 8250/16550 and compatible serial port

    Might be different in your kernel version.

  • thanks. will try today to test.