Hi,
I am using a custom board with OMAP-L138 processor. I am using the latest processor sdk. I have few queries regarding UART configuration. We are using UART2 pins for communication.
The dts file configuration is as below
chosen {
stdout-path = "serial2:115200n8";
};
My bootargument is as below
setenv bootargs 'console=ttyS2,115200n8 ${mtdparts} root=ubi0:rootfs rw ubi.mtd=filesystem,2048 rootfstype=ubifs rootwait=1 loglevel=7 noinitrd mem=128M'
--->With this I am getting garbage message in the console (teraterm-115200 baud).
So I changed my bootarg to use ttyS1.
setenv bootargs 'console=ttyS1,115200n8 ${mtdparts} root=ubi0:rootfs rw ubi.mtd=filesystem,2048 rootfstype=ubifs rootwait=1 loglevel=7 noinitrd mem=128M'
--->with this no prints are displaying after
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
So I changed my bootargs to use earlyconsole and ttyS1
setenv bootargs 'console=ttyS1,115200n8 ${mtdparts} root=ubi0:rootfs rw ubi.mtd=filesystem,2048 rootfstype=ubifs rootwait=1 loglevel=7 noinitrd mem=128M earlycon'
Booting continued and I am getting debug prints.
So I am bit confused here. Which one is the proper port?
Please provide your input ASAP.
Thank you,
With Best Regards,
Sharmila D