SDK : ti-processor-sdk-linux-rt-am57xx-evm-05.03.00.07
Linux : linux-rt-4.14.79+gitAUTOINC+a72bf1418c-ga72bf1418c
U-boot : u-boot-2018.01+gitAUTOINC+313dcd69c2-ge2bc936055
toolchain : gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
--------------------------------------------------------------------------------------
Hi,
I want the console output to be UART4.
But no output.
Do you have anything to add besides?
RS485 / 422 method is used for the output method.
1. u-boot-*/arch/arm/dts/am57xx-idk.common.dtsi
...
chosen {
stdout-path = &uart4;
};
...
&uart4 {
status = "okay";
};
...
2. u-boot-*/include/configs/am57xx_evm.h
#define CONSOLEDEV "ttyO3"
#define CONFIG_SYS_NS16550_COM1 UART1_BASE /* Base EVM has UART0 */
#define CONFIG_SYS_NS16550_COM2 UART2_BASE /* UART2 */
#define CONFIG_SYS_NS16550_COM3 UART3_BASE /* UART3 */
#define CONFIG_SYS_NS16550_COM4 UART4_BASE /* UART4 */
3. u-boot-*/include/environment/boot.h
...
#ifndef CONSOLEDEV
#define CONSOLEDEV "ttyO3"
#endif
...
4.u-boot-*/board/ti/am57xx/mux_data.h
...
{MCASP4_AXR0, (M4 | PIN_INPUT_PULLUP)}, /* gpmc_a0.uart4_rxd */
{MCASP4_AXR1, (M4 | PIN_OUTPUT)}, /* mcasp4_axr1.uart4_txd */
...
5. linux-*/arch/arm/boot/dts/am57xx-idk.common.dtsi
...
chosen {
stdout-path = &uart4;
};
...
&uart4 {
status = "okay";
};
...