Tool/software: Linux
uart 1 problem
hi,
I use OMAP L138 ( EVM) . As you know, OMAP L 138 has three uarts.
It uses the uart 2 to connect with console window. i have some questions related to other two uarts. I am working with Linux
1) Can i enable uart 1 to talk with my external device ?
I have commented out the below lines in board-da850-evm.c
/*
* shut down uart 0 and 1; they are not used on the board and
* accessing them causes endless "too much work in irq53" messages
* with arago fs
*/
__raw_writel(0, IO_ADDRESS(DA8XX_UART1_BASE) + 0x30);
__raw_writel(0, IO_ADDRESS(DA8XX_UART0_BASE) + 0x30);
Changed the preferred console from ttys2 to ttys1
return add_preferred_console("ttyS", 1, "115200");
Any suggestions on the how to enable uart 1 and use it for console ?