Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

i2c on tinkerboard

Featured Replies

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

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

Hi

Just change status to status = "okay"; in i2c@ff140000 {...}; and i2c@ff160000 {...};section, recompile dtb and reboot.

Hi Nexon,

 

where should I change the status to what you mentioned? Can you please specify the filename to change? 

 

Thanks

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?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.