.. |br| raw:: html
.. _basler-camera-yocto: Basler Camera ============= +--------------------------------+---------------------------------+ | Module | Camera | +================================+=================================+ | QSXM-MM60 | `Basler daA2500-60mci`_ | +--------------------------------+---------------------------------+ | QSXP-ML81 | `Basler daA3840-30mc`_ | +--------------------------------+---------------------------------+ To compile a Yocto image with the Camera enabled follow the steps below. Build Directory --------------- Set up your Yocto build-directory with these settings: .. prompt:: :prompts: $ DISTRO=karo-xwayland MACHINE= source karo-setup-release.sh -b Basler Layers ------------- .. hint:: The layers only apply for our **5.10.72_2.2.0 hardknott** release! +--------------------------------+--------------------------------------------------------------------+ | Module | Layers | +================================+====================================================================+ | QSXM-MM60, QSXP-ML81 | https://github.com/basler/meta-basler-tools |br| | | | https://github.com/basler/meta-basler-imx8 | +--------------------------------+--------------------------------------------------------------------+ Clone the two folders ``meta-basler-imx8`` and ``meta-basler-tools`` to your **BSP** ``sources`` directory, where the other layers are present. To make the layers available for your build, append the following two lines to your ``/conf/bblayers.conf`` file. .. code-block:: text BBLAYERS += "${BSPDIR}/sources/meta-basler-imx8" BBLAYERS += "${BSPDIR}/sources/meta-basler-tools/meta-basler-common" Patching Basler Layers ---------------------- The Basler layers have to be patched to fit our needs. .. note:: **Patch** |br| Download our :download:`basler-layers-fit-for-karo-images.patch <./patches/basler-layers-fit-for-karo-images.patch>` and apply it inside your **BSP** ``sources`` directory as follows. .. prompt:: :prompts: $ cd /karo-nxp-bsp/sources/ patch -p1 < basler-layers-fit-for-karo-images.patch Building Image -------------- When everything set up you can build the Image including Camera support. .. prompt:: :prompts: $ bitbake karo-image-basler When your build has finished, flash your module with the image. See :ref:`uuu`. Usage ----- Go to: Software Documentation -> QSXP -> :ref:`tx8-bsp-camera` .. _`Basler daA2500-60mci`: https://www.baslerweb.com/en/products/cameras/area-scan-cameras/dart/daa2500-60mci-s-mount/ .. _`Basler daA3840-30mc`: https://www.baslerweb.com/en/products/cameras/area-scan-cameras/dart/daa3840-30mc-s-mount/