Hi TI Team,
We have custom board designed with AM5716 processor.
Linux SDK: ti-processor-sdk-linux-rt-am57xx-evm-06.02.00.81-Linux-x86-Install
SD card is created from prebuilt image available with SDK. This is working OK with both TMDXIDK5718 and our custom board.
UART3 is by default console and working ok.
UART2 TX and RX pin config is same as available with TMDXIDK5718.
After our custom board is up, i am able to read and write data on UART2 with my application running on board.
Now i required to use UART2 as a console. I am facing problem stated below when making changes to use UART2 as a console.
(1)
I have made changes in /TI_SDK_AM57XX/board-support/u-boot-2019.01+gitAUTOINC+a141f7abfd-ga141f7abfd/arch/arm/dts/am57xx-idk-common.dtsi
chosen {
stdout-path = &uart2;
};
&uart2 {
status = "okay";
interrupts-extended = <&crossbar_mpu GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH
&dra7_pmx_core 0x3F0>;
}
With this i have compiled u-boot and generated MLO and u-boot.img is placed in boot partition of SD card.
PROBLEM: board does not boot at all. please help me what i am missing here in boot for making UART2 as console
(2)
I tried following thing to check wether UART2 is working as a console for LINUX.
chosen {
stdout-path = &uart3;
};
&uart3 {
status = "okay";
interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH
&dra7_pmx_core 0x248>;
};
following change is done in board.c file
int board_late_init(void)
{
......
env_set("console", "ttyS1,115200n8");
.......
}
With this i have compiled u-boot and generated MLO and u-boot.img is placed in boot partition of SD card.
Observation: This is working OK. Uart3 is console for boot message and uart2 is console for linux messages.
i.e. All boot messages are printed on UART3. All linux messages are printed on UART2
Please help to resolve this issue as UART2 is mandatory for us to use as a console.
Regards,
Mahesh