HummingBoard CBi Quick Start Guide
Revision and Notes
Date | Owner | Revision | Notes |
---|---|---|---|
Nov 14, 2021 |
| 1.0 | Initial release |
Table of Contents |
|
Introduction
The following quick start guide provides background information about the HummingBoard CBi product which use the i.MX6 System on module.
The guide will give a technical overview about the product and by the end of it you should be able to boot an operating system and begin testing your application.
Hardware Setup
Product Specifications
SOM Model | NXP i.MX6 based Solo to Quad Core SOM |
Processor | i.MX6 Solo – Quad core ARM Cortex A9 up to 800Mhz |
Memory & Storage | Up to 2GB DDR3 |
| uSD, eMMC (8GB), M.2 (2242) |
Network | 1 x RJ45 |
Connectivity | 1 x CAN bus |
| 1 x RS485 |
| 4 x USB 2.0 |
| Mini PCIe |
| M.2 |
| SIM card slot |
Media | LVDS |
| MIPI-DSI |
| MIPI-CSI-2 |
I/O | 1 x Reset button |
| 1 x Configurable push button |
| 3 x LED indicators |
| RTC |
| IR reciver |
OS Support | Linux |
Dimensions | 102mm x 69mm |
Power | 7V – 36V wide range |
Environment | Metal Enclosure |
|
Supported with i.MX6 SOM. For more detailed information about our SOM-i.MX6 series please visit this user manual : i.MX6 SOM Hardware User Manual .
Block Diagram
The following figure describes the Hummingboard CBi Block Diagram.
Visual features overview
Please see below the features overview of the connector side of the HummingBoard CBi.
Print side connector overview of the HummingBoard CBi.
Software Setup
Cable setup and prerequisites
Here is what you will need to power up the board:
Linux or Windows PC
HummingBoard CBi with SOM
12V Power adapter (HummingBoard CBi has wide range input of 9V-36V, it is recommended to use 12V power adapter)
USB to UART cable
IP router or IP switch
Booting form an SD card
On the HummingBoard CBi it is possible to boot from different media.
For Booting from an SD card, jumpers need to be setup at J5005 as follows:
Before you set the boot jumpers, please refer to HummingBoard Edge/Gate Boot Jumpers for more information about J5005.
Once you setup the jumpers, you can apply the following for booting from an SD card.
1. Downloading the Debian image
Download the Debian image by running the following command on your Linux/Windows PC:
wget https://solid-run-images.sos-de-fra-1.exo.io/IMX6/Debian/sr-imx6-debian-bullseye-20220712-cli-sdhc.img.xz
For more Debian releases, please visit Debian Release.
2. Writing the image to the SD card
Use the following commands for writing the image to an SD card:
xz -dc sr-imx6-debian-bullseye-20220712-cli-sdhc.img.xz | dd of=/dev/sdX bs=4M conv=fsync
For more information, please visit Flashing an SD Card .
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 connect the UART cable to the pins on connector J25 as shown in the below picture, then you can refer to Serial Connection for installing necessary serial connection software in Linux/Windows.
Once you installed the necessary serial connection software, please run the following:
setenv som_rev 'V15'; saveenv; boot
And you should be able to see the following:
In order to be able to log in , please insert “debian” as a username and password as follows:
CanBUS and RS485 Support
Initial Setup
HummingBoard CBi can use the CAN-Bus and RS485 only if booted with the appropriate device-tree. From U-Boot console, interrupt boot by pressing any key during the Hit any key to stop autoboot prompt. Then permanently choose the cbi device-tree variant:
Use the following commands in order to keep your system up-to-date:
CanBUS Enable
1. Download the compressed zip file:
2. Unzip the file:
3. Restart your device:
RS485 Enable
1. Add a support for rs485conf and compile an exec file by runnig the following:
2. Copy the output of the exec file bu running:
3. Add an execute permission to the file:
Install to eMMC
You can follow this document Install to eMMC to install debian to an eMMC device.
More Features
Internet
Please check you Ethernet connection.
Use the following commands in order to keep your system up-to-date:
For more detailed information, please refer to i.MX6 Debian .
Wi-fi
You can connect to WiFi using any application, such as : connmanctl or wpa_spplicant.
An example for connecting to WiFi using wpa_supplicant:
1. To bring a WiFi interface up, run the following :
2. Install the wpa_supplicant package:
3. Edit network interfaces file :
At the bottom of the file, add the following lines to allow wlan as a network connection:
4. Create a configuration file with the relevant ssid:
5. Make sure it works:
Restart your device and it should connect to the wireless network. If it doesn't, repeat above steps or get help from an adult.
For more information about using wpa_supplicant , you can refer to wpa_supplicant or wpa_supplicant.
Bluetooth
1. For showing all Bluetooth devices, run the following:
2. Choose a device, and turn it on:
3. Set up the Bluetooth name:
4. Make your Bluetooth detectable by other devices:
5. If you want to connect to other devices:
Start by scanning for other Bluetooth devices:
Choose a MAC address and connect :
You can check the communication between the devices by writing :
Cellular Modem
The cellular modem is a more fully featured extension of which contains a cellular module with additional hardware interfaces and a SIM card slot.
You can connect your cellular modem to the mPCIe, and insert a SIM card.
For some cellular modules to be connected, please refer to Cellular Modules.
GPIO pins Control
In order to be able to control the GPIO pins, please refer to HummingBoard Edge/Gate/CBi GPIO Pins Control .
CanBUS and RS485 Test
For testing your CANBus and RS-485 interfaces, please refer to HummingBoard CBi RS485 and CAN bus .
List Of Supported OS
Build U-Boot & Kernel from sources
Build a Linux kernel - i.MX6 Kernel
Build a U-Boot - i.MX6 U-Boot
Documentation
Related Articles
Related pages
SolidRun Ltd.