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.

use all the three ttyS0, ttyS1, ttyS2 in AM1808

Other Parts Discussed in Thread: AM1808, DA8XX

Hello,

I want to use all three consoles in Linux using AM1808. I want to use ttyS0 as normal console and ttyS2 & ttyS1 in internal loop back mode. Is it possible? If yes, can I get a reference code for ttyS in linux. I am using AM1808 logic PD board.

  • Vipul,

    On the 2.6.32 kernel there were lines like the following in the arch/arm/mach-davinci/board-da850-evm.c file that were disabling the UARTs.

           __raw_writel(0, IO_ADDRESS(DA8XX_UART1_BASE) + 0x30);

           __raw_writel(0, IO_ADDRESS(DA8XX_UART0_BASE) + 0x30);

    In the 2.6.37 kernel I see a similar line for UART0 in the same file but not for UART1 (although the comment says for both).  So I would image you should comment this line out since that is what I did for the 2.6.32 kernel and that enabled UART0 and UART1.

    I think you can also change the value in the da850_evm_console_init function to use ttyS0 instead of ttyS2.

    Chase