g2t Posted May 22, 2021 Posted May 22, 2021 Hello, I'm trying to use i2c (i2c1, i2c4) with fresh installed image "Armbian_21.05.1_Tinkerboard_focal_current_5.10.34.img.xz". The related overlays seems to be enabled by default: cat /boot/armbianEnv.txt verbosity=1 bootlogo=false overlay_prefix=rockchip overlays=i2c1 i2c4 spi2 spidev2 uart1 uart2 rootdev=UUID=68be20e3-93fc-4c59-95e1-0c534586d070 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u i2c is enabled by default: i2cdetect -l i2c-2 i2c rk3x-i2c I2C adapter i2c-0 i2c rk3x-i2c I2C adapter i2c-5 i2c rk3x-i2c I2C adapter What I have missed to setup? Thanks Thomas
CPA Posted June 1, 2021 Posted June 1, 2021 Hello Exactly the same problem I Try with two images : Armbian_21.05.1_Tinkerboard_buster_current_5.10.34_xfce_desktop.img Armbian_21.05.1_Tinkerboard_focal_current_5.10.34_xfce_desktop.img Any idea Thanks
nexon Posted September 14, 2021 Posted September 14, 2021 Hi Just change status to status = "okay"; in i2c@ff140000 {...}; and i2c@ff160000 {...};section, recompile dtb and reboot.
JKris Posted September 20, 2021 Posted September 20, 2021 Hi Nexon, where should I change the status to what you mentioned? Can you please specify the filename to change? Thanks
Kcc122 Posted September 6, 2022 Posted September 6, 2022 I'm also trying to get my i2c to work albeit on TB2S. What my research has led me to is instantiation of i2c and the new_device... Can anyone confirm the correct way too go about this without having to recompile a kernel, eg userspace?
Recommended Posts