How t quickly start with yocto

Up to now I worked with the SABRE ixm7d, now I want to switch to colibri imx7d
With SABRE board to setup the Yocto environment is very easy, the simple commands are the following:

$ mkdir fsl-release-bsp
$ cd fsl-release-bsp
$ repo init -u git:// -b
imx-4.1-krogoth -m imx-4.1.15-2.0.1.xml
$ repo sync
$ DISTRO=fsl-imx-x11 MACHINE=imx7dsabresd
$ source -b 
$ bitbake fsl-image-gui

Which are the corrisonding commands to do the same setup for imx7D colibri board?
Roberto Pozzi


In short the simple commands are:

mkdir oe-core
cd oe-core
repo init -u -b LinuxImageV2.7
repo sync

. export
MACHINE=colibri-imx7 bitbake -k angstrom-lxde-image

However I recommend to go through this page on our developer website.
Note that we require some more packages to be installed on the build host than what is needed for the plain meta-freescale* layers. (We build also the PC side tools to deploy the image.)

Alternatively you could add the Toradex BSP layers (meta-toradex-bsp-common, meta-toradex-nxp) to your current meta-freescale setup. Consult the README in those layers.
Note that meta-toradex-nxp must be before meta-freescale in the BBLAYERS variable (conf/bblayers.conf) and that we currently use the morty version of the layers.

Alternatively you could not use our meta-toradex-* layers at all and use the machine configuration/kernel/u-boot from meta-freescale-3rdparty. e.g. use your current setup and simply do a:

MACHINE=colibri-imx7 bitbake -k fsl-image-gui