When download yocto project image, some mistakes have been made.

cancel
Showing results for 
Search instead for 
Did you mean: 

When download yocto project image, some mistakes have been made.

1,344 Views
mahaiyang
Contributor II

tosail@ThinkCentre:/media/tosail/AsLinuxDisk/imx-3.14.38-6QP_ga/build-fb$ bitbake fsl-image-qt5
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    DISTRO 'fsl-imx-fb' not found. Please set a valid DISTRO in your local.conf


Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Who can guide me to solve the problem?

4 Replies

411 Views
pieterpalmers
Contributor I

I have the same issue.

Adding the following to your build/conf/bblayers.conf should help:

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

For things to build properly you also might need the following:

BBLAYERS += " ${BSPDIR}/sources/meta-browser "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-gnome "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-networking "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-python "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-ruby "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-filesystems "
BBLAYERS += " ${BSPDIR}/sources/meta-qt5 "

Greets,

Pieter

0 Kudos

411 Views
pieterpalmers
Contributor I

More follow up:

I figured out that I didn't setup the download properly. After doing "repo sync" you should setup the build using the fsl-setup-release.sh script. Check README-IMXBSP.

For me this is:

$ MACHINE=imx6ulevk source fsl-setup-release.sh -e fb -b build

But for you it will be different.

411 Views
mahaiyang
Contributor II

Thanks for your answer.

Best Regards.

0 Kudos

411 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Ma Haiyang,

Were you able to bake the image by setting up the environment with the fsl-setup-release script?

Regards,

0 Kudos