Difference between revisions of "Rock5/hardware/camera/"
(→Radxa Camera 4K) |
|||
Line 12: | Line 12: | ||
[[File:Rock-5b-radxa-camera-4k.jpeg | 400px]] | [[File:Rock-5b-radxa-camera-4k.jpeg | 400px]] | ||
+ | |||
+ | ==== Software configuration ==== | ||
+ | |||
+ | Find rock-5ab-camera-imx415.dtbo according to the following path | ||
+ | root@rock-5b:/boot/dtbs/5.10.66-20-rockchip-g0cdf37b755fe/rockchip/overlay# | ||
+ | |||
+ | Edit extlinux.conf in root mode | ||
+ | root@rock-5b:/boot/extlinux# vi extlinux.conf | ||
+ | |||
+ | Mount rock-5ab-camera-imx415.dtbo to fdtoverlays | ||
+ | fdtoverlays /dtbs/5.10.66-20-rockchip-g0cdf37b755fe/rockchip/overlay/rock-5ab-camera-imx415.dtbo | ||
+ | |||
+ | |||
+ | ==== Verify command(Reference) ==== | ||
+ | Camera capture 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 | ||
== USB Camera == | == USB Camera == |
Revision as of 06:14, 8 September 2022
ROCK 5 > Hardware > Camera module
Contents
MIPI Camera
Radxa Camera 4K
Hardware connection
Software configuration
Find rock-5ab-camera-imx415.dtbo according to the following path
root@rock-5b:/boot/dtbs/5.10.66-20-rockchip-g0cdf37b755fe/rockchip/overlay#
Edit extlinux.conf in root mode
root@rock-5b:/boot/extlinux# vi extlinux.conf
Mount rock-5ab-camera-imx415.dtbo to fdtoverlays
fdtoverlays /dtbs/5.10.66-20-rockchip-g0cdf37b755fe/rockchip/overlay/rock-5ab-camera-imx415.dtbo
Verify command(Reference)
Camera capture 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
USB Camera
Troubleshooting
- Post your issue on the forum: https://forum.radxa.com/c/rock5