This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
agl-distro:source-code [2018/10/05 20:53] jsmoeller |
agl-distro:source-code [2020/10/22 19:41] growupboron Updated Documentation Link. |
||
---|---|---|---|
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, Funky Flounder 6.0.0, as well as [[agl-distro:release-notes#funky_flounder | release notes]] and more see the [[agl-distro:release-notes#funky_flounder | Funky Flounder Release]] | + | To download all layers for the 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 Eel 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: | 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 eel -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 | ||
- | |||
==== Download previous stable releases ==== | ==== Download previous stable releases ==== | ||
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#daring_dab|Daring Dab 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 97: | 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]] |
+ |