Jump to content

Overlays for Rock Pi S


Lynema

Recommended Posts

i2cdetect -l

i2c-1    i2c           rk3x-i2c                            I2C adapter

 

The i2c-1 device works fine and there is a working sensor attached.

Trying to get the i2c-0 device up and running. 

Added overlays=i2c0 to /boot/armbianEnv.txt but it didn't work.  There doesn't appear to be a file with that name so I'm not sure if this doesn't exist or if there is a package that needs to be installed.

 

find / -name '*.dtbo' 2> /dev/null   | grep 3308
/boot/overlays/rk3308-uart2.dtbo
/boot/overlays/rk3308-uart1.dtbo
/boot/overlays/rk3308-uart0.dtbo

 

armbian-config flashes this in the system->hardware menu

                 │ Loading error: expected at least 6 tokens for --checklist, have 4. use --help to list options. submodule ...  │  

 

What is the right way to get i2c-0 up and running?

 

armbianmonitorRockPiS.txt

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

13 hours ago, Lynema said:

What is the right way to get i2c-0 up and running?

There are no specific overlays for rk3308 in Armbian mainline builds for ROCK Pi S, yet.

Remember also that this branch is very experimental for this board and YMMV.

 

You can try downloading overlay straight from Radxa and install it with "armbian-add-overlay rk3308-i2c0.dts" command.

Link to comment
Share on other sites

Thank you for the reply!

 

wget https://raw.githubusercontent.com/radxa/kernel/stable-4.4-rockpis/arch/arm64/boot/dts/rockchip/overlay/rk3308-i2c0.dts

armbian-add-overlay rk3308-i2c0.dts

 

Rebooted and the sensor is detecting.

/usr/sbin/i2cdetect -y 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- 38 39 -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --

Perfect!

 

If it would help to get a board in a devs' hands, let me know where to send one.

Link to comment
Share on other sites

2 hours ago, Lynema said:

If it would help to get a board in a devs' hands, let me know where to send one.

 

Check support terms:
https://github.com/armbian/build#support

 

And how board can receive funding from our private pocket:


Any developer that know stuff can easily affords SBC that cost 20$ but that is not needed. Manufactures are very happy to sends us (20USD) hw for free in a hope that we will cover support.
 

We lack time and food to do more that we already do for you.
https://github.com/armbian/build#sponsors

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines