Hi,
How can I fix this error?
I’m trying to integrate mender onto our board and start by adding the meta-mender layers using “bitbake-layers add-layer”. After the meta-mender-core and meta-mender-demo layers are successfully added I then add PREFERRED_VERSION_u-boot-toradex = “2019%” to the local.conf along with mender recommended items. Then when starting “bitbake core-image-minimal” I always get the following error:
ERROR: Multiple versions of u-boot-toradex are due to be built (/home/ubuntu/yocto/build/../layers/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-toradex_2016.11.bb /home/ubuntu/yocto/build/../layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2019.07.bb). Only one version of a given PN should be built in any given build. You likely need to set PREFERRED_VERSION_u-boot-toradex to select the correct version or don't depend on multiple version