MX8 e-con Camera: Difference between revisions

From Variscite Wiki
No edit summary
Line 13: Line 13:
Execute steps 1-4.3 to download the BSP sources, but don't run bitbake yet.
Execute steps 1-4.3 to download the BSP sources, but don't run bitbake yet.


= Download and install the e-con meta layer =  
= Download and install the e-con meta layerd =  
  $ wget ftp://customerv:Variscite1@ftp.variscite.com/e-con/sumo-fsl-4.14.98/meta-econ-imx8.tar.gz
  $ wget ftp://customerv:Variscite1@ftp.variscite.com/e-con/sumo-fsl-4.14.98/meta-econ-imx8.tar.gz
  $ tar xf meta-econ-imx8.tar.gz -C ../sources
  $ tar xf meta-econ-imx8.tar.gz -C ../sources
= Download and install Variscite e-con meta layer =
  $ wget ftp://customerv:Variscite1@ftp.variscite.com/e-con/sumo-fsl-4.14.98/meta-variscite-imx-econ.tar.gz
  $ wget ftp://customerv:Variscite1@ftp.variscite.com/e-con/sumo-fsl-4.14.98/meta-variscite-imx-econ.tar.gz
  $ tar xf meta-variscite-imx-econ.tar.gz -C ../sources
  $ tar xf meta-variscite-imx-econ.tar.gz -C ../sources

Revision as of 15:23, 10 November 2021

DART-MX8M-MINI e-con Systems Camera

Introduction

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

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.

Download and install the e-con meta layerd

$ wget ftp://customerv:Variscite1@ftp.variscite.com/e-con/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/sumo-fsl-4.14.98/meta-variscite-imx-econ.tar.gz
$ tar xf meta-variscite-imx-econ.tar.gz -C ../sources

Adjust the relevant Yocto configuration files

Edit bblayers.conf

Add the following lines to conf/bblayers.conf

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

Edit local.conf

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

Add the e-con Systems camera driver:
 IMAGE_INSTALL_append = " \
        econ-camera-driver \
"
 MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-module-econ-camera-driver"

Build a Yocto image

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

Testing the e-con Systems camera

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

Using prebuilt recovery SD card images

Prebuilt recovery SD card image with e-con camera support can be downloaded from ftp://customerv:Variscite1@ftp.variscite.com/e-con/DART-MX8M-MINI/sumo-fsl-4.14.98/