From nobody Thu Dec 28 20:38:58 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 4T1L2q6KTjz54Zj3
	for <freebsd-arm@mlmmj.nyi.freebsd.org>; Thu, 28 Dec 2023 20:39:15 +0000 (UTC)
	(envelope-from marklmi@yahoo.com)
Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 4T1L2q3x0gz4Xt1
	for <freebsd-arm@freebsd.org>; Thu, 28 Dec 2023 20:39:15 +0000 (UTC)
	(envelope-from marklmi@yahoo.com)
Authentication-Results: mx1.freebsd.org;
	none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1703795953; bh=AXBOxEBbNH3MbT5UlG9j7oAKrcpBwLBqYDtop3wGNdU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Cr0kBjpUjG3bC5tUcla/n6zHzLrYqj9t+eoT99FcY/Hod0f6mexSg4M+M4ejKCiwoCMleE42R7U78uXQKyq838poGvZtBKmS2SK+jwCQhx+3ghtM0zIKg8p7hwtIwcMjxMpgDhIJp9c6XuU/dftWFYbBb+Q9FEGhTx2Rr8cnY/6wkVvEZi0vtwof2H4t2tP0tiR9RARrMlAzchiysa6Zp9kPgMocJVKQVFrO+TE/TmDCsEJROGGy1A6sqyqJGV6AsKRxP8aa9UEN3836HSjEV6BQZljR1BDLiY4hU5qejpu+vkLTeFODN8+t++jCSwXZB3hJP2aq0bt+riazmIf+kA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c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PzFgxcSQJTtgEbynuc
 gMo6oywllMzd78U5lWr.IaBY5pAqCFlb5hn1Ecbc6.F6gareqtN4_qrRY7uVu52BUXdXac4Gv8DC
 H6jl4GYi.vTAcp5tMLzCpxax9KPnvWVn8OM4Uez8m0ma7Us7kISFlJzq.kGYRL_kgw1yaPkjDtt9
 .VvGpJEX8t7.i6TSZd_8AUJycTo4K_uD6Q4M6g3rWO6sIHPfhZzOIz3LfSzB6wcfLGVJ4Bcuvnqo
 hBuH_FwrulAyMEebT6rltjEiBdDFlAz3jhMZOL2HRyvsVa5T_st_V1fRG46Wss0uOcxP2juZaH_s
 .DfZ_yMtb8mXj6zSCb8V5voMX9JAq4qGOO_Kj1qjVB79VBw6Qcc8TgPJ5p9WC3N9e8I.OBItAFkd
 158m97aTwVlhXkYKxP.5EDd4McAe7WHbWBDYINXoy1yndIfBD30hJlcfkDuDv2_PKTOsCRy67tDU
 0injhf8xQwfIi2Yi2Gdn._tkhaGjMenuYOH3Uxkne1fPQha.tnpomMdt0L27LD8v2DDv9M2.yKsb
 J.7MIaEz2YYi3JMa0GrVIROjm0tHRAassaeNF7Z_PW5F.LKsk07u1y5vDNX.cULm8AveLBcAKWWs
 qQGjNyhpzRha_Ye.8TrI5QHh5EQb35dmcKvpoWMpnA.125mGfCvI2l2A8aaYq35FW9P5WiNKyVH0
 -
X-Sonic-MF: <marklmi@yahoo.com>
X-Sonic-ID: e7fb1d39-350f-4308-abc6-25c605fe0137
Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Thu, 28 Dec 2023 20:39:13 +0000
Received: by hermes--production-gq1-6949d6d8f9-k52jv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 8b99a6125183f50aff979d74fbe0fa69;
          Thu, 28 Dec 2023 20:39:09 +0000 (UTC)
Content-Type: text/plain;
	charset=us-ascii
List-Id: Porting FreeBSD to ARM processors <freebsd-arm.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-arm
List-Help: <mailto:freebsd-arm+help@freebsd.org>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Subscribe: <mailto:freebsd-arm+subscribe@freebsd.org>
List-Unsubscribe: <mailto:freebsd-arm+unsubscribe@freebsd.org>
Sender: owner-freebsd-arm@freebsd.org
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\))
Subject: Re: USB-serial adapter suggestions needed
From: Mark Millard <marklmi@yahoo.com>
In-Reply-To: <ZY3LWKmCPvmLZvzU@www.zefox.net>
Date: Thu, 28 Dec 2023 12:38:58 -0800
Cc: John F Carr <jfc@mit.edu>,
 "ticso@cicely.de" <ticso@cicely.de>,
 Marcin Cieslak <saper@saper.info>,
 "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <B371E1D9-410D-40DC-A0D5-AFEC24B15C3D@yahoo.com>
