Search by Tags

Multi Camera Module (Linux)

 
Applicable for

Compare with Revision
Subscribe for this article updates

Overview

This article talks about the Multi Camera Module on Colibri and Apalis evaluation boards or the Ixora carrier board connected via the parallel camera interface. The Multi Camera Module was designed by Antmicro Ltd, and is based on the Epson S2D13P04 - an integrated chip designed for multiple analog camera systems.

References

Epson, S2D13P04 Datasheet

Apalis T30

On Apalis T30 the kernel modules are included out-of-the-box (since our embedded Linux BSP V2.6 beta 2 demo image) with the modular camera configuration enabled which allows switching not only decoders but also their inputs at run time.

The correct load order of the kernel modules is as follows:

# modprobe videobuf2-memops
# modprobe videobuf2-dma-nvmap
# modprobe s2d13p04.ko
# modprobe tegra_v4l2_camera
  • The following gstreamer pipeline shows a preview window:
# gst-launch v4l2src ! nv_omx_videomixer ! nv_gl_eglimagesink

Colibri T30

  • Follow this article to build and re-compile the embedded Linux kernel image.

  • The following kernel configuration options are required to be enabled (e.g. using make nconfig):

Device Drivers --->

    <*> Multimedia support (CONFIG_MEDIA_SUPPORT) --->

        [*] Video capture adapters (CONFIG_VIDEO_CAPTURE_DRIVERS) --->

            Encoders, decoders, sensors and other helper chips  --->

            <*> SoC camera support (CONFIG_SOC_CAMERA)
            <M> s2d13p04 support (CONFIG_SOC_CAMERA_S2D13P04)
            <M> Tegra soc_camera host driver (CONFIG_VIDEO_TEGRA)
  • Don't forget to deploy the kernel modules to your root file system as well once built:
# sudo -E make INSTALL_MOD_PATH="path-to-your-rootfs" modules_install
  • Restart the target system after flashing the updated embedded Linux kernel image and root file system.

The following gstreamer pipeline shows a preview window:

# gst-launch v4l2src ! nv_omx_videomixer ! nv_gl_eglimagesink