WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] How to get boot messages over a serial cable ?  (Read 1731 times)

Offline puefiko

  • Newbie
  • *
  • Posts: 4
[SOLVED] How to get boot messages over a serial cable ?
« on: April 28, 2011, 02:08:31 PM »
Hi, TC gurus,
I am trying to capture the boot messages via a COM cable, and can't find the working kernel option.
Tried "serial" and "earlyprintk=serial" - nothing seen in the terminal...
I see the boot log on the screen when using "text" option, and dmesg works fine as well.
Is there a standard kernel option for this ?
Is it working on TC 3.3 ?

Thanks in advance!
« Last Edit: April 28, 2011, 03:28:13 PM by puefiko »

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: How to get boot messages over a serial cable ?
« Reply #1 on: April 28, 2011, 02:35:56 PM »
You need to specify console=ttySx where x is your COM port as explained in the kernel documentation.

Offline puefiko

  • Newbie
  • *
  • Posts: 4
[SOLVED] Re: How to get boot messages over a serial cable ?
« Reply #2 on: April 28, 2011, 03:27:51 PM »
Thank you - it worked fine, I also added a second "console" option to get the debug messages on the monitor as well, otherwise they go to COM port only:

console=ttyS0 console=tty0