From nobody Sun Jan 22 21:36:36 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 4P0RPx0pqDz2t4m2 for ; Sun, 22 Jan 2023 21:36:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P0RPw64H4z4PFj for ; Sun, 22 Jan 2023 21:36:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674423396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H63ao9ZLoSICyYUYKo6FRt7C7OcyK2jsgAuIoIC38Fo=; b=N2fC9F8hu29ybbuu0IjkTBfoVjGS65hm9+U1eIEFidlQcysIM9IrxEBX/05LCAjqyOQ+dJ 3oejmJBEXu2vWKVgnvKf/9qC650CcP33l9LX5U0X1iAeE6H+CET3KDahr3TX24YixUjvWq YPWwRpqVjcqQuogAl/gzfLlc099HjgIBuQCD6Ip3AycSftsB+BW7H23c7U2EwGRjNGSFnZ nblBPi4EZrMzt2vn5A7EkSfOPbzc7bG4bEG8fjmPV51ojhdwY9lMGNd3IDqImKnipGxMlx JUDsEbm2GfHJFIvDlq41lrga8JLOYP5hN+1pYnlB3KZWBrHaCj9QSxv4tZIvnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674423396; a=rsa-sha256; cv=none; b=AycxMUEwEKNrp2mOmdE+qvdfM+vO2D3IZSHqM45UJgLnHYhTBJW2dnMW7dgL2NBSbVj18T Q+WgXzb2wG00CMXuSCly6/xrEBJCRrDlL2R1Z94C5f+BCYR+Vtj7IGnA7dJlSloiM/Ps2I gfCXpKbLnxVNdcqyuXFo+1UCPMSn87EMimRw1Wcc1ncKmm4Kc+GjT0+Ar6+aXEC38g2cPn ritI+hKn0xCnPez0+s6JtzDQDf1RpoNyuguZ0sSMXKyqAn5BfjckWoJEE5CbIO9aK4B0Hh PtpGS5mieZ+n19eZTwhhiHWZw8RITqwaSikON2BRVAIbPT8rY1HW12dECW+78Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P0RPw51sDz14K4 for ; Sun, 22 Jan 2023 21:36:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 30MLaa6h096170 for ; Sun, 22 Jan 2023 21:36:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30MLaaDk096169 for freebsd-arm@FreeBSD.org; Sun, 22 Jan 2023 21:36:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 269104] The uarts2 - uarts5 do not function on raspberry pi 4B Date: Sun, 22 Jan 2023 21:36:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jjrushford@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269104 Bug ID: 269104 Summary: The uarts2 - uarts5 do not function on raspberry pi 4B Product: Base System Version: 13.1-RELEASE Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: jjrushford@gmail.com I=E2=80=99ve tried using the additional serial ports that are available wit= h a raspberry pi 4B by enabling them in config.txt and when I try to read data = on them, I see nothing.=20=20 Specifically, I=E2=80=99ve wired an Adafruit ultimate GPS to uart3, gpio pi= ns 4 and 5. I=E2=80=99ve built the RPI-firmware port and copied the uart0-5 dtb=E2=80= =99s to /boot/msdos/overlays. I then enable uart3 in /boot/msdos/config.txt with dtoverlay=3Duart3 and reboot. After boot, I see that FreeBSD has created /dev/ttyu1 and /dev/cuau1 in the dev tree for uart3. When I try reading fr= om ttyu1 or cuau1, I do not see any data whatsoever. I=E2=80=99ve set the bau= d rate to 9600 and disabled flow control but still no data is seen. If I change the wiring to use ttyu0, gpio pins 14 and 15, I do see data there. Just to verify the hardware, I installed a different SD card with raspberry= pi OS, Debian, and enabled uart3 in config.txt. When I read the /dev/ttyAMA1 = I do see the NMEA time stamps coming in uart3 at 9600 baud with no issue. Next I reboot back to FreeBSD 13.1, I cannot see any data from The GPS card on tty= u1 or cuau1. --=20 You are receiving this mail because: You are the assignee for the bug.=