Raspberry Pi cm4 missing i2c devices

This forum is for discussion about general software issues.

Raspberry Pi cm4 missing i2c devices

Postby gzmorell » Thu Jul 11, 2024 11:04 am

Hi, I have just installed latest raspberrypi aarch64 image, and updated the system.
The board is a Raspberrypi cm4 using a waveshare CM4-IO-BASE-B base board.
The kernel is 6.9.8-2-aarch64.

After booting the system no i2c devices are created under [quote]/dev[/quote]
I have manually loaded the next modules:

[code]
modprobe i2c-dev
modprobe i2c-bcm2835
[/code]

But still there is no i2c devices.
I have also added to /boot/config.txt the next
[quote]
dtparam=i2c_vc=on
dtparam=i2c_arm=on
[/quote]

It seems that dtparam in config.txt does not do anything.
Under boot there is no "overlays" folder.
Also it seems that dtbo files are missing compared to other distros.
Only files in "/boot/dtbs/broadcom" are dtb files.
Is it something that have changed in the new kernel?
Where does u-boot look for the overlays?
Is there any package which contains the overlays?
gzmorell
 
Posts: 6
Joined: Wed Jun 08, 2016 9:50 am

Re: Raspberry Pi cm4 missing i2c devices

Postby graysky » Thu Jul 11, 2024 6:28 pm

If these code to drive these are not including in mailine linux, you will need to use the RPi Foundation's fork of the kernel which is provided by linux-rpi. Please try that and report back.
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to General

Who is online

Users browsing this forum: No registered users and 21 guests