Host Environment Setup
$: sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat \
libsdl1.2-dev xterm sed cvs subversion coreutils texi2html \
docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils \
libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop asciidoc
For Ubuntu 12.04 host setup only:
$: sudo apt-get install uboot-mkimage
For Ubuntu 14.04 host setup only:
$: sudo apt-get install u-boot-tools
To get the BSP you need to have repo
installed and use it as:
Install the repo
utility:
$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo
Download the BSP source:
$: PATH=${PATH}:~/bin
$: mkdir edm-yocto
$: cd edm-yocto
$: repo init -u https://github.com/TechNexion/edm-yocto-bsp.git -b dizzy_3.14.52-1.1.0_GA
$: repo sync
For now, there are releases as follows:
dizzy_3.10.53-1.1.0_GA_20150917
dizzy_3.10.53-1.1.0_GA_20151021
dizzy_3.10.53-1.1.0_GA_20160108
dizzy_3.14.52-1.1.0_GA_20160301
The releases correspond to the source tarball on Technexion FTP:
ftp://ftp.technexion.net/development_resources/Freescale/yocto/
If you want to check out specific release:
$: repo init -u https://github.com/TechNexion/edm-yocto-bsp.git -b dizzy_3.10.53-1.1.0_GA
$: repo sync -j8
$: cd sources/meta-edm-bsp-release/
$: git checkout dizzy_3.10.53-1.1.0_GA_20160108
$: cd -
At the end of the commands you have every metadata you need to start work with.
To start a simple image build:
$: DISPLAY=hdmi720p MACHINE=edm-fairy-imx6 source edm-setup-release.sh -b build-x11 -e x11
$: bitbake fsl-image-qt5
DISPLAY
parameters can be:
lvds7
, hdmi720p
, hdmi1080p
, lcd
, lvds7_hdmi720p
, custom
MACHINE
parameters can be:
edm-fairy-imx6
, edm-toucan-imx6
, edm-goblin-imx6sx
, picosom-dwarf-imx6
, tek3-imx6