References: <ZYhjzPLUBT74EVau@cicely7.cicely.de>
 <ZYiI7KuPwabExucl@www.zefox.net>
 <55q37289-ss30-nq9o-7r31-086n999p394s@fncre.vasb>
 <ZYonM2b2X008mpaw@cicely7.cicely.de> <ZYuHW34T1rxwqdz6@www.zefox.net>
 <C8C30A69-05D5-45FE-B95D-A31BD13B841F@yahoo.com>
 <23100FB9-BB4A-48FF-A715-84EF7F6F59A6@mit.edu>
 <6DD2FDE4-77DB-499A-AED8-F179A9DAA0EF@yahoo.com>
 <ZYxzNqNENpowIOrg@www.zefox.net>
 <6A38A60B-3281-468D-907C-26AB2F8D07A6@yahoo.com>
 <ZY3LWKmCPvmLZvzU@www.zefox.net>
To: bob prohaska <fbsd@www.zefox.net>
X-Mailer: Apple Mail (2.3774.300.61.1.2)
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:36647, ipnet:98.137.64.0/20, country:US]
X-Spamd-Bar: ----
X-Rspamd-Queue-Id: 4T1L2q3x0gz4Xt1

On Dec 28, 2023, at 11:24, bob prohaska <fbsd@www.zefox.net> wrote:

> On Wed, Dec 27, 2023 at 12:27:33PM -0800, Mark Millard wrote:
>>=20
>> Overall I've not been able to understand what the
>> (various?) hypothesized stage-by-stage byte flow
>> paths are in these notes.
>>=20
>=20
> Maybe this will help. The path is
>=20
> workstation> Ethernet > terminal server:usb-serial > serial wires> =
GPIO 8/10
>=20
> I hesitated to use the words "terminal server" because that has =
implications
> (distinct IP address, multiple serial interfaces) that don't exist =
here.=20
>=20
> The workstation is a RasPiOS Pi4, the Pi3 host called pelorus is the =
terminal
> server and the GPIO pins are on the Pi3 host named www.zefox.net .

Your prior messages reported text referencing .org, such as:

FreeBSD/arm64 (www.zefox.org) (ttyu1)

and:

No, the garbled login prompt originates from www.zefox.org's
serial console.

and:

Understood, it's been hard to articulate 8-( Maybe
Workstation > ethernet > pelorus > usb port > gpio 8,10 > console =
www.zefox.org
is a little clearer

So: "www.zefox.net <http://www.zefox.net/>" above is a change of report, =
if I understand
right.

> The Ethernet connection works well enough for all the other hosts  =
that I think=20
> we can disregard whether it's wired or WiFi and LAN or WAN or all =
four.

You have also reported that:

The Pi3 which reported the garbled login prompt=20
uses in config.txt:
b@www:/boot/msdos % more config.txt
init_uart_clock=3D3000000
enable_uart=3D1
kernel=3Du-boot.bin
kernel7=3Du-boot.bin
dtoverlay=3Dmmc
force_mac_address=3Db8:27:eb:71:46:4f

This is using the mini-uart for the serial console and the
full-function UART for bluetooth. It also is not using
arm_64bit=3D1 . (So armv7 support instead of aarch64 support?)

https://elinux.org/RPi_Serial_Connection claims:

QUOTE
. . . the less capable mini-UART with no break detection, no framing =
errors
detection, no parity bit, no receive timeout interrupt and no DCD, DSR,
DTR or RI signals
END QUOTE

This contrasts with:

The Pi3 hosting the usb-serial adapter has in config.txt
bob@pelorus:~ % more /boot/efi/config.txt
[all]
arm_64bit=3D1
dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don
dtoverlay=3Dmmc
dtoverlay=3Ddisable-bt
device_tree_address=3D0x4000
kernel=3Du-boot.bin

which has the full-function UART for its serial console
and is using arm_64bit=3D1 .

Why the variation?

=3D=3D=3D
Mark Millard
marklmi at yahoo.com