HummingBoard Pulse & i.MX8M Plus - Basler Camera Quick Start Guide

Revision and Notes

Date

Owner

Revision

Notes

Date

Owner

Revision

Notes

Feb 17, 2022

 

1.0

Initial release

Table of Contents

 

Introduction

The following provides a quick guide to start using the Camera Module on your HummingBoard Pulse and i.MX8M Plus SOM.

Software Setup

Cable setup and prerequisites

Here are the additional cables and prerequisites you will need for being able to get started with your Camera:

Image download and SD card preparation

1. Downloading the Yocto image:

Download the image by running the following command on your PC:

wget https://solid-run-images.sos-de-fra-1.exo.io/IMX8/imx8mp_yocto_hardknott-5.10.72-2.2.0/imx-image-full-imx8mpsolidrun-20220216104419.rootfs.wic.xz

2. Writing the image to the SD card

Use the following commands for writing the image to an SD card:

xz -dc imx-image-full-imx8mpsolidrun-20220216104419.rootfs.wic.xz | dd of=/dev/sdX bs=4k conv=fdatasync status=progress

Note: Plug a micro SD into your Linux PC, the following assumes that the micro SD is added as /dev/sdX and all it’s partitions are unmounted.

3. SD card insertion

Please Insert the SD card into your device.

4. Power connection

Connect your power adaptor to the DC jack, and then connect the adaptor to mains supply.

5. Serial Connection

Please insert the micro USB into your device, then you can refer to Serial Connection for installing necessary serial connection software in Linux/Windows.

Once you installed the necessary serial connection software, reboot your device and you should be able to see the following:

  • Please inset ‘root’ as a username for being able to log in as shown in the above picture.

Camera Test

1. Connect your HDMI cable.

Note: The camera preview only works when a monitor is connected to your Board.

2. Connect your Camera to the CSI 2.0 of the carrier as shown in the picture below:

A green LED will light up at the back panel of your camera. This is an indication of Camera is operating. See the following figure:

3. Check available devices by running the following on your monitor:

v4l2-ctl --list-devices
  • You can use 'v4l2-ctl --device /dev/video0 --all' for complete information and default configuration of your device.

4. Use the following commands to monitor your camera and configure resolution:

Once you run the previews commands, you can direct your camera to an object and start monitoring as shown in the following figure:

 

The following is an implementation of what the camera displays on the monitor screen.

 

 

 

 

 

 

 

 

 

SolidRun Ltd.