Enable device packages required for camera support and add relevant device tree nodes. The drivers probe and connect properly, but it currently only supports uncompressed UYVY in 2592x1944, 1920x1080 and 1280x960 resolutions, so I had to use ustreamer to get the stream over network: ustreamer -r 1920x1080 -m UYVY -d /dev/video0 -s 0.0.0.0 To get the camera working, the following extra packages are needed: kmod-mux-mmio kmod-video-imx7-csi kmod-video-imx-mipi-csis kmod-video-mux \ kmod-video-ov5645 To set up the capture, you need to set up the links and formats across the pipeline, for example: media-ctl -d /dev/media0 -l "'ov5645 3-003c':0 -> 'csis-30750000.mipi-csi':0[1]" media-ctl -d /dev/media0 -l "'csis-30750000.mipi-csi':1 -> 'csi-mux':1[1]" media-ctl -d /dev/media0 -l "'csi-mux':2 -> 'csi':0[1]" media-ctl -d /dev/media0 -l "'csi':1 -> 'csi capture':0[1]" media-ctl -d /dev/media0 -V "'ov5645 3-003c':0 [fmt:UYVY8_1X16/1920x1080 field:none]" media-ctl -d /dev/media0 -V "'csis-30750000.mipi-csi':0 [fmt:UYVY8_1X16/1920x1080 field:none]" media-ctl -d /dev/media0 -V "'csis-30750000.mipi-csi':1 [fmt:UYVY8_1X16/1920x1080 field:none]" media-ctl -d /dev/media0 -V "'csi-mux':1 [fmt:UYVY8_1X16/1920x1080 field:none]" media-ctl -d /dev/media0 -V "'csi-mux':2 [fmt:UYVY8_1X16/1920x1080 field:none]" media-ctl -d /dev/media0 -V "'csi':0 [fmt:UYVY8_1X16/1920x1080 field:none]" media-ctl -d /dev/media0 -V "'csi':1 [fmt:UYVY8_1X16/1920x1080 field:none]" Signed-off-by: Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17606 Signed-off-by: Robert Marko <robert.marko@sartura.hr> |
||
|---|---|---|
| .. | ||
| base-files | ||
| cortexa7 | ||
| cortexa9 | ||
| cortexa53 | ||
| files/firmware/imx/sdma | ||
| image | ||
| patches-6.12 | ||
| profiles | ||
| config-6.12 | ||
| Makefile | ||