Rock960 and 96Boards Sensors Mezzanine


#1

Can Rock960 work with 96Boards Sensors Mezzanine ?
It seems libmraa cannot support Rock960 currently?


#2

Yes.

Support is relatively easy to add.

The only problem I see to merge rock960 in upstream libmraa is that GPIO numbers of the rock960 release image are not aligned with the upstream-kernel ones (1000 offset, cf How to identify GPIO pins).


#3

Can Rock960 work with 96Boards Sensors Mezzanine ?
It seems libmraa cannot support Rock960 currently?

It is expected to work, yes.

libmraa is optional, in the sense that you can use the sensors board
without it. However if you want all the example code to work support
would need to be added. If you want to try adding it then please
feel free. Likewise, if you get it working and want advise about how
to get your patches added to libmraa I expect we can find someone to
help you.


#4

@Loic Thanks again :grinning: you are so nice


#5

@danielt It’s so kind of you. I’ll try my best to get 96Boards Sensors board to work with my Rock960 (android os)


#6

the support for rock960 is coming :slight_smile:

We have sent boards to Mani of Linaro team, who also maintains the libmraa will help check libmraa on rock960.

https://github.com/intel-iot-devkit/mraa/pull/909


#7

Great, @hipboi thank you so much.


#8

rock960 board implements interface i2c6 and i2c1 for low speed expansion connector described in Hardware User Manual for ROCK960, but those two interfaces are not enabled in rk3399-rock960-model-ab.dts.
How to config I2C6 and I2C1 ?


#9

Just only enable them in rk3399-rock960-model-ab.dts.

Now I2C on 96Boards Sensors Mezzanine works!