...
Introduction
The following quick start guide provides background information about the SolidRun Hailo 15 SOM.
...
Date | Owner | Revision | Notes | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mikhail Anikin | 1.0 | Initial release | |||||||||||||||||||||||||||
Mikhail Anikin | 1.1 | Update flashing process | |||||||||||||||||||||||||||
Mikhail Anikin | 1.2 | Add IIoT support | |||||||||||||||||||||||||||
Table of Contents |
|
Hardware Setup
Product specifications
...
Hailo 15 with HummingBoard has two boot options: serial boot (for recovery) and eMMC boot (the main option). The S3 To select a boot option, the DIP switch needs to be modified to select a boot option.
...
Boot Mode
...
1
...
2
...
3
...
4
...
5
...
6
...
eMMC Boot
...
off
...
off
...
off
...
off
...
off
...
off
...
Serial Recovery mode
...
off
...
on
...
off
...
off
...
off
...
off
For more information, see HummingBoard Hailo 15 Boot Select
Generating Yocto image
The prebuilt artifacts are available here.
...
Artifact | Purpose | Target location |
---|---|---|
hailo15_scu_bl.bin | SCU Bootloader | QSPI Flash |
hailo15_scu_fw.bin | SCU Firmware | QSPI Flash |
scu_bl_cfg_a.bin, scu_bl_cfg_b.bin | SCU Configuration | QSPI Flash |
customer_certificate.bin | Customer key certificate | QSPI Flash |
u-boot.dtb.signed | U-Boot device tree | QSPI Flash |
u-boot-initial-env | U-Boot environment | QSPI Flash |
u-boot-spl.bin | U-Boot SPL | QSPI Flash |
u-boot-tfa.itb | TF-A and U-Boot | eMMC Boot partition |
fitImage | Linux kernel and device tree | eMMC Boot partition |
core-image-minimal-hailo15-solidrun.ext4 | RootFS | eMMC Root partition |
core-image-minimal-hailo15-solidrun.wic | Full eMMC image that contains both partitions. It can be flashed with bmap-tools using the .bmap file | eMMC |
hailo15_uart_recovery_fw.bin | Recovery firmware for reflashing QSPI |
...
Serial connection
Please insert the micro USB into your device. Then, you can refer to Serial Connection to install the necessary serial connection software in Linux/Windows.Network connection
The prebuilt image has a preset network configuration with a static IP10.0.0.1
. Connect your PC to the board with a 1GbE RJ45 patch cord and set the static IP of your PC interface to10.0.0.2
.Optional: Camera connection
To evaluate the demo application, connect the MIPI-CSI camera to the Hailo 15 SOM MIPI-CSI interface before starting the boot.Power the board
Plug in a power supply, and the board will start booting. You will see the boot log in the serial terminal:
...
Run the gstreamer pipeline to start receiving a stream.
On your pc In a bash terminal or Windows cmd run:
...
Run the demo application on the target Hailo15 EVK:
Code Block |
---|
root@hailo15:~# ./apps/detection/detection.sh |
...
By default, when Linux is booted from eMMC, the eMMC root partition is mounted, which makes it difficult to reflash. The u-boot menu has special entries that allow you to reflash eMMC from the TFTP server on your computer.
...
Run an HTTP server on port 80 in the directory with the image
Code Block |
---|
sudo python3 -m http.server 80 |
Reset the board. In the u-boot menu, select
Update eMMC (wic) from
...
HTTP
The Board will grub a new image from the TFTP server and flash it to the eMMC.
Flashing QSPI flash
Reflashing QSPI is only possible under Linux.
View file | ||
---|---|---|
|
Download the flashing tool and install it into your system.
Code Block |
---|
python3 -m pip install hailo15_board_tools-1.2.1-py3-none-any.whl |
Set the S3 switch to the Serial download mode:
...
1
...
2
...
3
...
4
...
5
...
6
...
off
...
on
...
off
...
off
...
off
...
.
Close the serial terminal on your PC.
Reset the board.
Upload the uart flashing firmware into the SOM:
...
Code Block |
---|
hailo15_spi_flash_program --serial-device-name /dev/ttyUSB0 --uart-load --scu-bootloader ./hailo15_scu_bl.bin --scu-bootloader-config scu_bl_cfg_a.bin --scu-firmware ./hailo15_scu_fw.bin --uboot-device-tree ./u-boot.dtb.signed --bootloader ./u-boot-spl.bin --bootloader-env ./u-boot-initial-env --customer-certificate ./customer_certificate.bin |
...
Find the line spl_boot_source=mmc2
and replace it with spl_boot_source=mmc2uart
in the file u-boot-initial-env-uart
.
Set the S3 switch to the Serial download mode:
...
1
...
2
...
3
...
4
...
5
...
6
...
off
...
on
...
off
...
off
...
off
...
.
Close the serial terminal on your PC.
Reset the board.
Upload the uart flashing firmware into the SOM:
...
Set the S3 switch back to the normal boot:
...
1
...
2
...
3
...
4
...
5
...
6
...
off
...
off
...
off
...
off
...
off
...
off
Open the serial connection and reset the boot. The board will boot to the SPL and expect the u-boot image to be transferred over the serial.
...
If you previously modified a u-boot env to force a serial mode, you need to restore it.
Set the S3 switch to the Serial download mode:
...
1
...
2
...
3
...
4
...
5
...
6
...
off
...
on
...
off
...
off
...
off
...
off
.
Close the serial terminal on your PC.
Reset the board.
Upload the uart flashing firmware into the SOM:
...
Set the S3 switch back to the normal eMMC boot:
...
1
...
2
...
3
...
4
...
5
...
6
...
off
...
off
...
off
...
off
...
off
...
Open the serial connection and reset the boot. The board will boot to the SPL and expect the u-boot image to be transferred over the serial.
...