Serial console on SliTaz linux

To get serial console on SliTaz you have to compile your own kernel since serial console is not enabled in SliTaz: Please enable CONFIG_SERIAL_8250_CONSOLE in kernel config and build your own custom kernel (see this post or here) To tell the kernel that it should send its output also to the serial console you have to add

console=tty0 console=ttyS0,115200n8

to kernel’s boot parameters (e.g. kernel /boot/vmlinuz-2.6.37-slitaz-serial root=/dev/sda1 panic=60 lang=de_DE console=tty0 console=ttyS0,115200n8) in /boot/grub/menu.lst (legacy grub) If you’d like to see grub’s output on serial console add

serial –unit=0 –speed=115200 –word=8 –parity=no –stop=1 terminal –timeout=10 serial console

to /boot/grub/menu.lst (legacy grub). It’s a good choice to enable a getty listening on the serial line after the kernel has booted yo you schould add the line

ttyS0::respawn:/sbin/getty -L 115200 ttyS0 vt102

to /etc/inittab

Advertisements
This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s