Continental Yocto Training
Author:
Leonardo Sandoval
Material:
PDF Tutorial: i.MX Yocto Project: Freescale Yocto Project Tutorial
Provided Virtual Machine
Wandboard Dual Wandboard - Freescale i.MX6 ARM Cortex-A9 Opensource Community Development Board - BLOG
Tasks:
Task 1: Build and Boot your board in N-steps
1. Create a new folder ($ mkdir conti-fsl-community-bsp)
2. Follow all N-steps (from the tutorial, page 2) EXCEPT the baking
3. Baking has been done for you, so assume that the bake is done!
4. Flash:
conti-fsl-community-bsp $ cd
$ cd fsl-community-bsp/build
build $ dd if=tmp/deploy/images/core-image-minimal-wandboard-dual.sdcard of=/dev/sdb bs=1M
build $ sync # NEVER FORGET THIS STEP, You have been warned!
5. Boot
1. Tree structure & size
fsl-comunity-bsp $ tree -d -L 2
fsl-comunity-bsp $ du -h --max-depth=2
build $ cat conf/local.conf
build $ cat conf/bblayer.conf
build $ bitbake-layers show-layers
sources $ cat meta-fsl-arm/conf/layer.conf
1. Clone the repo
sources $ git clone https://github.com/lsandoval/meta-fsl-test.git
2. Add the layer to build/bblayers.conf
sources $ cd ../build
build $ vi conf/bblayers.conf
3. Browse the new layer files
4. Compile the kernel
build $ bitbake -f -c compile linux-wandboard
build $ bitbake -c deploy linux-wandboard
5. Flash
build $ sudo mkdir /media/boot
build $ sudo mount /dev/sdb1 /media/boot
build $ cp tmp/deploy/images/uImage /media/boot
build $ sudo umount /media/boot
6. Boot