MX8 Basler Camera NXP

From Variscite Wiki
Revision as of 18:40, 11 November 2021 by Marco (talk | contribs)
DART-MX8M-PLUS Basler Camera using native NXP support

Introduction

The following instructions will allow you to add support for the Basler MIPI camera to your Yocto images using the software modules already present in the Yocto BSP.
This will allow you to stream images/video from a Basler camera(s) connected to a Variscite evaluation kit.

Available cameras

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.

Customize configuration files

Customize local.conf

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

IMAGE_INSTALL_append_mx8mp = " \
       kernel-module-isp-vvcam \
       isp-imx \
       basler-camera \
"

Build Yocto image

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


Running gstreamer

Run the following command at the shell prompt:

$ gst-launch-1.0 -v v4l2src device=/dev/video0 ! waylandsink

Prebuilt recovery SD card image

A prebuilt recovery SD card image with Basler camera support can be downloaded from:

ftp://customerv:Variscite1@ftp.variscite.com/Basler/Software/DART-MX8M-PLUS/hardknott-fsl-5.10.35-mx8mp-v7.0/dart-mx8mp-basler-cep-1.3.1.27-recovery-sd.v70.img.gz

Note: Some web browsers have removed FTP support. Please see our FTP wiki page.