Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2023 15:09:45 +0200
From:      "Patrick M. Hausen" <pmh@hausen.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: FreeBSD 14, RPI CM3+ - how to use I2C?
Message-ID:  <6E552CD8-4248-4EBE-A919-2A56CA1A87FA@hausen.com>
In-Reply-To: <8B10870E-C485-4626-BBCF-BEE0771D8B5A@hausen.com>
References:  <8B10870E-C485-4626-BBCF-BEE0771D8B5A@hausen.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> Am 21.09.2023 um 14:10 schrieb Patrick M. Hausen <pmh@hausen.com>:
> dtoverlay=3Di2c1,pins_44_45
> dtoverlay=3Di2c-rtc,mcp7940x
>=20
> Source: =
https://docs.turingpi.com/docs/turing-pi1-cluster-management-bus-i2c
>=20
> Did that, but
>=20
> i2c -s
>=20
> shows now output [...]

Turns out the FreeBSD installation does not come with all (?) overlays
by default like e.g. Ubuntu.

I downloaded the two missing files from here:

https://github.com/raspberrypi/firmware

and placed them in /boot/efi/overlays.

Bingo:

root@pi1:~ # i2c -s
57 5c
root@pi1:~ # i2c -a 0x57 -o 0xf2 -d r -c 1
ff

Now I finally understand what all of this weird stuff *is* - sort of ;-)

Kind regards,
Patrick=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6E552CD8-4248-4EBE-A919-2A56CA1A87FA>