Deploying the eIQ Sample Apps to an i.MX8 board

cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying the eIQ Sample Apps to an i.MX8 board

No ratings

Deploying the eIQ Sample Apps to an i.MX8 board

After setting up an Yocto build environment as described in the L4.19.35_1.0.0 BSP Yocto Project User's Guide, apply the attached patch to the meta-fsl-bsp-release layer:

<yocto_dir>/sources/meta-fsl-bsp-release$ git am eiq-sample-apps-Add-recipe.patch

To include the applications in the image, add the following line to local.conf:

IMAGE_INSTALL_append += "eiq-sample-apps"

This will include all applications from the eIQ Sample Apps repository to the built image.

Labels (1)
Tags (2)
Attachments
Comments

Hello:

           I encounter a error when applied the attached patch.

           

ERROR: Nothing RPROVIDES 'eiq-sample-apps' (but /home/duxy/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/dynamic-layers/qt5-layer/recipes-fsl/images/fsl-image-qt5.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'eiq-sample-apps' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['eiq-sample-apps']
ERROR: Required build target 'fsl-image-qt5' has no buildable providers.
Missing or unbuildable dependency chain was: ['fsl-image-qt5', 'eiq-sample-apps']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

         

      how to resolve it?    Before applied the patch, I have compiled the eIQ image successfully.

Hi coindu‌,

Could you please confirm that the patch was successfully applied? Does the eiq-sample-apps folder exists in meta-fsl-bsp-release/imx/meta-ml/recipes-apps/eiq-sample-apps? What BSP release are you using?

Thanks!

Vanessa

fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release$ git log

commit 7a67a5a9f8bb31a50bf6704d6383957c8264c656
Author: Vanessa Maegima <vanessa.maegima@nxp.com>
Date: Tue Oct 1 16:07:22 2019 -0300

eiq-sample-apps: Add recipe

Recipe to deploy all eiq_sample_apps to an iMX8* board.

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>

commit 8eeb420fad668b733ab95b460895e1c337c66b25
Author: Neena Busireddy <neenareddy.busireddy@nxp.com>
Date: Fri May 3 10:50:12 2019 -0500

vkmark: Use SHA in SRCREV instead of AUTOREV

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>

 pastedImage_1.png

I reference 《UM11226.pdf》 to set the environment

repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.98-2.0.0_machinelearning.xml
$: EULA=1 MACHINE=imx8mqevk DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b build-xwayland $: echo "BBLAYERS += \" \${BSPDIR}/sources/meta-imx-machinelearning \"" >> conf/bblayers.conf

meta-imx-machinelearning/recipes-libraries/tensorflow/tensorflow_1.12.0.bb  modify 

COMPATIBLE_MACHINE = "(imx8qm|imx8mq|imx8mm)"

bitbake fsl-image-qt5

Could you please modify the COMPATIBLE_MACHINE in the eiq_sample_apps recipe as you did for TensorFlow and let me know how it goes?

COMPATIBLE_MACHINE = "(imx8qm|imx8mq|imx8mm)"

My patch applies on top of a newer release L4.19.35 but let's try to make this work on L4.14.98

It do not work to modify COMPATIBLE_MACHINE.    

It doesn't matter, I still compile according to the documentation

Please try adding the following line to conf/bblayers.conf:

BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-ml "

Hi

The Yocto Project User's Guide say that eIQ is integrated in meta-eiq, but this layer doesn't exist.

There is a meta-ml: is ti the same thing?

Philippe

Hi philippemidol-monnet‌,

Yes, you are correct. I will ask for this to be updated.

Thanks for reporting.

Vanessa

Version history
Last update:
‎11-26-2019 06:41 AM
Updated by: