All the bash commands shown here are based on Genio 510/700-EVK. For Genio 510-EVK, users can follow the same step to do the whole setup by changing the naming term from 700 to 510.
Note
All command operations presented in this chapter are based on the IoT Yocto v24.0, Genio 700-EVK.
You might get different operation results depending on the platform you use.
This chapter shows how to operate multi sensors under V4L2 Sensor architecture on Genio 510/700-EVK.
The camera device is inactive by default, so the kernel has to load a specific device tree blob overlay to enable it.
Please refer to the bl33 (u-boot) section for how to load DTBO.
The following table shows the supported multi-sensor combinations in V4L2 sensor architecture.
IT6510FN and LT6911UXE are the proof-of-concept components. Please refer to Proof-of-Concept for the usage.
The assigned node number for the media device may vary depending on the sequence of the probing process during the boot-up phase.
As such, it is crucial to ensure the accuracy of the media device node before using the camera.
Set the media topology and the format on the EVK
Media Topology Graph of Dual Onsemi AP1302 ISP and SoC
# Set Genio 700 and Onsemi AP1302 on CSI0media-ctl-d${MEDIA_DEV}-l"'seninf-0':1 -> 'mtk-cam camsv-0':0 [5]"# Enable the link between seninf-0 pad 1 and mtk-cam camsv-0 pad 0media-ctl-d${MEDIA_DEV}-l"'ap1302.5-003c':2 -> 'seninf-0':0 [1]"# Enable the link between ap1302.5-003c pad 2 and seninf-0 pad 0media-ctl-d${MEDIA_DEV}-V"'ap1302.5-003c':2 [fmt:UYVY8_1X16/1920x1080 field:none]"# Set UYVY/1920x1080 to ap1302.5-003c pad 2media-ctl-d${MEDIA_DEV}-V"'seninf-0':1 [fmt:UYVY8_1X16/1920x1080 field:none]"# Set UYVY/1920x1080 to seninf-0 pad 1media-ctl-d${MEDIA_DEV}-V"'mtk-cam camsv-0':1 [fmt:UYVY8_1X16/1920x1080 field:none]"# Set UYVY/1920x1080 to mtk-cam camsv-0 pad 1# Set Genio 700 and Onsemi AP1302 on CSI1media-ctl-d${MEDIA_DEV}-l"'seninf-1':1 -> 'mtk-cam camsv-1':0 [5]"# Enable the link between seninf-1 pad 1 and mtk-cam camsv-1 pad 0media-ctl-d${MEDIA_DEV}-l"'ap1302.3-003c':2 -> 'seninf-1':0 [1]"# Enable the link between ap1302.3-003c pad 2 and seninf-1 pad 0media-ctl-d${MEDIA_DEV}-V"'ap1302.3-003c':2 [fmt:UYVY8_1X16/1920x1080 field:none]"# Set UYVY/1920x1080 to ap1302.3-003c pad 2media-ctl-d${MEDIA_DEV}-V"'seninf-1':1 [fmt:UYVY8_1X16/1920x1080 field:none]"# Set UYVY/1920x1080 to seninf-1 pad 1media-ctl-d${MEDIA_DEV}-V"'mtk-cam camsv-1':1 [fmt:UYVY8_1X16/1920x1080 field:none]"# Set UYVY/1920x1080 to mtk-cam camsv-1 pad 1