Skip to content

Instantly share code, notes, and snippets.

@camerahacks
Last active December 15, 2022 21:31
Show Gist options
  • Save camerahacks/848fc5a78b8374bb9a497eebcc465a81 to your computer and use it in GitHub Desktop.
Save camerahacks/848fc5a78b8374bb9a497eebcc465a81 to your computer and use it in GitHub Desktop.
Rock 4 SE Setup

Rock 4 SE Setup Instructions

Wifi Setup

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>”

Camera Setup

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

Update Software

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 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment