[Buildroot] Raspberry + Usb to TTL Serial Cable issue

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jul 19 15:41:11 UTC 2014


Dear Sylvain LG,

On Sat, 19 Jul 2014 17:35:42 +0200, Sylvain LG wrote:
> I changed tty1 to ttyAMA0 and I can log now.
> 
> Only kernel messages are displayed, but no daemons messages (for instance,
> "Starting sshd" or the public/private key pair generation).
> 
> Why?

Those messages are displayed on the console, so if you have
console=<your serial port> you should see them.

> Can Buildroot be set to configure more than one tty?

There are two separate things:

 */ The kernel console. This one is configured using the console=
    kernel parameter, and you can have potentially several ones. This
    is where the kernel messages go, as well as the messages of all
    userspace processes that do not explicitly define a tty
    in /etc/inittab.

 */ The tty on which getty processes are started (getty is the program
    that asks for a login). By default, Buildroot only starts one, but
    you can create your own /etc/inittab (stored for example in a root
    filesystem overlay), and in this case you can start as many getty
    programs as you want, on whichever ttys you want.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list