Rock3/hardware/camera/
ROCK 3 > Hardware > Camera module
Contents
USB Camera
Update kernel to version 4.19.193-2-rockchip or newer.
root@rock-3a:~# apt-get install -y linux-4.19-rock-3-latest
Install tool fswebcam
root@rock-3a:~# apt-get install -y fswebcam
Plug USB camera in, there shall be video devices.
root@rock-3a:~# ls /dev/video* /dev/video0 /dev/video1
Capture image
fswebcam /dev/video0 ./test.png
MIPI Camera
Hardware connection
Software configuration
Add dtbo
rock-3ab-rpi-camera-v2-imx219
Test command
gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080 ! jpegenc ! multifilesink location=%d.jpg
Troubleshooting
- Post your issue on the forum: https://forum.radxa.com/c/rock3