MX8 e-con Camera

From Variscite Wiki
DART-MX8M e-con Systems Camera

1 Introduction

The following instructions will allow you to add support for the e-con Systems MIPI camera VCAM-AR1335E to your Yocto images.
This will allow you to stream images/video from a e-con Systems camera VCAM-AR1335E connected to a Variscite evaluation kit.

2 Download the Variscite Yocto BSP

Please follow Build Yocto from source code.
Execute steps 1-4.3 to download the BSP sources, but don't run bitbake yet.

3 Download and install the e-con meta layers

$ wget ftp://customerv:Variscite1@ftp.variscite.com/e-con/Software/sumo-fsl-4.14.98/meta-econ-imx8.tar.gz
$ tar xf meta-econ-imx8.tar.gz -C ../sources
$ wget ftp://customerv:Variscite1@ftp.variscite.com/e-con/Software/sumo-fsl-4.14.98/meta-variscite-imx-econ.tar.gz
$ tar xf meta-variscite-imx-econ.tar.gz -C ../sources

4 Customize configuration files

4.1 Customize bblayers.conf

Add the following lines to conf/bblayers.conf under your Yocto build directory:

BBLAYERS += " ${BSPDIR}/sources/meta-econ-imx8 "
BBLAYERS += " ${BSPDIR}/sources/meta-variscite-imx-econ "

4.2 Customize local.conf

Add the following to conf/local.conf under your Yocto build directory:

IMAGE_INSTALL_append = " \
       econ-camera-driver \
"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-module-econ-camera-driver"

5 Build a Yocto image

Continue following Build Yocto from source code from where you left off, to bitbake and install an image.

6 Testing the e-con Systems camera

Follow the DART-MX8M Camera page to test the camera.

7 Prebuilt recovery SD card image

A prebuilt recovery SD card image with e-con camera support can be downloaded from:

ftp://customerv:Variscite1@ftp.variscite.com/e-con/Software/DART-MX8M/sumo-fsl-4.14.98/dart-mx8mq-econ-recovery-sd.v32.img.gz

Note: Some web browsers have removed FTP support. Please see our FTP wiki page.