User Tools

Site Tools


agl-distro:developer_resources_intel_apps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
agl-distro:developer_resources_intel_apps [2016/09/08 16:01]
dominig
agl-distro:developer_resources_intel_apps [2016/09/26 16:34] (current)
dominig
Line 1: Line 1:
-===== App development SDK ===== +====== App development SDK for Intel Minnowboard ====== 
-**Note** this page is for Apps developers if you are interested in creating a bespoke image and BSP for IA please visit [[agl-distro:​developer_resources_intel|Intel Quick Start]]+**Note** this page is for Apps developers if you are interested in creating a bespoke image and BSP for IA  
 +please visit [[agl-distro:​developer_resources_intel|Intel Quick Start]] 
 +This SDK will create an Image which will work on most Intel 64 bits HW booting with UEFI, you can also work with the Intel images published for AGL for Intel as suport for the App developed with this SDK.
 ==== Installing the AGL building container ==== ==== 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. 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.
Line 8: Line 10:
 Follow chapters 1 to 4 depending of your setup. Follow chapters 1 to 4 depending of your setup.
  
 +==== Why do I need to build a SDK ? ====
 +Even if you build on an Intel PC for an Intel target, the CPU and Linux configurations are unlikely to match at 100%. The only reliable development model is to work in a cross-compilation like model which is provided by the SDK.
  
 ==== Building AGL reference image and SDK ==== ==== Building AGL reference image and SDK ====
Line 24: Line 28:
   docker.iot.bzh/​iotbzh/​worker_bsp_base:​latest   docker.iot.bzh/​iotbzh/​worker_bsp_base:​latest
   ​   ​
 +  # Note: docker run creates the container from an image. When you restart this container at a later date, 
 +  # you must to use the command "​docker run containerID"​
 +  # docker start docker.iot.bzh/​iotbzh/​worker_bsp_base:​latest
 +
 +  # info: devel password is devel  ​
   ssh -p 2222 localhost   ssh -p 2222 localhost
-  # info: password is devel 
   ​   ​
 2) Download the AGL distro source code 2) Download the AGL distro source code
Line 34: Line 42:
  
 4) source yocto and AFL build environment 4) source yocto and AFL build environment
-  /​xdt/​build/​agl-init-build-env+  ​source ​/​xdt/​build/​agl-init-build-env
   ​   ​
 5) Build the AGL SDK 5) Build the AGL SDK
   bitbake agl-demo-platform-crosssdk   bitbake agl-demo-platform-crosssdk
 +  ​
 +5a) Build your own image [optional]
 +  bitbake agl-demo-platform
 +
  
 6) Install the SDK 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   install_sdk /​xdt/​build/​tmp/​deploy/​sdk/​poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-corei7-64-toolchain-2.0.0.sh
 +  # info: password is devel
  
 7) Check that you see your SDK 7) Check that you see your SDK
   tree -L 2 /xdt/sdk   tree -L 2 /xdt/sdk
 +==== Using the SDK ====
 +The documentation for using SDK for Intel and Porter is the same to the exception of the initialisation script.
 +  source /​xdt/​sdk/​environment-setup-corei7-64-poky-linux
 +Then the AGL documentation [[ http://​iot.bzh/​download/​public/​2016/​sdk/​AGL-Devkit-Build-your-1st-AGL-Application.pdf | "​AGL/​Phase2 - Devkit - Build your 1st AGL Application"​]] can be used.
 +
  
  
agl-distro/developer_resources_intel_apps.1473350460.txt.gz · Last modified: 2016/09/08 16:01 by dominig