Hello arno_0,
For machine learning and npu stuff:
eIQ is provided on a Yocto layer called meta-imx/meta-ml.
The eIQ software based on NXP BSP L5.4.70-2.3.1 also offer support for the following AI Frameworks which we will add instructions soon:
- PyTorch 1.6.0
- Arm Compute Library 20.02.01
- Arm NN 20.01
All the AI Runtimes (except OpenCV, as documented on the i. MX Machine Learning User's Guide) provided by eIQ supports OpenVX (GPU/NPU) on its backend.
You can find more detailed information on the features of eIQ for each specific version on the i.MX Machine Learning User's Guide available on the NXP's Embedded Linux Documentation. See the version-specific information on the links in the table above.
You can also adapt the instructions to build on newer versions of BSP / meta-ml.
Git clone the meta-imx repository to your ~/yocto-ml-build/ directory:
$ git clone -b zeus-5.4.70-2.3.1 git://source.codeaurora.org/external/imx/meta-imx ~/yocto-ml-build/meta-imx
First, create a layer named meta-ml, add it to your environment and remove the example recipe:
$ bitbake-layers create-layer ../layers/meta-ml
$ bitbake-layers add-layer ../layers/meta-ml
$ rm -rf ../layers/meta-ml/recipes-example
Copy the recipes from meta-imx to your layer.
$ cp -r ../../meta-imx/meta-ml/recipes-* ../layers/meta-ml/
$ cp -r ../../meta-imx/meta-ml/classes/ ../layers/meta-ml/
$ cp -r ../../meta-imx/meta-bsp/recipes-support/opencv ../layers/meta-ml/recipes-libraries/
Regards