User Tools

Site Tools


agl-distro:developer_resources_intel

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 [2016/09/08 15:59]
dominig
agl-distro:developer_resources_intel [2018/04/25 13:20] (current)
jsmoeller
Line 1: Line 1:
-====== ​Introduction ​======+====== ​FIXME ====== 
 +Attention. This page is deprecated. FIXME. Please follow the new documentation site: 
 + 
 +http://​docs.automotivelinux.org/​docs/​getting_started/​en/​dev/​reference/​machines/​intel.html 
 + 
 + 
 + 
 +====== Running AGL on Intel Minnowboard (and most Intel HW)======
 This documentation is aiming at people who want to run Automotive Grade Linux (AGL) on an Intel Hardware (HW). This documentation is aiming at people who want to run Automotive Grade Linux (AGL) on an Intel Hardware (HW).
-While the reference HW used by AGL project is the Open Source Minnowboard (http://​wiki.minnowboard.org/​MinnowBoard_Wiki_Home) this documentation can be used to enable most of 64 bits Intel Architecture (IA) using UEFI as boot loader.+While the reference HW used by AGL project is the Open Source Minnowboard (http://​wiki.minnowboard.org/​MinnowBoard_Wiki_Home) this documentation can be used to enable most of 64 bits Intel Architecture (IA) using UEFI as boot loader. You need to run the 64 bits version of the UEFI boot. Minnowbaord Max and Turbo are both 64 bits capable.
  
 **Note** this page is more focused on please willing to create bespoke AGL image and BSP. If you are more interested by Apps creation, please visit [[agl-distro:​developer_resources_intel_apps | Developing Apps]] **Note** this page is more focused on please willing to create bespoke AGL image and BSP. If you are more interested by Apps creation, please visit [[agl-distro:​developer_resources_intel_apps | Developing Apps]]
  
 UEFI has evolved a lot recently and you likely want to check that your HW firmware is up-to-date, this is particularly important for the Minnowboard. UEFI has evolved a lot recently and you likely want to check that your HW firmware is up-to-date, this is particularly important for the Minnowboard.
-  https://​firmware.intel.com/​projects/​minnowboard-uefi-firmware+  https://​firmware.intel.com/​projects/​minnowboard-max
  
 ====== Where to find an AGL bootable image ====== ====== Where to find an AGL bootable image ======
 ===== Build your own ===== ===== Build your own =====
  
-There is currently no SDK dedicated to IA (to be fixed) but fortunately the SDK provided for the Porter Board can build an IA image with little configuration changes. +Building ​an AGL image from scratch using Yocto.
-see chapter 2 of [[http://​iot.bzh/​download/​public/​2016/​sdk/​AGL-Kickstart-on-Renesas-Porter-board.pdf|Porter Quick Start]]+
  
 +Get the source from the various Git repositories is done via the repo tools [[https://​source.android.com/​source/​using-repo.html | to Repo Documentation]]
 +
 +To install the repo tool.
 +  mkdir -p ~/bin
 +  export PATH=~/​bin:​$PATH
 +  curl https://​storage.googleapis.com/​git-repo-downloads/​repo > ~/bin/repo
 +  chmod a+x ~/bin/repo
 +
 +**Note:** An alternative method to build an image is to use the SDK. There is currently no SDK dedicated to IA (to be fixed) but fortunately the SDK provided for the Porter Board can build an IA image with little configuration changes.
 +see chapter 2 of [[http://​iot.bzh/​download/​public/​2016/​sdk/​AGL-Kickstart-on-Renesas-Porter-board.pdf|Porter Quick Start]].
 +
 +
 +**To build the latest stable (blowfish_2.0.3)**
 +  cd AGL-2.0.3
 +  repo init -u \ 
 +  https://​gerrit.automotivelinux.org/​gerrit/​AGL/​AGL-repo \
 +  -b blowfish \
 +  -m default_blowfish_2.0.3.xml
 +
 +**Alternative for AGL developers only:** To build the latest
 +  cd AGL-master
 +  repo init -u https://​gerrit.automotivelinux.org/​gerrit/​AGL/​AGL-repo
 +  ​
 +**Only for those working on virtualisation**
 +**Note :** this is WIP and most likely to fail most of the time)
 +  cd AGL-master-next
 +  repo init -b morty \
 +  -u https://​gerrit.automotivelinux.org/​gerrit/​AGL/​AGL-repo
 +
 +Once that you repo is initialised either with the stable or WIP, you need to sync the repo to fetch the various git trees.
 +  repo sync
 +
 +You are now ready to initialise your Yocto build.
 When running the command ​ When running the command ​
   source meta-agl/​scripts/​aglsetup.sh -h   source meta-agl/​scripts/​aglsetup.sh -h
Line 22: Line 61:
   -m intel-corei7-64 \   -m intel-corei7-64 \
   -b build \   -b build \
-  agl-devel agl-demo agl-appfw-smack+  agl-devel agl-demo agl-appfw-smack ​agl-netboot 
 +Start the build //(this can take several hours depending of your CPU and internet connection)//​ 
 +  bitbake agl-demo-platform 
  
 ===== Find a ready made image ===== ===== Find a ready made image =====
 The Continuous Integration (CI) process from AGL creates and publish daily and stable builds. The Continuous Integration (CI) process from AGL creates and publish daily and stable builds.
-Pointers to both can be found in [[agl-distro:​ | AGL supported HW]] the stable pointer ​is correct but the snapshot pointer ​often does not work (to be fixed) as image are only published if the CI has successfully passed the quick test phase+Pointers to both can be found in [[agl-distro:​ | AGL supported HW]] (see Reference BSP/​Intel). 
-To get the latest ​build, go [[https://​download.automotivelinux.org/​AGL/​snapshots/​master/​ Latest Snapshot]] and manually search the most recent published image for IA represented by a directory named intel-corei7-64/​ (you may have to go backward a few days)+ 
 +I would advise to start with the stable pointer
 + 
 +Once you have validated your process you can start to play/work with the snapshot pointer. 
 + 
 +Note that snapshot ​build may not work.
  
 Follow the directory ​ Follow the directory ​
agl-distro/developer_resources_intel.1473350341.txt.gz · Last modified: 2016/09/08 15:59 by dominig