User Tools

Site Tools


agl-distro:developer_resources_intel_apps

This is an old revision of the document!


App development SDK

Note this page is for Apps developers if you are interested in creating a bespoke image and BSP for IA please visit Intel Quick Start

Installing the AGL building container

As the type of host that you use can affect greatly the building process (even with Yocto) AGL publishes a container ready to use which provides a working version of what you will need.

There is no dedicated SDK for Intel and the development SDK for Intel is the same as for the Porter Board. You will find the installation procedure for Windows, Mac and Linux here Follow chapters 1 to 4 depending of your setup.

Building AGL reference image and SDK

In order to avoid any contamination of tools between ARM and IA which could lead to a broken build, please follow the next steps carefully.

1) Start the AGL development container

docker run \
--publish=2222:22 \
--publish=8000:8000 \
--publish=69:69/udp --publish=10809:10809 \
--detach=true --privileged \
--hostname=bsp-devkit --name=bsp-devkit \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-v $MIRRORDIR:/home/devel/mirror \
-v $HOME/agl-workspace:/xdt/workspace \
docker.iot.bzh/iotbzh/worker_bsp_base:latest

2) Download the AGL distro source code

prepare_meta -f rel2.0 -o /xdt -l ~/mirror/ -t intel-corei7-64 -e wipeconfig "$@"
 

3) Clean all caches

rm -rf /xdt/sstate-cache/* /xdt/build/tmp/

4) source yocto and AFL build environment

/xdt/build/agl-init-build-env

5) Build the AGL SDK

bitbake agl-demo-platform-crosssdk

6) Install the SDK

 //(password is devel)//
install_sdk /xdt/build/tmp/deploy/sdk/poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-corei7-64-toolchain-2.0.0.sh

7) Check that you see your SDK

tree -L 2 /xdt/sdk
agl-distro/developer_resources_intel_apps.1473350209.txt.gz · Last modified: 2016/09/08 15:56 by dominig