meta-agl, the Yocto layer for Automotive Grade Linux Distribution ================================================================= The yocto layer 'meta-agl' provides a minimal set of software to boot system of AGL Distribution. AGL is creating an automotive specific Linux distribution that unifies the software that has been written in a number of places already, such as GENIVI and Tizen IVI. The AGL community appreciates feedback, ideas, suggestion, bugs and documentation just as much as code. Please join the irc conversation at the #automotive channel on irc.freenode.net and our mailing list. For infomation for subscribing to the mailing list [automotive-discussions](http://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions) For information about AGL Distribution, see the [AGL Distribution](https://wiki.automotivelinux.org/agl-distro) For information abount Getting started with AGL [here](https://wiki.automotivelinux.org/start/getting-started) For information about contributing to the AGL Distro [here](https://wiki.automotivelinux.org/agl-distro/contributing) Layer Dependencies ------------------ URI: git://git.yoctoproject.org/poky > branch: dizzy > revision: df87cb27efeaea1455f20692f9f1397c6fcab254 URI: git://git.openembedded.org/meta-openembedded > layer: meta-oe > branch: dizzy > revision: 9efaed99125b1c4324663d9a1b2d3319c74e7278 ## The Renesas R-Car Gen2 (Porter) board depends in addition on: ## URI: https://gerrit.automotivelinux.org/gerrit/AGL/meta-renesas > branch: agl-1.0-bsp-1.8.0 > revision: bf30de66badcac7ef82d3758aa44c116ee791a28 > (or later) Layers ------ There are 3 layers in top-level `meta-agl`. `meta-ivi-common` is a layer which contains common packages to AGL Distribution and other platforms for In-Vehicle Infotainment system. > meta-agl/meta-ivi-common `meta-agl` is a layer which contains AGL common and middleware packages. > meta-agl/meta-agl `meta-agl-bsp` is a layer which contains required packages to boot AGL distribution on an emulated machine(QEMU). > meta-agl/meta-agl-bsp Packagegroups ------------- AGL package group design: These are the top-level packagegroups for AGL Distribution. > packagegroup-agl-core (minimal packages to boot system) > packagegroup-agl-ivi (middlewares for AGL IVI) > packagegroup-ivi-common (common packages to AGL and others) Each package group can contain sub-package groups like these. > packagegroup-agl-core-multimedia > packagegroup-agl-core-connectivity > ... > packagegroup-agl-ivi-multimedia > packagegroup-agl-ivi-connectivity > ... > packagegroup-ivi-common-multimedia > packagegroup-ivi-common-connectivity The recipe for `packagegroup-ivi-common-*.bb` will contain common packages to AGL Distribution(meta-agl) and other In-Vehicle Infotainment system(e.g. meta-ivi and meta-tizen). > directory: meta-agl/meta-ivi-common/recipes-core/packagegroups > recipes : packagegroup-ivi-common-[subsystem].bb The "packagegroups-agl-ivi-*" will contain AGL specific middleware packages. > directory: meta-agl/meta-agl/recipes-ivi/packagegroups > recipes : packagegroup-agl-ivi-[subsystem].bb Supported Machine ----------------- * QEMU (x86-64) - emulated machine: qemux86-64 * Renesas R-Car Gen2 (R-Car M2) - machine: porter Supported Target of bitbake ------------------------ * `agl-image-ivi` The baseline image of AGL Distributions * `agl-image-minimal` For internal use to develop distribution (experimental) * `agl-image-weston` For internal use to develop distribution (experimental) Supposed Directory Trees of Layers to build ------------------------------------------- * For QEMU ${TOPDIR}/ meta-agl/ meta-openembedded/ poky/ * For R-Car M2 ${TOPDIR}/ meta-agl/ meta-openembedded/ meta-renesas/ poky/ Build a QEMU image ------------------ You can build a QEMU image using the following steps: 1. Export TEMPLATECONF to pick up correct configuration for the build > $ export TEMPLATECONF=/full/path/to/meta-agl/meta-agl/conf 2. Run the following command: > $ source poky/oe-init-build-env 3. Build the minimal image of AGL Distribution > $ bitbake agl-image-ivi 4. Run the emulator > $ PATH_TO_POKY/poky/scripts/runqemu agl-image-ivi qemux86-64 For large screen: > $ PATH_TO_POKY/poky/scripts/runqemu agl-image-ivi qemux86-64 bootparams="uvesafb.mode_option=1280x720-32" 5. Some weston samples are available from weston terminal. Build a R-Car M2 (porter) image ------------------------------- ### Software setup NOTE: These instructions are based on GENIVI wiki, [here](http://wiki.projects.genivi.org/index.php/Hardware_Setup_and_Software_Installation/koelsch%26porter). If these didn't work correctly especially around Renesas Binary Packages, please check there and updated instructions. #### Getting Source Code and Build image 1. Create a directory for working, then go to there. $ mkdir -p $HOME/ANYWHERE_YOU_WANT_TO_WORK_THERE $ cd $HOME/ANYWHERE_YOU_WANT_TO_WORK_THERE $ export AGL_TOP=`pwd` 2. Get the meta data and checkout $ git clone git://git.yoctoproject.org/poky $ cd poky $ git checkout df87cb27efeaea1455f20692f9f1397c6fcab254 $ cd - $ git clone git://git.openembedded.org/meta-openembedded $ cd meta-openembedded $ git checkout 9efaed99125b1c4324663d9a1b2d3319c74e7278 $ cd - $ git clone https://gerrit.automotivelinux.org/gerrit/AGL/meta-renesas $ cd meta-renesas $ git checkout bf30de66badcac7ef82d3758aa44c116ee791a28 $