serial port issues

Hi all,

I would like to use the beagle’s ttyS2 serial port for data communication. Therefore, I’d like to “unhook” the x-loader, uboot and linux from that port.

In xloader/include/configs/omap3520beagle.h I added
#define CFG_NS16550_COM2 OMAP34XX_UART2

and i changed following lines form 3 to 2
#define CONFIG_SERIAL1 2 /* use UART3 */
#define CONFIG_CONS_INDEX 2

I recompiled x-loader and xloader doesnt use ttyS2 anymore. Same thing I did with uboot (uboot/include/configs/omap3_beagle_conf, recompiled) and uboot is quiet too.
In boot.cmd, i changed ttyS2, to ttyS1, and with mkimage I created boot.scr.

In the Linux rootfs I changed file /etc/init/ttyS2.conf, I changed ttyS2 to ttyS1
exec /sbin/getty 115200 ttyS1

When I reboot the board, nothing is printed on the serial port except “Uncompressing Linux… done, booting the kernel.”

My question is: Who is printing that message? U-boot?

Best regards,
Darko T.

The kernel, you need to change the debug uart in the .config

Is there a wa to disbale this debug printig from kernel side without
recompilation?

Best regards,
Darko T.