Mini-manual of `meta-agl`
[AGL/meta-agl.git] / README.md
1 meta-agl, the Yocto layer for Automotive Grade Linux Distribution\r
2 =================================================================\r
3 \r
4 This layer's purpose is ... [TBD]\r
5 \r
6 Layer Dependencies\r
7 ------------------\r
8 \r
9 URI: git://git.yoctoproject.org/poky\r
10 > branch:   dizzy\r
11 > revision: 5f0d25152bac2d3798663a4ebfdd2df24060f153\r
12 \r
13 URI: git://git.openembedded.org/meta-openembedded\r
14 > layer:    meta-oe\r
15 > branch:   dizzy\r
16 > revision: 853dcfa0d618dc26bd27b3a1b49494b98d6eee97\r
17 \r
18 Layers\r
19 ------\r
20 \r
21 There are 2 sub-layers in top-level `meta-agl`.\r
22 \r
23 `meta-agl` is a layer which contains AGL common and middleware packages.\r
24 > meta-agl/meta-agl\r
25   \r
26 `meta-agl-bsp` is a layer which contains required packages to boot AGL distribution on an emulated machine(QEMU).\r
27 > meta-agl/meta-agl-bsp\r
28 \r
29 Packagegroups\r
30 -------------\r
31 \r
32 AGL package group design:\r
33 \r
34 These are the top-level packagegroups for AGL Distribution.\r
35 > packagegroup-agl-core  (basic/common packages out of oe-core)\r
36 > packagegroup-agl-ivi   (middlewares for AGL IVI)\r
37 \r
38 Each package group can contain sub-package groups like these.\r
39 > packagegroup-agl-core-multimedia\r
40 > packagegroup-agl-core-connectivity\r
41 > ...\r
42 > packagegroup-agl-ivi-multimedia\r
43 > packagegroup-agl-ivi-connectivity\r
44 > ...\r
45 \r
46 The recipe for `packagegroup-agl-core-*.bb` will contain common packages between meta-agl, meta-ivi and meta-tizen.\r
47 > directory: meta-agl/meta-agl/recipes-core/packagegroups\r
48 > recipes  : packagegroup-agl-core-[subsystem].bb\r
49 \r
50 The "packagegroups-agl-ivi-*" will contain AGL specific middleware packages.\r
51 > directory: meta-agl/meta-agl/recipes-ivi/packagegroups\r
52 > recipes  : packagegroup-agl-ivi-[subsystem].bb\r
53 \r
54 Supported Machine\r
55 -----------------\r
56 \r
57 * QEMU (x86-64) - emulated machine: qemux86-64\r
58 \r
59 Supported Target of bitbake\r
60 ------------------------\r
61 \r
62 * `agl-image-ivi` The baseline image of AGL Distributions\r
63 \r
64 * `agl-image-minimal` For internal use to develop distribution (experimental)\r
65 * `agl-image-weston`  For internal use to develop distribution (experimental)\r
66 \r
67 Build a QEMU image\r
68 ------------------\r
69 \r
70 You can build a QEMU image using the following steps:\r
71 \r
72 1. Export TEMPLATECONF to pick up correct configuration for the build\r
73    > $ export TEMPLATECONF=/full/path/to/meta-agl/meta-agl/conf\r
74 \r
75 2. Rune the following command:\r
76    > $ source poky/oe-init-build-env\r
77 \r
78 3. Build the minimal image of AGL Distribution\r
79    > $ bitbake agl-image-ivi\r
80 \r
81 4. Run the emulator\r
82    > $ PATH_TO_POKY/poky/scripts/runqemu agl-image-ivi qemux86-64\r
83 \r
84    For large screen:\r
85    > $ PATH_TO_POKY/poky/scripts/runqemu agl-image-ivi qemux86-64 bootparams="uvesafb.mode=1280x720-32"\r
86 \r
87 5. Some weston samples are available from weston terminal.\r