User Tools

Site Tools


agl-distro:source-code

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:source-code [2017/09/08 13:57]
jsmoeller
agl-distro:source-code [2022/09/12 16:22] (current)
baigudin Typo fixed
Line 2: Line 2:
  
 The AGL source code and Yocto layers are maintained on the [[https://​gerrit.automotivelinux.org/​ | AGL gerrit server]]. For information on how to create accounts for gerrit see [[start:​getting-started|Getting Started with AGL]]. ​ The AGL source code and Yocto layers are maintained on the [[https://​gerrit.automotivelinux.org/​ | AGL gerrit server]]. For information on how to create accounts for gerrit see [[start:​getting-started|Getting Started with AGL]]. ​
 +
 +Build instructions for supported hardware platforms available at [[https://​docs.automotivelinux.org/​en/​master/#​0_Getting_Started/​2_Building_AGL_Image/​0_Build_Process/​ | AGL documentation site]].
  
 ==== Prepare Repo Tool ==== ==== Prepare Repo Tool ====
Line 18: Line 20:
     ​     ​
 ==== Download Latest Stable Release ==== ==== Download Latest Stable Release ====
-To download all layers ​for the for the latest stable release, Charming Chinook 3.0.x, as well as [[agl-distro:​release-notes#​charming_chinook ​| release notes]] ​and more see the [[agl-distro:release-notes#​charming_chinook | Charming Chinook Release]]+To download all layers for the latest stable release ​and more see the [[agl-distro:​release-notes | release notes]] 
 +    $ repo init -b icefish ​[-m icefish_9.0.0.xml] -u https://​gerrit.automotivelinux.org/​gerrit/​AGL/​AGL-repo 
 +    $ repo sync
  
-==== Download Latest on Chinook Branch ====  +==== Download Latest on stable ​branch ​====
-To download all layers on the current ​release ​branch which may be in the midst of testing or changes prior to the next stable ​release: +
-    $ repo init -b dab -u https://​​gerrit.automotivelinux.org/​​gerrit/​​AGL/​​AGL-repo  +
-    $ repo sync +
-     +
-==== Download Latest on Chinook Branch ​==== +
 To download all layers on the current ​release ​branch which may be in the midst of testing or changes prior to the next stable release: To download all layers on the current ​release ​branch which may be in the midst of testing or changes prior to the next stable release:
-    $ repo init -b chinook ​-u https://gerrit.automotivelinux.org/​gerrit/AGL/AGL-repo ​ +    $ repo init -b icefish ​-u https://​gerrit.automotivelinux.org/​gerrit/​AGL/​AGL-repo
     $ repo sync     $ repo sync
  
Line 33: Line 32:
  
 Repo set up information,​ release notes, and more for previous stable versions of AGL  Repo set up information,​ release notes, and more for previous stable versions of AGL 
 +
 +[[agl-distro:​release-notes#​grumpy_guppy|Grumpy Guppy Releases]]
 +
 +[[agl-distro:​release-notes#​funky_flounder|Funky Flounder Releases]]
 +
 +[[agl-distro:​release-notes#​electric_eel|Electric Eel Releases]]
 +
 +[[agl-distro:​release-notes#​daring_dab|Daring Dab Releases]]
 +
 +[[agl-distro:​release-notes#​charming_chinook|Charming Chinook Releases]]
  
 [[agl-distro:​release-notes#​brilliant_blowfish|Brilliant Blowfish Releases]] [[agl-distro:​release-notes#​brilliant_blowfish|Brilliant Blowfish Releases]]
Line 48: Line 57:
 ==== Features supported by aglsetup ==== ==== Features supported by aglsetup ====
  
-Here is the list of features for AGL 2.0 that can be specified in the aglsetup.sh command line:+Here is the list of features for AGL that can be specified in the aglsetup.sh command line:
  
   * in meta-agl   * in meta-agl
     * **agl-devel**:​ activate development options (empty root password, debugger, strace, valgrind ...)     * **agl-devel**:​ activate development options (empty root password, debugger, strace, valgrind ...)
     * **agl-netboot**:​ enable network boot support through TFTP and NBD (see meta-netboot layer)     * **agl-netboot**:​ enable network boot support through TFTP and NBD (see meta-netboot layer)
-  * in meta-agl-extra 
     * **agl-appfw-smack**:​ enables IoT.bzh Application Framework + SMACK + Cynara     * **agl-appfw-smack**:​ enables IoT.bzh Application Framework + SMACK + Cynara
     * **agl-demo**:​ enable layer meta-agl-demo and meta-qt5 - **required to build agl-demo-platform**     * **agl-demo**:​ enable layer meta-agl-demo and meta-qt5 - **required to build agl-demo-platform**
     * **agl-localdev**:​ add a local layer named "​meta-localdev"​ in meta directory and a local.dev.inc conf file if present     * **agl-localdev**:​ add a local layer named "​meta-localdev"​ in meta directory and a local.dev.inc conf file if present
-    * **agl-sota**:​ enable SOTA components and dependencies (meta-sota, meta-filesystems,​ meta-ruby, meta-rust are added) 
  
-For newer features or to get more details on a given feature, take a look at the configuration files stored for each feature and/or each machine in meta-agl/​templates and meta-agl-extra/templates.+  ''​CHECK OUT: source meta-agl/​scripts/​aglsetup.sh -h''​ 
 + 
 +For newer features or to get more details on a given feature, take a look at the configuration files stored for each feature and/or each machine in meta-agl/​templates and meta-agl-*/templates.
  
  
Line 66: Line 75:
 To build the QEMU version of the AGL demo start use machine "​qemux86-64"​ and feature "​agl-demo" ​ To build the QEMU version of the AGL demo start use machine "​qemux86-64"​ and feature "​agl-demo" ​
  
-    $ source meta-agl/​scripts/​aglsetup.sh -m qemux86-64 agl-demo agl-netboot ​agl-appfw-smack ​  ​+    $ source meta-agl/​scripts/​aglsetup.sh -m qemux86-64 agl-demo agl-netboot ​  
     ​     ​
     $ bitbake agl-demo-platform     $ bitbake agl-demo-platform
Line 75: Line 84:
  
 Then you can find kernel source tree at Then you can find kernel source tree at
-    build/​tmp/​work/​qemux86_64-poky-linux/​linux-yocto/​3.14.19*/linux/+    ​ls build/​tmp/​work*/*/​linux-yocto/​*/​linux/​
  or  or
-    build/​tmp/​work/​porter-poky-linux-gnueabi/linux-renesas/3.10*/git/+    ​ls build/​tmp/​work*/*/linux-*/*/git/ 
 ===== Detailed instructions for building AGL ===== ===== Detailed instructions for building AGL =====
  
Line 90: Line 100:
   - Writing a patch and writing recipe to apply it. [[http://​www.yoctoproject.org/​docs/​current/​kernel-dev/​kernel-dev.html#​modifying-an-existing-recipe| See 2.2. Modifying an Existing Recipe]]   - Writing a patch and writing recipe to apply it. [[http://​www.yoctoproject.org/​docs/​current/​kernel-dev/​kernel-dev.html#​modifying-an-existing-recipe| See 2.2. Modifying an Existing Recipe]]
   - Writing recipe to build modules out of tree [[http://​www.yoctoproject.org/​docs/​current/​kernel-dev/​kernel-dev.html#​working-with-out-of-tree-modules | See 2.5. Working with Out-of-Tree Modules]]   - Writing recipe to build modules out of tree [[http://​www.yoctoproject.org/​docs/​current/​kernel-dev/​kernel-dev.html#​working-with-out-of-tree-modules | See 2.5. Working with Out-of-Tree Modules]]
- 
-===== Troubleshooting ===== 
-Due to a [[https://​github.com/​meta-rust/​meta-rust/​issues/​47 | known bug in the upstream of meta-rust]] the Yocto/OE recipe for rust-cross may fail while building RVI SOTA Client or another application written in the Rust programming language. Until the complete resolution of the issue the workaround is to disable all use of the CXX11 ABI by applying the following lines to **conf/​local.conf**:​ 
- 
-    LD_CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0"​ 
-    TARGET_CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0"​ 
-    CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0"​ 
-    ​ 
-    BUILD_CXXFLAGS_remove_pn-gcc-runtime = "​-D_GLIBCXX_USE_CXX11_ABI=0"​ 
-    TARGET_CXXFLAGS_remove_pn-gcc-runtime = "​-D_GLIBCXX_USE_CXX11_ABI=0"​ 
-    CXXFLAGS_remove_pn-gcc-runtime = "​-D_GLIBCXX_USE_CXX11_ABI=0"​ 
  
 ===== Building AGL for Other Targets ===== ===== Building AGL for Other Targets =====
Line 108: Line 107:
   * [[agl-distro:​agl-raspberrypi|Building AGL for Raspberry Pi]]   * [[agl-distro:​agl-raspberrypi|Building AGL for Raspberry Pi]]
   * [[start::​building_for_the_renesas_r-car_m2|Building AGL for Renesas Porter]]   * [[start::​building_for_the_renesas_r-car_m2|Building AGL for Renesas Porter]]
-  * [[http://​docs.automotivelinux.org/​docs/​getting_started/​en/​dev/​reference/​machines/​R-Car-Starter-Kit-gen3.html|Building AGL for Renesas Gen3 boards]]+  * [[http://​docs.automotivelinux.org/master/​docs/​getting_started/​en/​dev/​reference/​machines/​R-Car-Starter-Kit-gen3.html|Building AGL for Renesas Gen3 boards]] 
 + 
agl-distro/source-code.1504879062.txt.gz · Last modified: 2017/09/08 13:57 by jsmoeller