Hello,
I want console log on WKUP_UART0 instead of main_UART0. Can you guide software changes process.
Thank you,
Chintan
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.
Hello,
I want console log on WKUP_UART0 instead of main_UART0. Can you guide software changes process.
Thank you,
Chintan
Hi Chintan,
Please refer to the following thread.
Please beware that the WKUP_UART0 is used by DM firmware as the debug console, so if you never needed to turn on DM firmware debug, its output would interfere with the Linux console output if you use WKUP_UART0 as the console.
Hi Bin,
Okay. can I use main_UART4 for debug console. If yes. please help me how. I do changes bellow.
1. I changed in u-boot dts file
aliases {
serial2 = &main_uart0;
serial6 = &main_uart4;
mmc0 = &sdhci0;
mmc1 = &sdhci1;
mmc2 = &sdhci2;
usb0 = &usb0;
usb1 = &usb1;
spi0 = &ospi0;
};
chosen {
stdout-path = "serial6:115200n8";
bootargs = "console=ttyS6,115200n8 earlycon=ns16550a,mmio32,0x02840000";
};
2. include/configs/am62x_evm.h
3. include/environment/ti/boot.h
same way I change in kernel dts file.
but i did not get console logs.
please help me.
Hi Chintan,
but i did not get console logs.
Do you mean you don't get any U-Boot message on the UART4 console?
Did set the UART4 pinmux in device tree? I don't see the information in your post above.
Hi Bin,
1. Do you mean you don't get any U-Boot message on the UART4 console?
yes.
2.Did set the UART4 pinmux in device tree?
I added pinmux. but forgot to mention here. please give me setps for Uboot and kernel console log in main_UART4.
Thank you.
Hi Chintan,
Did you add this UART4 pinmux reference in main_uart4 DT node?
I am routing your query to our U-Boot expert for comments.
Hello,
In addition to the configurations you had, will you cross-reference this e2e to see if it helps?
e2e.ti.com/.../4531331
Best,
-Hong