- 1. Setting up and building Yocto -------------------------------- Installation in Ubuntu 14.04 64 bit [Clean install] Some packages are needed: $ sudo apt-get update $ sudo apt-get install gawk wget git-core diffstat unzip texinfo build-essential chrpath libsdl1.2-dev xterm curl To get the yocto recipes: $ mkdir ~/yocto $ cd ~/yocto $ git clone https://git.congatec.com/yocto/bsp-scripts.git $ git checkout daisy $ ./cgt-yocto_fetch.sh To config the build environment: $ MACHINE='cgtqmx6' source setup-environment build [ ! ] EULA accept needed for next step. The part number of the target QMX6 must be specified in the conf/local.conf file following the next steps: $ gedit conf/local.conf [!]add at the end of the file: PARTNUMBER = "PN016xyz" [!]Save, and exit. Different images can be built now: - fsl-image-multimedia-full: "A console-only image that includes gstreamer packages and Freescale's multimedia packages (VPU and GPU) when available for the specific machine extended with additional gstreamer plugins." - fsl-image-machine-test: "A console-only image that includes gstreamer packages, Freescale's multimedia packages (VPU and GPU) when available, and test and benchmark applications." - core-image-sato: "Image with Sato, a mobile environment and visual style for mobile devices. The image supports X11 with a Sato theme, Pimlico applications, and contains terminal, editor, and file manager." - core-image-sato-dev: "Image with Sato for development work. It includes everything within core-image-sato plus a native toolchain, application development and testing libraries, profiling and debug symbols." - core-image-sato-sdk: "Image with Sato support that includes everything within core-image-sato plus meta-toolchain, development headers and libraries to form a standalone SDK." To build the fsl-image-multimedia-full image use: $ bitbake fsl-image-multimedia-full The process will take hours. When it finishes the image will be located ~/yocto/build_cgtqmx6/tmp/deploy/images/cgtqmx6/ 2. Transfer the root file system --------------------------------- 2.1. micro SD -------------- In order to transfer the image to a uSD card, follow the next steps changing sdX for your detected device: $ cd ~/yocto/build_cgtqmx6/tmp/deploy/images/cgtqmx6/ $ sudo dd if=/dev/zero of=/dev/sdX count=1000 bs=512 $ sudo sfdisk --force -uM /dev/sdX <