Building images with poky rocko for Toradex

Hi,

I’m trying to build a U-Boot, kernel image and rootfs for i.MX7 eMMC using Yocto poky distribution rocko release based on this guide:

Following this guide I faced with some questions:

  1. The URL for Freescale’s BSP layer (GitHub - Freescale/meta-freescale: Layer containing NXP hardware support metadata) seems to be obsolete as it misses the pyro and rocko branches. The new URL is apparently GitHub - Freescale/meta-freescale: Layer containing NXP hardware support metadata. Is this correct? As I am building rocko should I use the latter?

  2. The URL for Toradex’s meta-layers (meta-toradex.git - oe-core BSP layer (obsolete)) is apparently obsolete and is replaced with the following meta-layers. Is this correct?

meta-toradex-bsp-common.git - Toradex BSP layer, recipes common to all modules

meta-toradex-nxp.git - Toradex BSP layer, recipes for NXP based modules

  1. I am still not sure in which circumstances one should avoid using each of these meta-toradex-* layers. Is it just boils down to using something like Sato instead of LXDE?

  2. Assuming the pre-built images are not a concern, is there any other advantages on using Angstrom distribution instead od Poky?

  3. Freescale also provides a BSP at GitHub - Freescale/fsl-community-bsp-platform: BSP platform manifest. Does it make any difference to use this BSP directly instead of cloning the Poky distro from git.yoctoproject.org and adding meta-freescale-* layers to it (as is explained in the mentioned guide)?

Following this guide I faced with some questions:

  1. The URL for Freescale’s BSP layer (GitHub - Freescale/meta-freescale: Layer containing NXP hardware support metadata) seems to be obsolete as it misses the pyro and rocko branches. The new URL is apparently GitHub - Freescale/meta-freescale: Layer containing NXP hardware support metadata. Is this correct? As I am building rocko should I use the latter?

Sorry, but I don’t see any difference but anyway I am not aware anything did change (e.g. see what we are using here).

  1. The URL for Toradex’s meta-layers (meta-toradex.git - oe-core BSP layer (obsolete)) is apparently obsolete and is replaced with the following meta-layers. Is this correct?

meta-toradex-bsp-common.git - Toradex BSP layer, recipes common to all modules

meta-toradex-nxp.git - Toradex BSP layer, recipes for NXP based modules

Yes, if you are only targeting NXP based modules.

  1. I am still not sure in which circumstances one should avoid using each of these meta-toradex-* layers. Is it just boils down to using something like Sato instead of LXDE?

I guess that depends on what exactly you want.

  1. Assuming the pre-built images are not a concern, is there any other advantages on using Angstrom distribution instead od Poky?

Poky is just a reference distribution. There are e.g. no binary feeds or anything available for it.

Freescale also provides a BSP at GitHub - Freescale/fsl-community-bsp-platform: BSP platform manifest. Does it make any difference to use this BSP directly instead of cloning the Poky distro from git.yoctoproject.org and adding meta-freescale-* layers to it (as is explained in the mentioned guide)?

I doubt NXP’s stuff references any of our stuff so you will get plain mainline of it with all pros and cons that may bring.