SPRAD86A March 2023 – May 2024 AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM67A , AM68A , AM69A
Copy the DCC binary files generated in the previous step to the file system on the AM62A SK EVM, in the /opt/imaging/<camera> folder. For example, IMX219 has the following pre-built binary files in the SDK:
root@am62axx-evm:~# ls /opt/imaging/imx219/linear
dcc_2a_10b_1920x1080.bin dcc_viss_10b_1920x1080.bin
Then use the media-ctl command to set the camera format consistent with the properties in the initial configuration file, and run live streaming:
root@am62axx-evm:~# media-ctl -V '"imx219 4-0010":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'
root@am62axx-evm:~# gst-launch-1.0 v4l2src device=/dev/video-imx219-cam0 io-mode=dmabuf-import ! \
video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb10 ! \
tiovxisp sink_0::device=/dev/v4l-imx219-subdev0 \
sensor-name="SENSOR_SONY_IMX219_RPI" \
dcc-isp-file=/opt/imaging/imx219/dcc_viss_10b.bin \
sink_0::dcc-2a-file=/opt/imaging/imx219/dcc_2a_10b.bin format-msb=9 ! \
video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! \
kmssink driver-name=tidss sync=false
Even though the image quality is not fully tuned when using the initial configuration, this can validate that the GStreamer plug-ins for the ISP are working properly for the new sensor. The output video gives the correct output color (although not yet tuned) and properly exposed video. This can also make it easier to adjust camera mounting in next step.