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.

How can I get the logs from UART0?

Guru 16800 points
Other Parts Discussed in Thread: TMDXEVM3358

Hi,

I am using TMDXEVM3358.
Could you teach me how to get the logs of u-boot and kernel from UART0?
I think that CPLD's switch configuration needs to be change, but I can't find the documents describing the procedure.
Could you teach me how to get the logs from UART0 and show me the documents describing the CPLD's switch configuration?

Thanks

Nomoto

  • Hi Yusuke,

    The CPLD switch description can be found on this wiki page. The Pin Use Description can be found here. No matter what the CPLD switch configuration is, UART0 is always connected to the RS-232 J12 connector on the board.

    In order to connect your host PC with the AM335x EVM with a serial console you need to connect them with a serial cable and use a serial console like minicom or picocom.

    Here is an example with picocom:

    * Install picocom:
    # sudo apt-get install picocom

    * Connect Host with EVM via serial cable.

    * Use picocom:
    # sudo picocom -b 115200 /dev/ttyS0

    * For more information on picocom usage type:
    # picocom --help

    Note: If you have more serial ports on your host machine the EVM may not be mapped to ttyS0. Try and change the number after ttyS* if there is no output when you connect to the board with picocom and turn the board on.

    More info can be found here: http://processors.wiki.ti.com/index.php/Sitara_Linux_Software_Developer%E2%80%99s_Guide#Start_your_Linux_Development

    Best regards,
    Miroslav