How to change console from ttyS2 to ttyS1 on Beagleboard.


It is first time for me to post on this mailing list.
I have a question about Beagleboard’s console.
I’d like to ask about how to change console from ttyS2 to ttyS1.

I tried following two means, but didn’t work.

  1. In u-boot console, change environment variable.
    setenv console ttyS1,115200n8

  2. Change include/configs/omap3_beagle.h as following.

— a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -208,7 +208,7 @@
“usbtty=cdc_acm\0” \

  • “console=ttyS2,115200n8\0” \
  • “console=ttyS1,115200n8\0”
    “dvimode=1024x768MR-16@60\0” \


Hi there,

If you are simply trying to change the console (that don’t include printk messages)

simply go to the ext3 partition on the sd card go into folder /etc/
open “inittab” file into text editor of your choice

line 31 on my beagle board “respawn:/sbin/getty 115200 ttyS2”

change the console login from ttyS2 to ttyS1.

next time when you boot up the beagle board, it will put the console to ttyS1

Hope this helps