From nobody Tue Jan 10 03:54:38 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 4NrcQQ2p6Wz2pFjY for ; Tue, 10 Jan 2023 03:54:54 +0000 (UTC) (envelope-from jjrushford@gmail.com) Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NrcQP2CGjz3qyW for ; Tue, 10 Jan 2023 03:54:53 +0000 (UTC) (envelope-from jjrushford@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=WJBY2zJR; spf=pass (mx1.freebsd.org: domain of jjrushford@gmail.com designates 2607:f8b0:4864:20::135 as permitted sender) smtp.mailfrom=jjrushford@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-il1-x135.google.com with SMTP id h26so5880577ila.11 for ; Mon, 09 Jan 2023 19:54:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=qnGPLZ0qjFT6utRQgc6O4vD29RAtMwy8FEAuXjX0w/Q=; b=WJBY2zJRSJBjCDF+HUhFosbLaEgU69DME9s5/nolknDh/h1Pmx2DiBp2KNSZok+nzb ZpjFGBmJV4DPiyH2Ha7SjM/cBZpQx414Z7h0+iUS22OdXtComrvS8SNXRiH+a8pRB/Tf LFQRJvDBhg/GMzimS7XxpIfBDZ+YrpKlsEnoMA4Xa4oF26RRx1bh/anufER8C00a0Zl5 1aLtzjyHe9V2iy87oAB9qsNJ8euksra+5REhzismPVDCegh5z/l8+KEl44ecK3tuZ2EC aJ5lP+bpWS1pbsrafZEUW6MJQ8dZWqRjpIpKga6+jFOkgn4frlCSvdaf+L2Vo3w4TWpP ng/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qnGPLZ0qjFT6utRQgc6O4vD29RAtMwy8FEAuXjX0w/Q=; b=PMTH1d3fyuox9u5alcX/mDrKmAAVMLb0xWr24P7j/u8X8vPo44BUANk5sZBCS3sI48 Ysnvs86iKBBAUu/T7lPmYYXoewad0mDO+JOOOTWdGFUhRoLnD06vtd3zLJ1U+vMVsf0N jjry8LUYnYWRT1CtmZi+XbUaWer+hMeFfpabD9dw3LtiUSQxLnHIvDf3f8iU4jPFjjBC 28RbIFSQxtSHU89sDOCa+JmhyCVO80pYeUzy2Ejf2vd5DZs+15nW4Jr9kL8EsRIfLKDq UVT43ued4PxbN3Yu8dsAclDb+Lm3nUmc2DoPQg56h+1YFncfsNGRyw21VflhHJNSaZ23 RTsg== X-Gm-Message-State: AFqh2krXTqYq+4DJOIER2o7HLrdAbK9+tvikA+wbZB/MQDjOOXHBqbA3 wyf6arP3ydxirnsf0S+0WRpMbVZqBfc= X-Google-Smtp-Source: AMrXdXvjasi21ZHIFyjcNQ5bGTXnTiFa9288iXFAQDRJ6uPg7j4QXH1BgyxVwQt/PpvvDsonwakG3Q== X-Received: by 2002:a92:cc92:0:b0:2ff:f702:e446 with SMTP id x18-20020a92cc92000000b002fff702e446mr42083333ilo.13.1673322891095; Mon, 09 Jan 2023 19:54:51 -0800 (PST) Received: from smtpclient.apple ([2601:280:587f:87d0:fd8d:7a9e:180e:7182]) by smtp.gmail.com with ESMTPSA id r10-20020a92d44a000000b0030314a7f039sm2740159ilm.10.2023.01.09.19.54.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2023 19:54:50 -0800 (PST) From: John Rushford Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: Pi 4 serial ports Date: Mon, 9 Jan 2023 20:54:38 -0700 References: To: "freebsd-arm@freebsd.org" In-Reply-To: Message-Id: <3225E237-1F0E-4FA2-92C0-D683B8114F64@gmail.com> X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::135:from]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org] X-Rspamd-Queue-Id: 4NrcQP2CGjz3qyW X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N This is all new to me and after some digging, I=E2=80=99m currently = trying to put together a rk3328-uart2.dtso that I can compile to an = overlay file so as to enable uart2 John > On Jan 9, 2023, at 1:43 PM, John Rushford = wrote: >=20 > Greetings, >=20 > I=E2=80=99m running FreeBSD 13.1-RELEASE on a raspberry pi 4b rev 1.4. = The pi 4 has 4 UART ports available but as far as I can tell, FreeBSD = 13.1 only supports 1 of them. > I would like to use one of the other UART ports to wire an adafruit = GPS breakout too. I tried using the UART0 port but when I wire the GPS = breakout to it,=20 > I run into boot issues with u-boot and console logging. I know that = in other OS=E2=80=99s such as raspian or ubuntu, you are able to enable = the additional UARTS in config.txt. > Thinking that FreeBSD might support this I tried adding = =E2=80=9Cdtoverlay=3Duartx=E2=80=9D where x is 0 to 3 but I=E2=80=99m = not seeing in any kernel logging that these ports were enabled and > I don=E2=80=99t see any additional ttyu=E2=80=99s in the dev tree. >=20 > So my question, does FreeBSD support these additional UARTS and if so, = how do I enable them so that I may use one for the GPS breakout? >=20 > Thanks > John