MIPI-CSI

Hardware Setup

Instructions for setting up and connecting the camera can be found in the Camera QuickStartGuide:
MIPI-CSI Quick start guide

Software Setup

The following software example displays the live image of the camera on the HDMI interface of the starter kit.
To view the live image, an HDMI monitor must be connected.

Camera imx327 (color)

1. Start the Kit and stop in Uboot
2. Select the appropriate Devicetree for the use of the Camera:

setenv fdt_file @imx327_dtb@

3. Save the environment to automatically load the selected devicetree for the next launches:

saveenv

4. Boot the kernel:

boot

5. When linux is started, login and configure the cam:

yavta -f SRGGB10 -s 1280x720 /dev/video0

6. run the following command to see the camera output on HDMI:

gst-launch-1.0 v4l2src device=/dev/video0 force-aspect-ratio=false ! video/x-bayer,format=rggb,bpp=10,width=1280,height=720,framerate=25/1 ! bayer2rgbneon show-fps=t reduce-bpp=t ! autovideoconvert ! autovideosink sync=false

Camera ov9281 (monochrome)

1. Start the Kit and stop in Uboot
2. Select the appropriate Devicetree for the use of the Camera:

setenv fdt_file @ov9281_dtb@

3. Save the environment to automatically load the selected devicetree for the next launches:

saveenv

4. Boot the kernel:

boot

5. When linux is started, login and configure the cam:

yavta -f Y8 -s 1280x800 -c20 /dev/video0

6. Run the following command to see the camera output on HDMI:

gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! autovideosink -v sync=false