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.

Linux/AM5728: U-boot UART setting

Other Parts Discussed in Thread: AM5728

I have a AM5728 custom board.

I want to change the UART default setting from UART3 to UART2.

1. Pinmux Setting

u-boot/board/ti/am57xx/mux_data.h

const struct pad_conf_entry core_padconf_array_essential_am572x_idk[] = {

...

{UART2_RXD, (M4 | PIN_INPUT)}, /* uart2_rxd.uart2_rxd */
{UART2_TXD, (M4 | PIN_OUTPUT)}, /* uart2_txd.uart2_txd */

...

}

2. Device Tree Setting

u-boot/arch/arm/dts/am57xx-idk-common.dtsi

...

chosen {
stdout-path = &uart2;
};

...

&uart2 {
status = "okay";
};

...

I want to know if there is something I need to set up besides this part.

SDK = ti-processor-sdk-linux-rt-am57xx-evm-05.03.00.07

u-boot = u-boot-2018.01+gitAUTOINC+313dcd69c2-ge2bc936055

cross compiler = arm-linux-gnueabihf-gcc