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.

AM335x Uboot Console Change from UART0 to UART2

Hi All,

I would like to move the debug console from UART0 to UART2 on  Beagle  bone black. I was able to move the Kernel and userspace console from Uart0 to Uart2 but unable to do the same for U-boot console.

I also tried compiling the uboot using the am335x_evm_uart2_config but no luck.

$make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm_uart2_config

Can you suggest me how to do this?

Any help would be appreciated.

  • Which SDK are you using?

    The U-Boot target to change to debug console to UART2 is:

    make am335x_evm_uart2

    Best regards,
    Miroslav

  • Hi All,

    I was able to crack it.

    Changed the Console index option in the boards.cfg file as follows:

    Active  arm         armv7          am33xx      ti              am335x              am335x_evm_uart2                     am335x_evm:SERIAL3,CONS_INDEX=3,NAND

    i.e., Changed CONS_INDEX=1 to CONS_INDEX=3

    and Voilà I was able to see the U-boot console on UART2