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.

Changing of Console from UART1 to UART3

Hello,

We are using the OMAP3EVM board and the corresponsing PSP(OMAP35x-PSP-SDK-02.01.01.08). The UART used for console dump by default is UART1. Due to some constraint we need use UART3 as the console. Please let me know where in the linux code, I can make the switch to UART3.

Regards,

Srikanth

  • You should be able to change this with the bootargs you pass in from U-Boot, in particular changing "console=ttyS0,115200n8" to something else, probably "console=ttyS2,115200n8" though I have never tried it.

  • Hello,

    On the mistral evm main board, I modified the bootargs options to "console=ttyS2,115200n8"

    It doesn't work: it stops at "Starting kernel ..."

    If I modify the bootargs options to "console=ttyS1,115200n8", it works on UART2

    do you have any idea ??

    thanks

  • Hello,

    I've found something that may helps narrowing the problem: It's happening when I'm loading & excuting u-boot with the Flash 1.4 utility.  (Flash memory is empty)

    If u- boot is flashed & loaded by Xloader, Linux boots flawlessly with the console on UART3.

    I can't find the relationship between the two method of loading u-boot and the kernel's behavior ???

    By the way, the reason why I'm proceding this way is that our flash memory driver isn't yet ready, that's not the case of our board & other drivers I have to try...