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.

OMAP-L138 DaVinci-PSP-SDK-03.22.00.02 : UART1 doesn't work.

Other Parts Discussed in Thread: DA8XX

Hello,

 

I try to use UART1 on DA850 EVM Logic PD board with DaVinci-PSP-SDK-03.22.00.02 .

Uart1 doesn't work.

The strange part is that it works very well with  TI_dvsdk_omapl138-evm_04_03_00_06.

I have activated PINMUX support and debug in kernel config and checked that the both pins UART1_TXD and UART1_RXD are disabled.

 I have disabled UART1 flow control.

The only difference with a standard system is that I used RMII PHY on UI board in place of MII PHY.

I'm stuuck here.

What are the UART management differences between kernel 2.6.37 and kernel 3.3.

Any idea is welcome

Best regards

Gilbert Brisset.

  • Hello,

     

    I have found a workaround. I force the enabling of UART1 in da850_evm_init() in the board-da850-evm.c file.
    I replace the famous line :
      __raw_writel(0, IO_ADDRESS(DA8XX_UART0_BASE) + 0x30);
    by
     __raw_writel(0, IO_ADDRESS(DA8XX_UART0_BASE) + 0x30);
     __raw_writel(0x00006000, IO_ADDRESS(DA8XX_UART1_BASE) + 0x30);

    and it works.

    It seems that I miss some configuration to say that I want to use either UART1 or ttyS1.
    But where ?

    The kernel setup traces say :
     
    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a AR7
    serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7
    serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7


    Any idea

    Thank you

    Gilbert Brisset