Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2012 19:25:13 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: Unable to boot Pi successfully with ethernet interface configured
Message-ID:  <201209281925.13209.hselasky@c2i.net>
In-Reply-To: <1348852114.1113.43.camel@revolution.hippie.lan>
References:  <506327AD.8030103@gmail.com> <5065D716.3080502@gmail.com> <1348852114.1113.43.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 28 September 2012 19:08:34 Ian Lepore wrote:
> On Fri, 2012-09-28 at 17:57 +0100, Sevan / Venture37 wrote:
> > Oh cool, will report back once I've had a chance to play tonight.
> > Btw, I'm using a USB > TTL adapter connected to the GPIO pins which
> > gives me output from the kernel on booting but I'd like to be able to
> > login, looking at /etc/ttys ttyv0 is switched on by default, I've
> > modified it to std.115200 & I see the login prompt now but the
> > console
> > locks up & wont take any input.
> 
> It might be worth trying 3wire.115200 rather than std.115200, in case
> flow control is why it seems to be locked up.
> 
> -- Ian
> 

Hi Ian,

# cat /etc/ttys
ttyU0 "/usr/libexec/getty 3wire.115200" vt100 on secure
ttyu0 "/usr/libexec/getty 3wire.115200" vt100 on secure
ttyv0 "/usr/libexec/getty Pc" cons25 on secure
ttyv1 "/usr/libexec/getty Pc" cons25 on secure
ttyv2 "/usr/libexec/getty Pc" cons25 on secure
ttyv3 "/usr/libexec/getty Pc" cons25 on secure
ttyv4 "/usr/libexec/getty Pc" cons25 on secure
ttyv5 "/usr/libexec/getty Pc" cons25 on secure
ttyv6 "/usr/libexec/getty Pc" cons25 on secure
ttyv7 "/usr/libexec/getty Pc" cons25 on secure

Only USB TTY port works.

If I do something like:

echo "test" > ttyu0

Nothing is printed on the serial port. Don't know why.

ps auxw 

root  554  0.0  1.2 10076 1564 u0  Ss+   5:23PM 0:00.02 /usr/libexec/getty 
3wire.115200 ttyu0

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209281925.13209.hselasky>