https://community.freescale.com/docs/DOC-94849
1. Download the source code
Install the repo (from google)
mkdir ~/Yocto/freescale/
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/Yocto/freescale/repo
PATH=$PATH:~/Yocto/freescale/
chmod a+x ~/Yocto/freescale/
mkdir fsl-community-bsp
cd fsl-community-bsp
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dora
repo sync
repo start techM_imx6qSabreAI --all
find ./sources -name *image* -> To know all available pre configured images for IMX
2. Setup the environment for required image
source setup-environment fsl-image-ui
vim conf/local.conf => add Machine = imx6qsabreauto
bitbake fsl-image-gui
* You will get an error and it can be solved by visiting these links:
https://lists.yoctoproject.org/pipermail/meta-freescale/2012-December/000585.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2972
http://pastebin.com/cUb1x2Qj
Or use the attachment and replace originall content of openjade-native_1.3.2.bb with openjade-native_1.3.2_freescale.bb.
3. SD-Card download
#/home/mageswaran/Yocto/freescale/fsl-community-bsp/fsl-image-ui/tmp/deploy/images/imx6qsabreauto
sudo dd if=fsl-image-gui-imx6qsabreauto.sdcard of=/dev/sdb bs=1M
sudo dd if=fsl-image-gui-imx6qsabreauto.ext3 of=/dev/sdb2 bs=1M