How i can get ,bin output in rpi in Hailo 8L

This is my installation details.

logi@raspberrypi:~ $ hailortcli --version
HailoRT-CLI version 4.20.0
log@raspberrypi:~ $ hailortcli fw-control identify
Executing on device: 0001:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.20.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8L
Serial Number: HLDDLBB244200090
Part Number: HM21LB1C2LAE
Product Name: HAILO-8L AI ACC M.2 B+M KEY MODULE EXT TMP

logiicdev1@raspberrypi:~ $ dmesg | grep -i hailo
[ 3.575929] hailo: Init module. driver version 4.20.0
[ 3.576008] hailo 0001:01:00.0: Probing on: 1e60:2864…
[ 3.576011] hailo 0001:01:00.0: Probing: Allocate memory for device extension, 13184
[ 3.576027] hailo 0001:01:00.0: enabling device (0000 → 0002)
[ 3.576031] hailo 0001:01:00.0: Probing: Device enabled
[ 3.576045] hailo 0001:01:00.0: Probing: mapped bar 0 - 0000000090a44d8f 16384
[ 3.576049] hailo 0001:01:00.0: Probing: mapped bar 2 - 000000004b2559c1 4096
[ 3.576051] hailo 0001:01:00.0: Probing: mapped bar 4 - 0000000097f26dd6 16384
[ 3.576054] hailo 0001:01:00.0: Probing: Force setting max_desc_page_size to 4096 (recommended value is 16384)
[ 3.576062] hailo 0001:01:00.0: Probing: Enabled 64 bit dma
[ 3.576064] hailo 0001:01:00.0: Probing: Using userspace allocated vdma buffers
[ 3.576067] hailo 0001:01:00.0: Disabling ASPM L0s
[ 3.576070] hailo 0001:01:00.0: Successfully disabled ASPM L0s
[ 3.596737] hailo 0001:01:00.0: Writing file hailo/hailo8_fw.bin
[ 3.733560] hailo 0001:01:00.0: File hailo/hailo8_fw.bin written successfully
[ 3.733567] hailo 0001:01:00.0: Writing file hailo/hailo8_board_cfg.bin
[ 3.733591] Failed to write file hailo/hailo8_board_cfg.bin
[ 3.733592] hailo 0001:01:00.0: File hailo/hailo8_board_cfg.bin written successfully
[ 3.733594] hailo 0001:01:00.0: Writing file hailo/hailo8_fw_cfg.bin
[ 3.733601] Failed to write file hailo/hailo8_fw_cfg.bin
[ 3.733603] hailo 0001:01:00.0: File hailo/hailo8_fw_cfg.bin written successfully
[ 3.822977] hailo 0001:01:00.0: NNC Firmware loaded successfully
[ 3.822985] hailo 0001:01:00.0: FW loaded, took 226 ms
[ 3.833784] hailo 0001:01:00.0: Probing: Added board 1e60-2864, /dev/hailo0
log@raspberrypi:~ $ gst-inspect-1.0 hailotools
No such element or plugin ‘hailotools’
log@raspberrypi:~ $ source setup_env.sh
bash: setup_env.sh: No such file or directory
logiicdev1@raspberrypi:~ $ dmesg | grep hailo
[ 3.575929] hailo: Init module. driver version 4.20.0
[ 3.576008] hailo 0001:01:00.0: Probing on: 1e60:2864…
[ 3.576011] hailo 0001:01:00.0: Probing: Allocate memory for device extension, 13184
[ 3.576027] hailo 0001:01:00.0: enabling device (0000 → 0002)
[ 3.576031] hailo 0001:01:00.0: Probing: Device enabled
[ 3.576045] hailo 0001:01:00.0: Probing: mapped bar 0 - 0000000090a44d8f 16384
[ 3.576049] hailo 0001:01:00.0: Probing: mapped bar 2 - 000000004b2559c1 4096
[ 3.576051] hailo 0001:01:00.0: Probing: mapped bar 4 - 0000000097f26dd6 16384
[ 3.576054] hailo 0001:01:00.0: Probing: Force setting max_desc_page_size to 4096 (recommended value is 16384)
[ 3.576062] hailo 0001:01:00.0: Probing: Enabled 64 bit dma
[ 3.576064] hailo 0001:01:00.0: Probing: Using userspace allocated vdma buffers
[ 3.576067] hailo 0001:01:00.0: Disabling ASPM L0s
[ 3.576070] hailo 0001:01:00.0: Successfully disabled ASPM L0s
[ 3.596737] hailo 0001:01:00.0: Writing file hailo/hailo8_fw.bin
[ 3.733560] hailo 0001:01:00.0: File hailo/hailo8_fw.bin written successfully
[ 3.733567] hailo 0001:01:00.0: Writing file hailo/hailo8_board_cfg.bin
[ 3.733591] Failed to write file hailo/hailo8_board_cfg.bin
[ 3.733592] hailo 0001:01:00.0: File hailo/hailo8_board_cfg.bin written successfully
[ 3.733594] hailo 0001:01:00.0: Writing file hailo/hailo8_fw_cfg.bin
[ 3.733601] Failed to write file hailo/hailo8_fw_cfg.bin
[ 3.733603] hailo 0001:01:00.0: File hailo/hailo8_fw_cfg.bin written successfully
[ 3.822977] hailo 0001:01:00.0: NNC Firmware loaded successfully
[ 3.822985] hailo 0001:01:00.0: FW loaded, took 226 ms
[ 3.833784] hailo 0001:01:00.0: Probing: Added board 1e60-2864, /dev/hailo0
log@raspberrypi:~ $ dpkg -l | grep hailo
ii hailo-all 4.20.0 all Hailo support (metapackage)
ii hailo-tappas-core 3.31.0+1-1 arm64 This package contains the core components of the Hailo Tappas platform.
ii hailofw 4.20.0-1 all Hailo firmware
ii hailort 4.20.0 arm64 HailoRT
ii python3-hailort 4.20.0-1 arm64 HailoRT Python API, which wraps the runtime library
ii rpicam-apps-hailo-postprocess 1.6.0-2 arm64 rpicam-apps-hailo
logiicdev1@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)”
NAME=“Debian GNU/Linux”
VERSION_ID=“12”
VERSION=“12 (bookworm)”
VERSION_CODENAME=bookworm
ID=debian
HOME_URL=“https://www.debian.org/
SUPPORT_URL=“https://www.debian.org/support
BUG_REPORT_URL=“https://bugs.debian.org/
log@raspberrypi:~ $ uname -m
aarch64
log@raspberrypi:~ $ uname -r
6.12.20+rpt-rpi-2712
log@raspberrypi:~ $ pip list | grep hailo
hailort 4.20.0
It’s only installed with HailoRT, even though I followed all the steps. Now I want to process some images (in .bin format) and get the hardware inference output as .bin files. But the hailortcli command does not support saving the output file. Is there any method to do this? Your feedback and support highly value. Thank You.

Hey @Priyanwada_Athukoral,

I’d start by updating to the latest kernel - the one you’re currently using has some known bugs. I’d also recommend checking out our repositories: GitHub - hailo-ai/hailo-apps-infra and GitHub - hailo-ai/Hailo-Application-Code-Examples. These should help you get things running more smoothly for infernce and you can change the output to .bit if you want!

Thank you. I followed the given link. but there is a problem with gstream. How can i correct? (Logiidev_env) logiicdev1@raspberrypi:~/hailo-apps-infra/hailo_model_zoo $ hailo_apps/hailo_app_python/core/installation/download_resources.py
bash: hailo_apps/hailo_app_python/core/installation/download_resources.py: No such file or directory
(Logiidev_env) logiicdev1@raspberrypi:~/hailo-apps-infra/hailo_model_zoo $ hailortcli fw-control identify
Executing on device: 0001:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.20.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8L
Serial Number: HLDDLBB244200090
Part Number: HM21LB1C2LAE
Product Name: HAILO-8L AI ACC M.2 B+M KEY MODULE EXT TMP

(Logiidev_env) logiicdev1@raspberrypi:~/hailo-apps-infra/hailo_model_zoo $ dmesg | grep -i hailo
[ 3.415229] hailo: Init module. driver version 4.20.0
[ 3.415331] hailo 0001:01:00.0: Probing on: 1e60:2864…
[ 3.415337] hailo 0001:01:00.0: Probing: Allocate memory for device extension, 13184
[ 3.415353] hailo 0001:01:00.0: enabling device (0000 → 0002)
[ 3.415359] hailo 0001:01:00.0: Probing: Device enabled
[ 3.415378] hailo 0001:01:00.0: Probing: mapped bar 0 - 00000000664968ad 16384
[ 3.415383] hailo 0001:01:00.0: Probing: mapped bar 2 - 0000000070abd413 4096
[ 3.415387] hailo 0001:01:00.0: Probing: mapped bar 4 - 00000000c0e3a5f2 16384
[ 3.415390] hailo 0001:01:00.0: Probing: Force setting max_desc_page_size to 4096 (recommended value is 16384)
[ 3.415400] hailo 0001:01:00.0: Probing: Enabled 64 bit dma
[ 3.415403] hailo 0001:01:00.0: Probing: Using userspace allocated vdma buffers
[ 3.415406] hailo 0001:01:00.0: Disabling ASPM L0s
[ 3.415410] hailo 0001:01:00.0: Successfully disabled ASPM L0s
[ 3.415522] hailo 0001:01:00.0: Writing file hailo/hailo8_fw.bin
[ 3.513469] hailo 0001:01:00.0: File hailo/hailo8_fw.bin written successfully
[ 3.513478] hailo 0001:01:00.0: Writing file hailo/hailo8_board_cfg.bin
[ 3.513518] Failed to write file hailo/hailo8_board_cfg.bin
[ 3.513520] hailo 0001:01:00.0: File hailo/hailo8_board_cfg.bin written successfully
[ 3.513522] hailo 0001:01:00.0: Writing file hailo/hailo8_fw_cfg.bin
[ 3.513530] Failed to write file hailo/hailo8_fw_cfg.bin
[ 3.513532] hailo 0001:01:00.0: File hailo/hailo8_fw_cfg.bin written successfully
[ 3.602568] hailo 0001:01:00.0: NNC Firmware loaded successfully
[ 3.602577] hailo 0001:01:00.0: FW loaded, took 187 ms
[ 3.614374] hailo 0001:01:00.0: Probing: Added board 1e60-2864, /dev/hailo0
(Logiidev_env) logiicdev1@raspberrypi:~/hailo-apps-infra/hailo_model_zoo $ hailotools
bash: hailotools: command not found
(Logiidev_env) logiicdev1@raspberrypi:~/hailo-apps-infra/hailo_model_zoo $ hailotools: gst-inspect-1.0 hailotools
bash: hailotools:: command not found
(Logiidev_env) logiicdev1@raspberrypi:~/hailo-apps-infra/hailo_model_zoo $ m ~/.cache/gstreamer-1.0/registry.aarch64.bin
bash: m: command not found
(Logiidev_env) logiicdev1@raspberrypi:~/hailo-apps-infra/hailo_model_zoo $

I noticed you’ve got tappas-core installed, so let’s verify everything is working properly. Can you run these commands and share the output?

First, let’s check if all the packages are properly installed:

apt list | grep hailo 
pip list | grep hailo 
apt list | grep tappas 
pip list | grep tappas

What we’re looking for here is to make sure tappas-core shows up in both apt (system packages) and pip (Python bindings) - you’ll need both for everything to work correctly.

Next, let’s test the GStreamer plugins:

gst-inspect-1.0 hailonet
gst-inspect-1.0 hailofilter
gst-inspect-1.0 hailooverlay
echo $GST_PLUGIN_PATH
gst-inspect-1.0 | grep hailo

This will help us confirm that the Hailo GStreamer plugins are properly registered and discoverable by the system.

Let me know what you get back and we can troubleshoot from there!

Thank you for your help. Here I attached the outcome.

logiicdev1@raspberrypi:~/Downloads/2Dto3D $ apt list | grep hailo

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

golang-github-hailocab-go-hostpool-dev/oldstable,oldstable 0.0~git20160125.0.e80d13c-1.1 all
hailo-all/stable,stable,now 4.20.0 all [installed]
hailo-dkms/stable,stable 4.19.0-1 all
hailo-tappas-core-3.28.2/stable 3.28.2 arm64
hailo-tappas-core/stable,now 3.31.0+1-1 arm64 [installed,automatic]
hailofw/stable,stable,now 4.20.0-1 all [installed,automatic]
hailort/stable,now 4.20.0-1 arm64 [installed,automatic]
python3-hailort/stable,now 4.20.0-1 arm64 [installed,automatic]
rpicam-apps-hailo-postprocess-dbgsym/stable 1.8.1-1~bookworm arm64
rpicam-apps-hailo-postprocess/stable,now 1.8.1-1~bookworm arm64 [installed,automatic]
logiicdev1@raspberrypi:~/Downloads/2Dto3D $ pip list | grep hailo
hailort 4.20.0
logiicdev1@raspberrypi:~/Downloads/2Dto3D $ apt list | grep tappas

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

hailo-tappas-core-3.28.2/stable 3.28.2 arm64
hailo-tappas-core/stable,now 3.31.0+1-1 arm64 [installed,automatic]
logiicdev1@raspberrypi:~/Downloads/2Dto3D $ pip list | grep tappas
logiicdev1@raspberrypi:~/Downloads/2Dto3D $ gst-inspect-1.0 hailonet
Factory Details:
Rank primary (256)
Long-name hailonet element
Klass Hailo/Network
Description Configure and Activate Hailo Network. Supports the “flush” signal which blocks until there are no buffers currently processesd in the element. When deactivating a hailonet during runtime (via set_property of “is-active” to False), make sure that no frames are being pushed into the hailonet, since this operation waits until there are no frames coming in.
Author Hailo Technologies Ltd. (“Hailo”)

Plugin Details:
Name hailo
Description hailo gstreamer plugin
Filename /lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailo.so
Version 1.0
License unknown
Source module hailo
Binary package GStreamer
Origin URL http://gstreamer.net/

GObject
±—GInitiallyUnowned
±—GstObject
±—GstElement
±—GstHailoNet

ogiicdev1@raspberrypi:~/Downloads/2Dto3D $ gst-inspect-1.0 hailofilter
Factory Details:
Rank primary (256)
Long-name hailofilter - postprocessing element
Klass Hailo/Tools
Description Allowes to user access Hailonet’s output using an so file.
Author hailo.ai contact@hailo.ai

Plugin Details:
Name hailotools
Description hailo tools plugin
Filename /lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so
Version 3.31.0
License unknown
Source module gst-hailo-tools
Binary package gst-hailo-tools
Origin URL https://hailo.ai/

GObject
±—GInitiallyUnowned
±—GstObject
±—GstElement
:

logiicdev1@raspberrypi:~/Downloads/2Dto3D $ gst-inspect-1.0 hailooverlay
Factory Details:
Rank primary (256)
Long-name hailooverlay - overlay element
Klass Hailo/Tools
Description Draws post-processing results for networks inferred by hailonet elements.
Draws classes contained by HailoROI objects attached to incoming frames.
Author hailo.ai contact@hailo.ai

Plugin Details:
Name hailotools
Description hailo tools plugin
Filename /lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so
Version 3.31.0
License unknown
Source module gst-hailo-tools
Binary package gst-hailo-tools
Origin URL https://hailo.ai/

GObject
±—GInitiallyUnowned
:

               SUMMARY OF LESS COMMANDS

  Commands marked with * may be preceded by a number, N.
  Notes in parentheses indicate the behavior if N is given.
  A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.

h H Display this help.

q :q Q :Q ZZ Exit.

                       MOVING

e ^E j ^N CR * Forward one line (or N lines).

