From nobody Sat Dec 30 22:38:13 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T2cbN27W9z55QY3 for ; Sat, 30 Dec 2023 22:38:24 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T2cbM6C3Fz4l4K for ; Sat, 30 Dec 2023 22:38:23 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 3BUMcF66049972 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 30 Dec 2023 14:38:15 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 3BUMcDNZ049971; Sat, 30 Dec 2023 14:38:13 -0800 (PST) (envelope-from fbsd) Date: Sat, 30 Dec 2023 14:38:13 -0800 From: bob prohaska To: Marcin Cieslak Cc: Mark Millard , John F Carr , ticso@cicely.de, freebsd-arm@freebsd.org Subject: Re: USB-serial adapter suggestions needed Message-ID: References: <9o7q7p36-o7pn-27o9-62no-8p1r6o127123@fncre.vasb> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9o7q7p36-o7pn-27o9-62no-8p1r6o127123@fncre.vasb> X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4T2cbM6C3Fz4l4K On Sat, Dec 30, 2023 at 07:05:32PM +0000, Marcin Cieslak wrote: > are you running with the default /etc/ttys ? > Yes, I am. > If yes, > > can you please edit /etc/ttys on the serial port > side as follows (as root) > > # ed /etc/ttys 2216 > /ttyu0 > ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure > .s/3wire/3wire.9600/ > . > ttyu0 "/usr/libexec/getty 3wire.9600" vt100 onifconsole secure > w > q Couple of questions: Is it necessary to use ed? I'm less bad with vi 8-) Should I plan to change tip settings once FreeBSD boots? Right not the Pi uses 115200 at boot, changing is ok for an experiment but undesirable in normal use. The serial link has stayed up since a second reboot after turning off powerd last night. I'd like to give it until tomorrow to fail. I'll add in passing that in the past www.zefox.org's serial console did spontaneously seem to run at 9600, despite my starting the tip session with 115200. That confused me, but it worked so I ignored it. It also set the terminal window background to light grey. That stopped, I think after I switched from the mini-UART to PL011. Thanks for writing, I'll follow up in a day or two. bob prohaska