TIP:
In case your host Linux machine has more CPU cores, you may want to increase number of cores used during compilation. That will speed up the compilation quite a lot. After you run "source setup-environment" open bblayers.conf file:

Compile & Build a basic console image (no graphical interface)

Run this command to generate an image with uBoot, Kernel and basic filesystem:

MACHINE=machine_name bitbake core-image-base

Replace "machine_name" with a name from the list above. For example if you would like to prepare files for OpenRex QUAD, run following command:

MACHINE=imx6q-openrex bitbake core-image-base

Compile & Build a multimedia image (boots up into to a graphical interface)

This will generate an image which will boot up to GUI:

MACHINE=<machine name> bitbake fsl-image-multimedia

Creating SD card or SATA disk

Insert an SD card into your Linux host machine (or use SD card reader connected to your Linux host machine). In case you are creating SATA drive, you may need a docking station.

Note: Output directories and file names depend on what you build. Following example is based on running 'MACHINE=imx6q-openrex bitbake core-image-base'

The output files will be located at "cd ~/fsl-community-bsp/build-openrex/tmp/deploy/images/imx6q-openrex/". Check the time & date of the files, just to be sure you have just generated them and they are the recent files:

This is a work around of fatwrite issue (if you are not sure if you should run these commands or not, just run them ... you will not do anything wrong). Re-format the fat partition and upload the zImage + dtb again:

Testing Kernel & Filesystem

Booting from SD card

To boot from SD card, insert it into your OpenRex board and press "RESET" button. Run following commands in uBoot:

setenv bootcmd 'run bootmmc';saveenv;reset

Booting from SATA drive

To boot from SATA drive, switch off your OpenRex board, connect the SATA drive which you have just created, connect the power and go to uBoot. Run following commands:

setenv bootcmd 'run bootsata';saveenv;reset

Important! Some filesytems may require additional settings in uBoot environmental variables. For example, for Jasbir's fileystem add "ip=dhcp" into uBoot (otherwise network will not be initialized automatically):