rpi 5 + kernal 6.3.30 work well build it and copy at24.dtbo to /boot/firmware/overlays/
#config.txt#/etc/modulesbut when i change env to rpi cm5 + kernal 6.12.xx, it not work no more.
acodding this [viewtopic.php?t=385864]
config.txt change tonot work still, /sys/class/i2c-dev/i2c-0/device/0-0500/eeprom not foundhow can fix this ,
Code:
/dts-v1/;/plugin/;/ { fragment@0 { target = <&i2c0>; // Reference to the I2C controller __overlay__ { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins>; //kernal 6.6.x can use &i2c0_pins , 6.3.x use &rp1_i2c0_0_1 clock-frequency = <400000>; status = "okay"; #address-cells = <1>; // Define addressing scheme #size-cells = <0>; // No size information for I2C at24@50 { compatible = "atmel,24c64", "at24"; // EEPROM compatibility reg = <0x50>; // I2C address of the EEPROM pagesize = <32>; // EEPROM page size in bytes size = <8192>; // EEPROM size in bytes address-width = <16>; // Address width in bits }; }; };};#config.txt
Code:
dtparam=i2c_arm=ondtparam=i2c_vc=ondtoverlay=at24Code:
at24acodding this [viewtopic.php?t=385864]
config.txt change to
Code:
dtparam=i2c_arm=ondtparam=i2c_vc=ondtoverlay=at24force_eeprom_read=0disable_poe_fan=1Code:
dv@rsap5:~/source/repos/eeprom $ cat /etc/modules# /etc/modules: kernel modules to load at boot time.## This file contains the names of kernel modules that should be loaded# at boot time, one per line. Lines beginning with "#" are ignored.# Parameters can be specified after the module name.i2c-devat24dv@rsap5:~/source/repos/eeprom $ ls /sys/class/i2c-dev/i2c-0/device/0-0050/modalias name of_node power subsystem uevent waiting_for_supplierdv@rsap5:~/source/repos/eeprom $ cat /sys/class/i2c-dev/i2c-0/device/nameSynopsys DesignWare I2C adapterdv@rsap5:~/source/repos/eeprom $ cat /sys/class/i2c-dev/i2c-0/device/0-0050/name24c64dv@rsap5:~/source/repos/eeprom $ dmesg |grep -i i2c[ 0.025531] /axi/pcie@120000/rp1/i2c@88000/imx500@1a: Fixed dependency cycle(s) with /axi/pcie@120000/rp1/csi@110000[ 0.025570] /axi/pcie@120000/rp1/csi@110000: Fixed dependency cycle(s) with /axi/pcie@120000/rp1/i2c@88000/imx500@1a[ 0.025973] /axi/pcie@120000/rp1/i2c@88000/imx500@1a: Fixed dependency cycle(s) with /axi/pcie@120000/rp1/csi@110000[ 0.026016] /axi/pcie@120000/rp1/csi@110000: Fixed dependency cycle(s) with /axi/pcie@120000/rp1/i2c@88000/imx500@1a[ 0.941456] /axi/pcie@120000/rp1/i2c@88000/imx500@1a: Fixed dependency cycle(s) with /axi/pcie@120000/rp1/csi@110000[ 0.960718] /axi/pcie@120000/rp1/i2c@88000/imx500@1a: Fixed dependency cycle(s) with /axi/pcie@120000/rp1/csi@110000[ 0.960748] /axi/pcie@120000/rp1/csi@110000: Fixed dependency cycle(s) with /axi/pcie@120000/rp1/i2c@88000/imx500@1a[ 1.987653] i2c_dev: i2c /dev entries driver[ 2.447730] rp1-cfe 1f00110000.csi: found subdevice /axi/pcie@120000/rp1/i2c@88000/imx500@1a[ 2.447903] brcmstb-i2c 107d508200.i2c: @97500hz registered in interrupt mode[ 2.452583] brcmstb-i2c 107d508280.i2c: @97500hz registered in interrupt mode[ 14.563696] i2c 10-001a: deferred probe pendingStatistics: Posted by nocanstillbb — Thu Jun 26, 2025 12:17 pm