Linux 5.10 Yocto SDK
V2.1
21/25
© MicroSys Electronics GmbH 2022
6.4
Build Toolchain for Cross-compilation
If you want to cross-compile for an ARMv8 target you first need to build the cross-
toolchain on your Linux host. This requires that the Yocto SDK be installed so that
you can execute the appropriate bitbake command. Please refer to section 6.2
Installing the Yocto SDK and setup the environment as described in start of 6.3
To build the toolchain, enter:
$ bitbake meta-ide-support
After you have built the toolchain, you’ll see a script in the tmp directory which
needs to be sourced from each terminal where you want to invoke the cross-com-
piler.
$ cd tmp
$ source environment-setup-aarch64-fsl-linux
$ unset LDFLAGS
6.5
Hailo Benchmarking:
Please follow the installation procedure for installing the network data to perform
benchmarking.
By default we have included yolov5m network data for benchmarking which can be
run as follows:
# hailortcli run /home/root/yolov5m/files/yolov5m.hef
Running inference (/home/root/yolov5m/files/yolov5m.hef):
Mode: streaming
Transform data: true
Data is quantized: true
Format type: auto
Time to run: 00:00:05
Inference... 100% | 956 | FPS: 191.11 | ETA: 00:00:00
Inference result:
Duration: 00:00:05
FPS: 191.10
Send Rate: 1878.58 Mbit/s
Recv Rate: 3305.87 Mbit/s
For scanning the available Hailo devices please use: