Continuing the discussion from Hailo8 Integration with Zynq Ultrascale+ MPSoC using PetaLinux (Yocto Langdale, Kernel 6.1):
Hello @omria,
Thank you for the valuable information regarding the deprecation of TAPPAS applications and the shift to hailo-apps. We are also working with an embedded system (TI J784S4 EVM, Yocto-based Linux) where internet access on the target device is not available, and all components must be cross-compiled and installed via Yocto.
We noted your comment “For the hailo-apps-infra we have tested it on embedded system and it has worked!”. This is great news! However, we are currently facing challenges integrating hailo-apps into our Yocto build system in an offline environment.
Could you please provide more detailed guidance on how to properly integrate hailo-apps into a Yocto build for an offline embedded target? Specifically, we have the following questions:
-
Yocto Layer for
hailo-apps-
Is there a dedicated
meta-hailobranch or a new Yocto layer (e.g.,meta-hailo-apps-infra) that provides recipes forhailo-apps-infraand its dependencies (includingtappas-coreplugins and Python bindings for both HailoRT andtappas-core)? -
If not, what is the recommended approach for creating such recipes, especially for fetching sources in an offline Yocto build?
-
-
tappas-coreIntegration-
Given that
hailo-appsusestappas-core, are there existing Yocto recipes withinmeta-hailofortappas-coreplugins (likelibgsthailotools.so,hailo-post-processes) that are compatible withhailo-apps? -
We currently have
meta-hailo-tappas(version 5.1.0) installed which provideslibgsthailotools.soand variouslibyolo_post.sofiles. Is thismeta-hailo-tappaslayer effectively providingtappas-coreforhailo-apps, or should we be looking for something else?
-
-
Python Bindings in Yocto:
-
You mentioned needing “Python bindings for both HailoRT and tappas-core.” Are there existing
bitbakerecipes (e.g.,pyhailort) withinmeta-hailothat will install these bindings into the Yocto rootfs, or do we need to create custom recipes for them? -
How do we ensure these Python bindings are installed in a way that
hailo-appscan locate them on the target?
-
-
Recommended Workflow for Offline Builds:
- What is the officially recommended workflow for building and deploying
hailo-appsapplications onto an embedded device that cannot access the internet? Should we add thehailo-appsrepository itself as a Yocto recipe, or treat it as a collection of Python scripts to be manually deployed after dependencies are met via Yocto?
- What is the officially recommended workflow for building and deploying
Any insights or pointers to specific meta-hailo branches, recipes, or documentation would be immensely helpful for our team to properly transition to hailo-apps within our Yocto environment.
Thank you in advance for your continued support!