Hailo Quick Start
Getting a build up and running requires two steps:
- Install
kas— the build tool used by the Hailo BSP. - Download sources and build — clone the meta layer and run
kas build.
Step 1 — Install kas
kas is a Python tool that manages Yocto build configurations. Install it with:
Docker is also required to run the build environment.
Step 2 — BSP Sources and First Build
Source: meta-engicam-hailo
Meta-Engicam-Hailo
Ver. 1.5
This README file contains information about the meta-engicam-hailo Yocto layer.
SOMs Supported
- hailo15-smarcore
See the Test Board Documentation for more information
First Yocto Build
Fetch the BSP sources:
git clone https://github.com/hailo-ai/meta-hailo-soc.git -b 1.5.0
cd meta-hailo-soc
git clone https://git.engicam.com/internal/meta-engicam-hailo.git
cp meta-engicam-hailo/kas/hailo15-smarcore.yaml kas/
kas build kas/hailo15-smarcore.yaml
Warning: Some poky recipes are not updated to the last branch. If fetch error occurs please use the command below:
sed -i 's/master/main/g' poky/meta/recipes-extended/cracklib/cracklib_2.9.7.bb
sed -i 's/master/main/g' poky/meta/recipes-graphics/spir/spirv-headers_1.3.204.1.bb
sed -i 's/master/main/g' meta-openembedded/meta-oe/recipes-support/libiio/libiio_git.bb
sed -i 's/master/main/g' poky/meta/recipes-graphics/glslang/glslang_1.3.204.1.bb
Once you finished the first build you can use the Yocto framework as usual:
Es.
source poky/oe-init-build-env
devtool modify linux-yocto-hailo
devtool u.boot
bitbake core-image-minimal
Bootloader on SPI Programming
See the Bootloader Programming for more information
eMMC Programmig
Follow the following steps:
- Copy the wic image file on usb stick.
- Boot from the sdcard.
- From Linux terminal type the commands:
- Reboot the system.
- From u-boot CLI type the command: