Let's start setting up the hostname to rock4se
sudo hostnamectl --static set-hostname rock4se
Next, setup the network
sudo nmcli r wifi on
sudo nmcli dev wifi connect ”<ssid>” password “<password>”
Edit /boot/hw_intfc.conf
to make sure dtoverlay for IMX219 (Raspberry Pi Camera Module V2) is loaded
intfc:dtoverlay=imx219
You also have to enable i2c. The documentation doesn't specify which i2c bus so we'll enable two of the possible ones
Edit /boot/hw_intfc.conf
and make sure i2c2 and i2c7 are enabled
intfc:i2c2=on
intfc:i2c7=on
You can test the camera with a script provided by Radxa. The script calls gstreamer with the correct parameters.
test_camera-rkisp.sh
If pubkey is missing in Debian, get it and install it. apt-key command is depcrecated but still works.
wget -O - apt.radxa.com/$DISTRO/public.key | sudo apt-key add -