I2C overlay is not being loaded on beagle bone AI 64

I was trying to use I2C-4 on my beagle bone AI 64
it was working earlier, but after refreshing, the overlay doesn’t seem to be loading upon reboot

I had run the script build_n_install.sh within the dtb-6.1-Beagle folder

my extlinux.conf looks like this

label eMMC (default)
    kernel /Image
    append root=/dev/mmcblk0p3 ro rootfstype=ext4 resume=/dev/mmcblk0p2 rootwai>
    fdtdir /
    fdtoverlays /overlays/BONE-I2C4.dtbo
    initrd /initrd.img

after rebooting, and running

sudo beagle-version | grep UBOOT

which gave

UBOOT: Booted Device-Tree:[k3-j721e-beagleboneai64.dts]

Any ideas for why isn’t it loading?

Hi @malto101 i’m looking at BONE-I2C4.dtbo

How did that what even work in 5.10.x!

So just to clarify, you want to use P9.21 and P9.22 over i2c right?

Regards,

Hello @RobertCNelson
yep,
I wanted to use P9.21 and P9.22 over I2C

Testing now…

cd /opt/source/dtb-6.1-Beagle/
git pull
./build_n_install.sh

nano /boot/firmware/extlinux/extlinux.conf

label microSD (default)
    kernel /Image
    append root=/dev/mmcblk1p3 ro rootfstype=ext4 resume=/dev/mmcblk1p2 rootwait net.ifnames=0 quiet
    fdtdir /
    fdtoverlays /overlays/BONE-I2C4.dtbo
    #initrd /initrd.img
voodoo@BeagleBone:~$ ls -lh /dev/bone/i2c/4 
lrwxrwxrwx 1 root root 11 Jun 28 13:52 /dev/bone/i2c/4 -> ../../i2c-6
voodoo@BeagleBone:~$ i2cdetect -y -r 6
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 

BONE-I2C4 is not valid on BeagleBone AI64…

P9.21 = AJ22 and U28
P9.22 = AC22 and U29

P9.21 - i2c3_sda P9.22 i2c6_scl...

after editing the extlinux.conf and rebooting,
it still hasn’t loaded the overlays

also no response from "ls -lh /dev/bone/i2c/4 "

TBH, I am fine with any I2C bus,
Earlier tried with other buses, but didn’t seem to work

For the those not on discord and following at home, these 3 are enabled now:

BONE-I2C1.dtbo
BONE-I2C2.dtbo
BONE-I2C3.dtbo

Regards,