MX8 e-con Camera
Introduction
The following instructions will help you to integrate E-Con MIPI camera support into Variscite Yocto images for i.MX8M and i.MX8MM platforms.
This will allow you to stream images/video from a E-con camera(s) connected to Variscite evaluation platforms.
Download Variscite Yocto BSP
Please follow Build Yocto from source code.
Execute steps 1-4.3 to download the BSP sources, but don't start bitbake yet.
Download and install E-con meta layers
$ wget ftp://customerv:Variscite1@ftp.variscite.com/E-Con/econ-4.14.98.tar.gz $ tar xf econ-4.14.98.tar.gz $ mv econ-4.14.98/meta-econ-imx8 ../sources
Download and install Variscite kernel patches
$ wget ftp://customerv:Variscite1@ftp.variscite.com/E-Con/sumo-fsl-4.14.98/recipes-kernel/linux.tar.gz $ rm -rf ../sources/meta-variscite-imx/recipes-kernel/linux $ tar xf linux.tar.gz -C ../sources/meta-variscite-imx/recipes-kernel
Customize configuration files
Customize bblayers.conf
Add the following lines to conf/bblayers.conf
BBLAYERS += " ${BSPDIR}/sources/meta-econ-imx8 "
Customize local.conf
Add the following to conf/local.conf under your Yocto build directory:
Add E-con driver:
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-module-econ-camera-driver"
Add E-Con DTB files:
KERNEL_DEVICETREE_append_imx8mm-var-dart = " \ freescale/fsl-imx8mm-var-dart-econ-camera.dtb \ freescale/fsl-imx8mm-var-som-econ-camera.dtb \ freescale/fsl-imx8mm-var-som-econ-camera-rev10.dtb \ "
Build Yocto image
Continue following Build Yocto from source code from where you left off, to bitbake and install an image.
Testing E-Con camera
Follow DART-MX8M CSI to test e-Con camera