Re: RPI4/8GB i2c not working?

Mark Millard via freebsd-arm <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On 2021-Mar-9, at 15:14, Klaus Küchemann via freebsd-arm <freebsd-arm at freebsd.org> wrote:

> Am 09.03.2021 um 23:52 schrieb Klaus Küchemann <[email protected]>:
>> 
>> 
>> 
>>> Am 09.03.2021 um 19:57 schrieb Mark Murray <[email protected]>:
>>> 
>>> ….FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210304-483c6da3a20-257149.img snapshot…...
>>> Maybe the IIC device needs to be changed for the 8GB RPi4? Or something?
>> 
>> while I can’t test that  because of lack of a  i2c-device here for now but:
>> snaps don’t seem to have  corresponding overlays in it, 
>> e.g. for an RTC-device :
>> 
>> dtoverlay=i2c-rtc,ds3231    
>> 
>> K.
> 
> … corresponding overlays are here :
> https://github.com/raspberrypi/firmware/tree/master/boot/overlays

I'll note that if one has been careful to use the
tagged firmware and wants to be sure to have matching
overlays, then:

https://github.com/raspberrypi/firmware/tree/1.20210303/boot/overlays/

is a better alternative for avoiding vintage mismatches.

Also, with the modern sysutils/rpi-firmware built and installed,
I see i2c-rtc.dtbo as available to copy over:

# ls -Tld /usr/local/share/rpi-firmware/overlays/*i2c*
-rw-r--r--  1 root  wheel   270 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c-bcm2708.dtbo
-rw-r--r--  1 root  wheel  1055 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c-gpio.dtbo
-rw-r--r--  1 root  wheel  2185 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c-mux.dtbo
-rw-r--r--  1 root  wheel   648 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c-pwm-pca9685a.dtbo
-rw-r--r--  1 root  wheel  5680 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c-rtc-gpio.dtbo
-rw-r--r--  1 root  wheel  5954 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c-rtc.dtbo
-rw-r--r--  1 root  wheel  5336 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c-sensor.dtbo
-rw-r--r--  1 root  wheel  1651 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c0.dtbo
-rw-r--r--  1 root  wheel  1004 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c1.dtbo
-rw-r--r--  1 root  wheel   907 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c3.dtbo
-rw-r--r--  1 root  wheel   907 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c4.dtbo
-rw-r--r--  1 root  wheel   911 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c5.dtbo
-rw-r--r--  1 root  wheel   909 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/i2c6.dtbo
-rw-r--r--  1 root  wheel  1353 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/sc16is750-i2c.dtbo
-rw-r--r--  1 root  wheel  1353 Mar  3 05:29:57 2021 /usr/local/share/rpi-firmware/overlays/sc16is752-i2c.dtbo

But I do not see a *ds3231* there:

# ls -Tld /usr/local/share/rpi-firmware/overlays/*ds3231*
ls: /usr/local/share/rpi-firmware/overlays/*ds3231*: No such file or directory

Nor do I see *ds3231* at:

https://github.com/raspberrypi/firmware/tree/1.20210303/boot/overlays/

(May be I've guessed wrong about the ",ds3231" notation's
purpose?)

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.