Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: puefiko on April 28, 2011, 05:08:31 PM

Title: [SOLVED] How to get boot messages over a serial cable ?
Post by: puefiko on April 28, 2011, 05: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!
Title: Re: How to get boot messages over a serial cable ?
Post by: danielibarnes on April 28, 2011, 05:35:56 PM
You need to specify console=ttySx where x is your COM port as explained in the kernel documentation (http://www.mjmwired.net/kernel/Documentation/serial-console.txt).
Title: [SOLVED] Re: How to get boot messages over a serial cable ?
Post by: puefiko on April 28, 2011, 06: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