aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: fc5843e24516589d35abe54a1dfa7e30c17b5a3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
meta-ivi, the Yocto layer for In-Vehicle Infotainment
=====================================================

This layer's purpose is to add In-Vehicle Infotainment (IVI) support when
used with Poky.  The goal is to be able to build a GENIVI compliant baseline
image.

Please see the MAINTAINERS file for information on contacting the maintainers
of this layer, as well as instructions for submitting patches.

You may in addition influence future meta-ivi development. For that take a
look at the [meta-ivi Trello board](https://trello.com/b/HplBZa2l) and vote.

Layer Dependencies
------------------

URI: git://git.yoctoproject.org/poky
branch: dylan
rebision: b15bdd842092f2335784c20b8e1b3a0ddcf7996b

Using the above poky branch and meta-ivi 4.0 branch, bitbaking foton-image is
known to work (the foton-image build should be GENIVI 4.0 compliant).

For creating specific GENIVI compliant images, please make sure you git
checkout on the desired meta-ivi branch and follow the build instructions
located in the README.md file.

Build a QEMU image including GENIVI P1 components
--------------------------------------------------

You can build a QEMU image including GENIVI P1 components using the
following steps:

1. Run the following command:

   > $ source poky/oe-init-build-env

2. Add meta-ivi path to COREBASE/build/conf/bblayers.conf BBLAYERS variable.

3. Set MACHINE ??= "vexpressa9", MACHINE ??= "qemux86" or MACHINE ??= "qemux86-64"
in COREBASE/build/conf/local.conf file to build for an emulated ARMv7a, x86 or x86-64
instruction-set maschine respectively.

4. Add INCOMPATIBLE_LICENSE = "GPLv3" in COREBASE/build/conf/local.conf file.

5. Set DISTRO ?= "poky-ivi-systemd" in COREBASE/build/conf/local.conf file.

6. Optional: In COREBASE/build/conf/local.conf file, you may uncomment
BB_NUMBER_THREADS = "4" and PARALLEL_MAKE = "-j 4" if you build on a
quad-core machine.

7. Build foton-image including GENIVI 4.0 (Foton) P1 components

   > $ bitbake foton-image

8. Run the emulator:

   > for qemu vexpressa9:
   > $ PATH_TO_META_IVI/meta-ivi/scripts/runqemu foton-image vexpressa9

   > for qemu x86:
   > $ PATH_TO_POKY/poky/scripts/runqemu foton-image qemux86

   > for qemu x86-64:
   > $ PATH_TO_POKY/poky/scripts/runqemu foton-image qemux86-64