-
Notifications
You must be signed in to change notification settings - Fork 11
Rock pi 4 Usage
Alexandru Burcea edited this page Nov 23, 2022
·
1 revision
Here are some instructions to use the card with rock pi 4:
- Install Debian https://wiki.radxa.com/Rockpi4/Debian (u/p:rock/rock)
- Install mraa library: https://wiki.radxa.com/Rockpi4/dev/libmraa
- Turn on the I2C port
sudo nano boot/hw_intfc.conf
| turn on i2c7 - Install build tools:
sudo apt-get install build-essential python-pip python-dev python-smbus git
- Get the repository:
~$ git clone https://github.com/SequentMicrosystems/ioplus-rpi.git
- Because the rockpi use different I2C port than Raspberri Pi, change "/dev/i2c-1" with "/dev/i2c-7" in ioplus-rpi/src/comm.c
cd ioplus-rpi/
- Install the ioplus command line interface:
~/ioplus-rpi$ sudo make install
- Connect the card and test the software,
ioplus -list
should return the cards connected to the ROCK PI andioplus
will give you the list of the available commands