From owner-freebsd-arm@freebsd.org Sun Apr 25 12:32:03 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 86EED62125E for ; Sun, 25 Apr 2021 12:32:03 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FSnTb3WBRz3L12; Sun, 25 Apr 2021 12:32:03 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from [IPv6:2a02:8011:300b:42:6c9a:d75b:dba8:642c] (unknown [IPv6:2a02:8011:300b:42:6c9a:d75b:dba8:642c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: markm) by smtp.freebsd.org (Postfix) with ESMTPSA id 1B5794B7A; Sun, 25 Apr 2021 12:32:03 +0000 (UTC) (envelope-from markm@FreeBSD.org) From: Mark Murray Content-Type: multipart/signed; boundary="Apple-Mail=_E2E29890-79B3-4CCB-9110-CF30B253D3C0"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Date: Sun, 25 Apr 2021 13:32:00 +0100 Subject: I2C/IIC working on RPI4 8GB? Message-Id: <1C2DD11C-B1F6-4C2A-9AB0-5F1553520FF5@FreeBSD.org> To: freebsd-arm X-Mailer: Apple Mail (2.3654.60.0.2.21) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2021 12:32:03 -0000 --Apple-Mail=_E2E29890-79B3-4CCB-9110-CF30B253D3C0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi All, Does anyone here have IIC/I2C working on a CURRENT (I'm running latest) = FreeBSD? I've never seen it work; Last time I had working IIC was on an RPI3. There is a /dev/iic0, and I have a known working RTC on it, but the scan = just times out: [root@grasshopper ~]# i2c -s Hardware may not support START/STOP scanning; trying less-reliable read = method. Scanning I2C devices on /dev/iic0: I suspect something not-quite-right in DTS land, but I lack the = knowledge to investigate. I've done some random stumbling around in the = dark with overlays and the like, but I've either seen the above error, = or a total lack of /dev/iic0. Thanks! M -- Mark R V Murray --Apple-Mail=_E2E29890-79B3-4CCB-9110-CF30B253D3C0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 Comment: GPGTools - http://gpgtools.org iQEzBAEBCgAdFiEEyzPHvybPbOpU9MCxQlsJDh9CUqAFAmCFYUAACgkQQlsJDh9C UqDCNwf9EQYceMnDNrbVQYwPdXazEYnXbTW2VdN875+qlAPPJz/F8ThNuVqJysY5 T7lzPGm91wl1vl6IzPTkMOWTHfNnw2qy5ZP+u01+7j/VkURiPwtDKa6njmoXpk3v u6uoyi58t9mHe2Tl7p6KR+Y4aJpyCUTp4fVgXql/TahhMOidf2JiVmBOu56vxNp8 ZTKzz+VPhFniZkonUDY/xaCbFh1XIcfTo1OsuIYPaGZbyZjRxLkG4xwTooj6xpjL Ype8A2jMYmiQ90RbEXlwf6i+bnXc2JhfTL7jNhXLulimLYIoKvJE7sqPMPtaaaPr 9XVNtzUjZi1Ne5oTSCaaLzjkXF4TcQ== =wliW -----END PGP SIGNATURE----- --Apple-Mail=_E2E29890-79B3-4CCB-9110-CF30B253D3C0--