y ^Y k ^K ^P * Backward one line (or N lines).
f ^F ^V SPACE * Forward one window (or N lines).
b ^B ESC-v * Backward one window (or N lines).
z * Forward one window (and set window to N).
w * Backward one window (and set window to N).
ESC-SPACE * Forward one window, but don’t stop at end-of-file.
d ^D * Forward one half-window (and set half-window to N).
u ^U * Backward one half-window (and set half-window to N).
ESC-) RightArrow * Right one half screen width (or N positions).
ESC-( LeftArrow * Left one half screen width (or N positions).
ESC-} ^RightArrow Right to last column displayed.
ESC-{ ^LeftArrow Left to first column.
F Forward forever; like “tail -f”.
ESC-F Like F but stop when search pattern is found.
r ^R ^L Repaint screen.
R Repaint screen, discarding buffered input.

Default “window” is the screen height.
Default “half-window” is half of the screen height.

                      SEARCHING

/pattern * Search forward for (N-th) matching line.

?pattern * Search backward for (N-th) matching line.
n * Repeat previous search (for N-th occurrence).
N * Repeat previous search in reverse direction.
ESC-n * Repeat previous search, spanning files.
ESC-N * Repeat previous search, reverse dir. & spanning files.
ESC-u Undo (toggle) search highlighting.
ESC-U Clear search highlighting.
&pattern * Display only matching lines.
…skipping…

                      LINE EDITING

    These keys can be used to edit text being entered 
    on the "command line" at the bottom of the screen.

RightArrow … ESC-l … Move cursor right one character.

LeftArrow … ESC-h … Move cursor left one character.
ctrl-RightArrow ESC-RightArrow ESC-w … Move cursor right one word.
ctrl-LeftArrow ESC-LeftArrow ESC-b … Move cursor left one word.
HOME … ESC-0 … Move cursor to start of line.
END … ESC-$ … Move cursor to end of line.
BACKSPACE … Delete char to left of cursor.
DELETE … ESC-x … Delete char under cursor.
ctrl-BACKSPACE ESC-BACKSPACE … Delete word to left of cursor.
ctrl-DELETE … ESC-DELETE … ESC-X … Delete word under cursor.
ctrl-U … ESC (MS-DOS only) … Delete entire line.
UpArrow … ESC-k … Retrieve previous command line.
DownArrow … ESC-j … Retrieve next command line.
TAB … Complete filename & cycle.
SHIFT-TAB … ESC-TAB Complete filename & reverse cycle.
ctrl-L … Complete filename, list all.
…skipping…

                      LINE EDITING

    These keys can be used to edit text being entered 
    on the "command line" at the bottom of the screen.

RightArrow … ESC-l … Move cursor right one character.
LeftArrow … ESC-h … Move cursor left one character.
ctrl-RightArrow ESC-RightArrow ESC-w … Move cursor right one word.
ctrl-LeftArrow ESC-LeftArrow ESC-b … Move cursor left one word.
HOME … ESC-0 … Move cursor to start of line.
END … ESC-$ … Move cursor to end of line.
BACKSPACE … Delete char to left of cursor.
DELETE … ESC-x … Delete char under cursor.
ctrl-BACKSPACE ESC-BACKSPACE … Delete word to left of cursor.
ctrl-DELETE … ESC-DELETE … ESC-X … Delete word under cursor.
ctrl-U … ESC (MS-DOS only) … Delete entire line.
UpArrow … ESC-k … Retrieve previous command line.
DownArrow … ESC-j … Retrieve next command line.
TAB … Complete filename & cycle.
SHIFT-TAB … ESC-TAB Complete filename & reverse cycle.
ctrl-L … Complete filename, list all.
HELP – END – Press g to see it again, or q when done

logiicdev1@raspberrypi:~/Downloads/2Dto3D $ gst-inspect-1.0 | grep hailo
hailo: hailodevicestats: hailodevicestats element
hailo: hailonet: hailonet element
hailo: synchailonet: sync hailonet element
hailopython: hailopython: HailoPython Element
hailotools: hailoaggregator: hailoaggregator - Cascading
hailotools: hailocounter: hailocounter - postprocessing element
hailotools: hailocropper: hailocropper
hailotools: hailoexportfile: hailoexportfile - export element
hailotools: hailoexportzmq: hailoexportzmq - export element
hailotools: hailofilter: hailofilter - postprocessing element
hailotools: hailogallery: Hailo gallery element
hailotools: hailograytonv12: hailograytonv12 - postprocessing element
hailotools: hailoimportzmq: hailoimportzmq - import element
hailotools: hailomuxer: Muxer pipeline merging
hailotools: hailonv12togray: hailonv12togray - postprocessing element
hailotools: hailonvalve: HailoNValve element
hailotools: hailooverlay: hailooverlay - overlay element
hailotools: hailoroundrobin: Input Round Robin element
hailotools: hailostreamrouter: Hailo Stream Router
hailotools: hailotileaggregator: hailotileaggregator
hailotools: hailotilecropper: hailotilecropper - Tiling
hailotools: hailotracker: Hailo object tracking element
logiicdev1@raspberrypi:~/Downloads/2Dto3D $