MX8 e-con Camera: Difference between revisions
No edit summary |
No edit summary |
||
(18 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
= Introduction = | = Introduction = | ||
The instructions | The following instructions will allow you to add support for the e-con Systems MIPI camera [https://www.variscite.com/product/accessories/vcam-ar1335e/ VCAM-AR1335E] to your Yocto images.<br> | ||
This will allow you to stream images/video from a e-con Systems camera [https://www.variscite.com/product/accessories/vcam-ar1335e/ VCAM-AR1335E] connected to a Variscite evaluation kit.<br> | |||
= Download the Variscite Yocto BSP = | = Download the Variscite Yocto BSP = | ||
Line 12: | 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 | = Download and install the e-con meta layers = | ||
$ | {{#if: {{#var:META_ECON_BRANCH}}| | ||
$ git clone https://github.com/varigit/meta-econ-imx -b {{#var:META_ECON_BRANCH}} ../sources/meta-econ-imx | |||
}}<!-- | |||
-->{{#ifeq: {{#var:YOCTO_NAME}} | Sumo | | |||
$ wget https://variscite-public.nyc3.cdn.digitaloceanspaces.com/e-con/Software/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 | ||
$ wget https://variscite-public.nyc3.cdn.digitaloceanspaces.com/e-con/Software/sumo-fsl-4.14.98/meta-variscite-imx-econ.tar.gz | |||
$ wget | |||
$ tar xf meta-variscite-imx-econ.tar.gz -C ../sources | $ tar xf meta-variscite-imx-econ.tar.gz -C ../sources | ||
}} | |||
= | = Customize configuration files = | ||
== | == Customize bblayers.conf == | ||
Add the following lines to conf/bblayers.conf | Add the following lines to conf/bblayers.conf under your Yocto build directory: | ||
{{#if: {{#var:META_ECON_BRANCH}}| | |||
BBLAYERS += " ${BSPDIR}/sources/meta-econ-imx " | |||
}}<!-- | |||
-->{{#ifeq: {{#var:YOCTO_NAME}} | Sumo | | |||
BBLAYERS += " ${BSPDIR}/sources/meta-econ-imx8 " | BBLAYERS += " ${BSPDIR}/sources/meta-econ-imx8 " | ||
BBLAYERS += " ${BSPDIR}/sources/meta-variscite-imx-econ " | BBLAYERS += " ${BSPDIR}/sources/meta-variscite-imx-econ " | ||
}} | |||
== | {{#if: {{#var:META_ECON_LOCALCONF_SECTION}} | | ||
Add the following to conf/local.conf under your Yocto build directory: | == Customize local.conf == | ||
Add the following to conf/local.conf under your Yocto build directory: | |||
{{#lst:Yocto_Platform_Customization|{{#var:META_ECON_LOCALCONF_SECTION}}}} | |||
}} | |||
= Build a Yocto image = | = Build a Yocto image = | ||
Continue following {{Varlink|Yocto_Build_Release|{{#var:RELEASE_LINK}}|Build Yocto from source code}} from where you left off to bitbake and install | Continue following {{Varlink|Yocto_Build_Release|{{#var:RELEASE_LINK}}|Build Yocto from source code}} from where you left off, to bitbake and install an image. | ||
= Testing the e-con Systems camera = | = Testing the e-con Systems camera = | ||
Follow {{Varlink| | Follow the {{Varlink|DART-MX8M CSI|{{#var:RELEASE_LINK}}|{{#var:HARDWARE_NAME}} Camera}} page to test the camera. | ||
{{#if: {{#var:ECON_RECOVERY_SD_PATH}} | | |||
= Prebuilt recovery SD card image = | |||
A prebuilt recovery SD card image with e-con camera support can be downloaded from:<br> | |||
https://variscite-public.nyc3.cdn.digitaloceanspaces.com/e-con/Software/{{#var:ECON_RECOVERY_SD_PATH}} | |||
'''Note:''' Some web browsers have removed FTP support. Please see our [[FTP|FTP wiki page]].<br> | |||
}} |
Latest revision as of 21:25, 22 August 2024
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.
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 layers
$ wget https://variscite-public.nyc3.cdn.digitaloceanspaces.com/e-con/Software/sumo-fsl-4.14.98/meta-econ-imx8.tar.gz $ tar xf meta-econ-imx8.tar.gz -C ../sources $ wget https://variscite-public.nyc3.cdn.digitaloceanspaces.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
Customize configuration files
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 "
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"
Build a Yocto image
Continue following Build Yocto from source code from where you left off, to bitbake and install an image.
Testing the e-con Systems camera
Follow the DART-MX8M-MINI Camera page to test the camera.
Prebuilt recovery SD card image
A prebuilt recovery SD card image with e-con camera support can be downloaded from:
Note: Some web browsers have removed FTP support. Please see our FTP wiki page.