MX8 e-con Camera: Difference between revisions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
= Download and install the e-con meta layer = | = Download and install the e-con meta layer = | ||
$ wget ftp://customerv:Variscite1@ftp.variscite.com/e-con/ | $ wget ftp://customerv:Variscite1@ftp.variscite.com/e-con/sumo-fsl-4.14.98/meta-econ-imx8.tar.gz | ||
$ tar xf econ- | $ tar xf meta-econ-imx8.tar.gz -C ../sources | ||
= Download and install | = Download and install Variscite e-con meta layer = | ||
$ wget ftp://customerv:Variscite1@ftp.variscite.com/e-con/sumo-fsl-4.14.98/ | $ 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 = | = Adjust the relevant Yocto configuration files = | ||
Line 25: | Line 24: | ||
Add the following lines to conf/bblayers.conf | Add the following lines to conf/bblayers.conf | ||
BBLAYERS += " ${BSPDIR}/sources/meta-econ-imx8 " | BBLAYERS += " ${BSPDIR}/sources/meta-econ-imx8 " | ||
BBLAYERS += " ${BSPDIR}/sources/meta-variscite-imx-econ " | |||
== Edit local.conf == | == Edit local.conf == | ||
Add the following to conf/local.conf under your Yocto build directory:<br> | Add the following to conf/local.conf under your Yocto build directory:<br> | ||
< | <pre> | ||
Add the e-con Systems camera driver: | Add the e-con Systems camera driver: | ||
IMAGE_INSTALL_append = " \ | |||
econ-camera-driver \ | |||
" | |||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-module-econ-camera-driver" | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-module-econ-camera-driver" | ||
</pre> | |||
= Build a Yocto image = | = Build a Yocto image = | ||
Line 57: | Line 41: | ||
= Testing the e-con Systems camera = | = Testing the e-con Systems camera = | ||
Follow {{Varlink|Yocto_Build_Release|{{#var:RELEASE_LINK}}|DART-MX8M CSI}} to test the camera. | Follow {{Varlink|Yocto_Build_Release|{{#var:RELEASE_LINK}}|DART-MX8M CSI}} 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/{{#ifeq: {{#var:HARDWARE_NAME}} | DART-MX8M | DART-MX8M/sumo-fsl-4.14.98-mx8mq-v2.2 | {{#ifeq: {{#var:HARDWARE_NAME}} | DART-MX8M-MINI | DART-MX8M-MINI/sumo-fsl-4.14.98-mx8mm-v2.4|}}}} |
Revision as of 12:58, 18 September 2020
Introduction
The instructions on this page add e-con Systems MIPI cameras support to Yocto images for Variscite i.MX8M and i.MX8MM platforms.
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 layer
$ 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
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 $ 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 DART-MX8M CSI 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-mx8mm-v2.4