Continental Yocto Tutorial / August 2013

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Continental Yocto Tutorial / August 2013

Continental Yocto Tutorial / August 2013

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

       

  • Task 2:    Folders

    1. Tree structure & size

        fsl-comunity-bsp $ tree -d -L 2

        fsl-comunity-bsp $ du -h --max-depth=2

  • Task 3:    Architecture

  • Task 4:    Metadata

  • Task 5:    Config files

        build $ cat conf/local.conf

        build $ cat conf/bblayer.conf


  • Task 6:     Layers

build $ bitbake-layers show-layers

sources $ cat meta-fsl-arm/conf/layer.conf

  • Task 7:    Adding an existing layer

    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

  • Task 8: (Optional)
    • Check the core-image-minimal-test image, bake and flash it.
    • Run the 'helloworld' app

  • Task 9: Q&A
No ratings
Version history
Last update:
‎08-09-2013 11:13 AM
Updated by: