Freescale's Community Yocto BSP
===============================

To get the BSP you need to have `repo` installed.

Install the `repo` utility: (only need to do this once):
--------------------------------------------------
$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo  > ~/bin/repo
$: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin

FOR directions on setting up the AGL demo, see the README in neta-nxp-agl.

Download the BSP Yocto Project Environment into your directory:
-------------------------------------------
$: mkdir fsl-arm-yocto-bsp
$: cd fsl-arm-yocto-bsp
$: repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth
$: repo sync

Note this downloads the latest releases and patches on top of the 4.1.15-2.0.0 ga release.

If the GA release was downloaded before just do repo sync to fetch latest updates.

For errors with repo init, remove the .repo directory and run repo init again.

To download only the 4.1.15-2.0.0 release use the release manifest in the repo init command as follows:
$: repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth -m imx-4.1.15-2.0.0.xml
$: repo sync

See ChangeLog for description of patch releases and tags for each update.

Setup for a particular graphical backend.
-----------------------------------------
The examples uses imx6qsabresd MACHINE but substitute with whatever you are using:

Setup for X11.
$: MACHINE=imx6qsabresd DISTRO=fsl-imx-x11 source ./fsl-setup-release.sh -b bld-x11

Setup for Wayland.
$: MACHINE=imx6qsabresd DISTRO=fsl-imx-wayland source ./fsl-setup-release.sh -b bld-wayland

Setup for Wayland and X11.
$: MACHINE=imx6qsabresd DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b bld-xwayland

Setup for Frame Buffer.
$: MACHINE=imx6qsabresd DISTRO=fsl-imx-fb source ./fsl-setup-release.sh -b bld-fb

Note if the poky community distro is used then build breaks will happen with some components using
our meta-fsl-bsp-release layer.

Note DirectFB is not supported in 4.1.15 release.

Build an image:
---------------
bitbake <image recipe>

Some image recipes:
fsl-image-gui - full image with demos and tests used for testing with graphics, no QT.
fsl-image-qt5 - fsl-image-gui with QT 5.5.
