[Buildroot] Raspberry + Usb to TTL Serial Cable issue

Sylvain LG forum at sylvainlegourr.com
Sat Jul 19 15:58:26 UTC 2014


Strange. No message other than kernel ones is printed on the console.


2014-07-19 17:41 GMT+02:00 Thomas Petazzoni <
thomas.petazzoni at free-electrons.com>:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140719/82961d49/attachment-0002.html>


More information about the buildroot mailing list