AGL/meta-agl.git
8 years agoFix issue of weston shell on top of tty(console) running on qemu 53/4453/3
Tadao Tanikawa [Fri, 11 Dec 2015 07:56:35 +0000 (16:56 +0900)]
Fix issue of weston shell on top of tty(console) running on qemu

Resolve issue which both weston's desktop-shell and tty(console)
are active. Now, weston.service and getty@tty1.service become exclusive.

Change-Id: I105e055dd7257d8867ada518bdad45a984d03f94
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years agoFix the recipe of weston 55/4455/2
Tadao Tanikawa [Fri, 11 Dec 2015 08:01:05 +0000 (17:01 +0900)]
Fix the recipe of weston

To suit systemd.bbclass and poky-agl.conf, recipe of weston has
been fixed.

Change-Id: I9b401748176d0afdf5f8566b6e126416bb9d79d8
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years agoRygel becomes systemd user service 11/4411/4
Tadao Tanikawa [Wed, 9 Dec 2015 04:44:05 +0000 (13:44 +0900)]
Rygel becomes systemd user service

Now Rygel becomes systemd user service because
it needs D-Bus session bus provided by D-Bus Daemon which
is managed by systemd (as user service).

Change-Id: Ib763b68b758e4b1fb7efc76f846f5e6d07a67bd9
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years agoLightmediascanner becomes systemd user service 09/4409/4
Tadao Tanikawa [Wed, 9 Dec 2015 04:34:28 +0000 (13:34 +0900)]
Lightmediascanner becomes systemd user service

Now lightmediascanner becomes systemd user service because
it needs D-Bus session bus provided by D-Bus Daemon which
is managed by systemd (as user service).

Change-Id: I38aa8a60394dbf078b3dd3a42e60514816f96969
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years agosecurity: integration of security-manager 41/4441/2
José Bollo [Mon, 16 Nov 2015 15:32:14 +0000 (16:32 +0100)]
security: integration of security-manager

Allows the integration to AGL of the security security framwork
coming from tizen. It includes smack, cynara, security-manager and
other dependant components.

Most of this components are coming from a work made by Intel OTC to
create a yocto layer focused on security framework. This public work
available here https://github.com/01org/meta-intel-iot-security
has parts derived from Tizen's works and adds integrity parts.

This patch also removes dependencies to tizen-platform-config,
libslp-db-utils and dlog.

Change-Id: I510bff317fd479755711f5253dafdd5a264efaa6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoAMB (automotive-message-broker): RDEPEND on python-curses 49/4449/1
Manuel Bachmann [Wed, 9 Dec 2015 11:47:46 +0000 (11:47 +0000)]
AMB (automotive-message-broker): RDEPEND on python-curses

Current RDEPENDS are OK for "amb-get, amb-set, ..." utils,
but they are deprecated in favor of "ambctl". This one
depends on python-curses, thus add it to make it work.

Change-Id: Ibbc8d0a0c71c68cdf3315c9fe86f8e257dc8ebff
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
8 years agoAMB (automotive-message-broker): fix pkg-config header path 47/4447/1
Manuel Bachmann [Wed, 9 Dec 2015 11:06:56 +0000 (11:06 +0000)]
AMB (automotive-message-broker): fix pkg-config header path

Recipe install step moves headers to "/usr/include" instead
of "/usr/include/amb", but pkg-config's .pc files are not
updated accordingly. Do this during the same step.

Change-Id: I83ee9e86e7708c9aebea9dd1b87474ba38da8365
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
8 years agoAdd variables for path of systemd's unit files 39/4439/2
Tadao Tanikawa [Wed, 9 Dec 2015 04:27:29 +0000 (13:27 +0900)]
Add variables for path of systemd's unit files

To use systemd user mode from recipes, it convenient that
some variables are available, which point proper paths for unit files.
For that, backport 2 variables which has been added latest poky.

(From Poky rev:319a69f1d757a577b50a2ca9c8fbf845eba8e274)

When upgrading poky in future, these variables should be removed
from poky-agl.conf.

Change-Id: I8ba7594b488ecd6421caf7dde484eb6b091ff0de
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years agoD-Bus User Message Bus (Session Bus) is enabled from systemd 07/4407/3
Tadao Tanikawa [Wed, 9 Dec 2015 04:32:30 +0000 (13:32 +0900)]
D-Bus User Message Bus (Session Bus) is enabled from systemd

D-Bus user message bus (session bus) is enabled from systemd
as system's user service.

D-Bus daemon becomes enable when triggered by socket access.

Change-Id: I8033dd546209288f45917176a38f79aef78062fa
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years agoAMB (automotive-message-broker): enable gpsnmea plugin 29/4429/2
Manuel Bachmann [Tue, 8 Dec 2015 03:35:43 +0000 (03:35 +0000)]
AMB (automotive-message-broker): enable gpsnmea plugin

In this version of AMB, GPS plugin is named "gpsnmea" and
does not really depend on gpsd, so fix the build option and
remove the dependency.

If gpsnmea is enabled (default), we should ship a matching
configuration file so that it gets loaded automatically.
Consider an USB GPS device ; at worst, if no device is
present, harmless NULL values will be returned by AMB.

Change-Id: I60fc960bff04b334a2556b9ec92a4089398d453e
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
8 years agoAdd touch_frame events to Weston 1.5.0 37/4437/1
Risto Avila [Tue, 8 Dec 2015 15:02:45 +0000 (17:02 +0200)]
Add touch_frame events to Weston 1.5.0

Otherwise no Qt applications react on touch. This issue was
eventually resolved upstream by dropping the built-in evdev backend
and relying on libinput exclusively, where it is fixed. The libinput
backend is required since Weston 1.7. In 1.6 the libinput backend
was made the default, but the old backend was still there. Thus this
fix also applies to Weston 1.6.

Signed-off-by: Risto Avila <risto.avila@theqtcompany.com>
8 years agoBugfix for envsetup.sh script. 13/4413/2
Jan-Simon Möller [Sat, 5 Dec 2015 12:12:23 +0000 (13:12 +0100)]
Bugfix for envsetup.sh script.

A sourced script cannot use exit as it will
terminate the shell session. "return -1"
is not supported due to the negative value.
Use "return 1" instead.

Change-Id: I7452b7939c5c843eaf76b6600e5eb55c06d17668
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoProvide RTL-SDR 0.5.3 (RTL2832U chips, AM/FM radio support) 93/4393/1
Manuel Bachmann [Tue, 1 Dec 2015 15:16:26 +0000 (15:16 +0000)]
Provide RTL-SDR 0.5.3 (RTL2832U chips, AM/FM radio support)

RTL2832U-based USB dongles provide a convenient hardware
interface for AM/FM radio reception, which is actively
required by AGL 1.0 specification (AGL:4.2.1.1).

This is also required by the AM/FM radio QML plugin
(https://github.com/iotbzh/qml_radio_plugin).

(this is an original recipe, because it does not fit
general-purpose repositories such as meta-openembedded,
but the constructor does not have an official Yocto
repository yet)

Change-Id: I1a0298e7a110181f86f9ec93dcea1567bb2c0379
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
8 years agoAMB (automotive-message-broker): allow building with Qt5 47/4347/2
Manuel Bachmann [Fri, 13 Nov 2015 12:52:21 +0000 (12:52 +0000)]
AMB (automotive-message-broker): allow building with Qt5

v2: (Tadao Tanikawa)
- The recipe in meta-agl-demo which added by Change 4339
  has been merged into this patch.

- The recipe splitted automotive-message-broker_git.bb and
  automotive-message-broker_git.inc.

- Dependencies to gpsd, qtbase and qtdeclarative has been defined
  into PACKAGECONFIG because they need each of their options into
  EXTRA_OECMAKE.

NOTE: Once this patch merged, Change 4339 should be reverted.

v1: (Manuel Bachmann)
We want to be able to build AMB with or without meta-qt5 ;
this is possible by checking the layer presence (see
http://lists.openembedded.org/pipermail/openembedded-devel
/2015-October/103781.html for an upstream OE example).

Enable QtMainLoop and QtQuick/QML plugins, only if meta-qt5
has been added in bblayers.conf.

We need to precise package contents for Bitbake because
the install tree uses a complicated layout.

Change-Id: Ie7e5b6955c76324fd92662fee9caa5bad4dfd2f6
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years agoAMB (automotive-message-broker): fix GPSd dependency 45/4345/3
Manuel Bachmann [Fri, 13 Nov 2015 10:43:14 +0000 (10:43 +0000)]
AMB (automotive-message-broker): fix GPSd dependency

We now allow gpsd to build with bluez5 (backport from OE) :
http://lists.openembedded.org/pipermail/openembedded-devel
/2015-November/104602.html

which allows us to re-enable gpsd in AMB.

Plus, we also explicitly build the GPSd plugin.

Change-Id: I21fff0d010ca849a0ff4bd940437bddabae2d218
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
8 years agoFix build issues while bitbake without meta-qt5 49/4349/1
Tadao Tanikawa [Mon, 16 Nov 2015 12:44:40 +0000 (21:44 +0900)]
Fix build issues while bitbake without meta-qt5

Change-Id: I628f4b165b650bd570f7928987508f0d8a55ab26
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years agoUpdate AMB with amb-qt(qml) plugins to latest 37/4337/2
Tadao Tanikawa [Fri, 13 Nov 2015 07:11:35 +0000 (16:11 +0900)]
Update AMB with amb-qt(qml) plugins to latest

To use CogentEmbedded fixes to amb-qt(qml) plugins of AMB, the
recipes for AMB has been updated:
 - Pulling CogentEmbeeded's repository as upstream
 - Apply some patches to fix some issue around amb-qt plugins
   (these are from branch 'dev_0.14_2')

Change-Id: I81bf63d26446ec720343c4730fdc41d65ecf2e68
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoAMB (automotive-message-broker): depend on python-misc/json 43/4343/1
Manuel Bachmann [Fri, 13 Nov 2015 08:47:16 +0000 (08:47 +0000)]
AMB (automotive-message-broker): depend on python-misc/json

AMB provides utility scripts ("amb-get", "amb-set"...)
depending on the Python "argparse" and "json" modules. Add
corresponding packages as runtime dependencies.

Change-Id: Ic41d89a0aa0a45c6ab481753d66739786f61dee4
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
9 years agoSecurity: Adding the library xmlsec 65/4265/2
José Bollo [Mon, 2 Nov 2015 11:05:27 +0000 (12:05 +0100)]
Security: Adding the library xmlsec

XmlSec is a library used for signing, validating,
and crypting XML files according to XMLDSIG,
the recommendation of the W3C. See
http://www.w3.org/TR/xmldsig-core1

The library is integrated with use of openSSL
only and without XSLT library integration.

Change-Id: I685e3b476d936bcedb52dd88da9f4286182e0c58
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
9 years agoFix compilation of AMB if icecc is installed on the build machine. 83/4283/2
Jan-Simon Möller [Fri, 6 Nov 2015 23:43:24 +0000 (00:43 +0100)]
Fix compilation of AMB if icecc is installed on the build machine.

If the buildhost has icecc installed, AMBs cmake file will
hardcode the compiler to icecc (understandable, but not a good
idea for crosscompiling). In our case this leads to
the replacement of the compiler supplied by the build environment
with icecc. This breaks the compilation.

We turn off the icecc detection, which is unfortunately on by default.

Plus fixes for a few typos.

Change-Id: Ibc28d3d697f1769f134e2a8f630e42058255bf3b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
9 years agorygel: add systemd service 81/4281/2
Leon Anavi [Thu, 5 Nov 2015 13:16:36 +0000 (15:16 +0200)]
rygel: add systemd service

Change-Id: I30193ff62fdea97c2cd100a031c60458879d11c8
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
9 years agolightmediascanner: add systemd service 79/4279/2
Leon Anavi [Thu, 5 Nov 2015 13:15:46 +0000 (15:15 +0200)]
lightmediascanner: add systemd service

Change-Id: I868d15c4d17c30c2807ce5f3d85adc1fefc6f90e
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
9 years agoFix Weston IVI-Shell layout on Renesas R-Car E2 Silk 67/4267/2
Manuel Bachmann [Thu, 5 Nov 2015 10:17:00 +0000 (10:17 +0000)]
Fix Weston IVI-Shell layout on Renesas R-Car E2 Silk

On Renesas Silk boards, when running weston ivi-shell,
layout is too small and black borders are visible.
This is due to the presence of a VGA adapter, which
ivi-shell wrongly queries for resolution size values.

Work around this ; this patch is not upstreamed due to
current work being done on ivi-shell multiscreen support
(https://github.com/ntanibata/weston-ivi-shell/commits/
multiscreen_feature_03).

PS : although this patch is primarily intended for Silk,
we put it into "meta-agl" because it is a general-purpose
fix. It would also fix the issue on laptops having VGA
adapters, e.g..

Change-Id: I25447b54d53eb8f8b7261903c0699a53c81790f8
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
9 years agoMake Weston desktop-shell panel configurable (backport) 69/4269/3
Manuel Bachmann [Thu, 5 Nov 2015 12:33:29 +0000 (12:33 +0000)]
Make Weston desktop-shell panel configurable (backport)

The Weston panel is the top bar containing launcher and
clock icons. We might want to disable it for demos.

This can now be done by adding in "weston.ini" :
[shell]
panel-location=none

This is a backport from upstream Weston :
http://cgit.freedesktop.org/wayland/weston/patch/
?id=e67118c80ad411ac46b7096aae2635510c80ea6d

Change-Id: Iaf60f612f8e01e7aa51f8a0558de00f26d36aee8
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
9 years agocore: systemd: enable networkd 63/4263/1
Yannick Gicquel [Thu, 5 Nov 2015 08:54:57 +0000 (09:54 +0100)]
core: systemd: enable networkd

Change-Id: I6c84c593b8156a4abf4303f3a82763807eda9281
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
9 years agoAdds meta-agl-security layer 51/4251/2
José Bollo [Wed, 14 Oct 2015 11:38:07 +0000 (13:38 +0200)]
Adds meta-agl-security layer

This commits adds the security layer within the sources
of the AGL project.

This layer, named "meta-agl-security", is intended to host
receipes specific to the security framework of AGL.

In the case where a choice exist between several security
framework, the switch is done using "distro features" in
configuration files.

This layer will either hold the several framework and their
specific common components.

Change-Id: I8a34b2d6c06cd7d2687825a54d1fe75441de2895
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
9 years agoAdd kernel-modules to local.conf.sample . 57/4257/1
Jan-Simon Möller [Wed, 4 Nov 2015 16:25:05 +0000 (17:25 +0100)]
Add kernel-modules to local.conf.sample .

Change-Id: Ia2b763e540ffdc1a4df9bc341d931dc1050f7167
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
9 years agoAdded AMB (automotive-message-broker) to meta-ivi-common layer 31/4231/4
Nedeljko Miljevic [Mon, 2 Nov 2015 09:24:38 +0000 (10:24 +0100)]
Added AMB (automotive-message-broker) to meta-ivi-common layer

v3:(Tadao Tanikawa)
  - Remove 'qtbase' from dependencies.

v2:(Tadao Tanikawa)
  - Remove 'gpsd' dependency temporarily to complete
    bitbake without error.

v1:(Nedeljko Miljevic)

Change-Id: Ieebf982751486167482a303e53cd1ed834b55b3e
Signed-off-by: Nedeljko Miljevic <nedeljko.miljevic@windriver.com>
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoMerge "Add .gitreview template."
Jan-Simon Möller [Tue, 27 Oct 2015 18:06:05 +0000 (18:06 +0000)]
Merge "Add .gitreview template."

9 years agoAdd .gitreview template. 65/4165/1
Jan-Simon Möller [Tue, 27 Oct 2015 18:04:48 +0000 (19:04 +0100)]
Add .gitreview template.

Change-Id: I5fe0243cb431e9f4c1cc47b3838da603711a58a4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
9 years agoProvide LightMediaScanner 0.5.1, Rygel LMS plugin 59/4159/3
Manuel Bachmann [Mon, 26 Oct 2015 03:33:24 +0000 (03:33 +0000)]
Provide LightMediaScanner 0.5.1, Rygel LMS plugin

LightMediaScanner (https://github.com/profusion/
lightmediascanner) is a media indexation daemon, and a hard
dependency for GENIVI Media Manager *.

The Rygel media server, already present, uses a dedicated
plugin to collect media lists from LMS via D-Bus.

We are here :
- backporting a recipe recently submitted to the official
"meta-openembedded" layer :
http://lists.openembedded.org/pipermail/openembedded-devel/
2015-October/104022.html
- rebasing Tizen IVI patches, which have recently been
rebased on top of official Rygel code, on top of our own :
https://bugzilla.gnome.org/show_bug.cgi?id=757120

We can then pull Rygel LMS plugin and LightMediaScanner,
enabling only plugins associated with royalty-free formats.

* : https://github.com/konsulko/tizen-distro/blob/master/
meta-tizen/meta-open-ivi/recipes-apps/media-manager/
media-manager.bb

Change-Id: I42b375eb5c560daa1f8ea4052a782cdaac0cc1d6
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
9 years agoMerge "Provide oFono 1.15 with BlueZ 5 support"
Walt Miner [Fri, 23 Oct 2015 15:05:45 +0000 (15:05 +0000)]
Merge "Provide oFono 1.15 with BlueZ 5 support"

9 years agoMerge "Provide Bluetooth and BlueZ 5"
Walt Miner [Fri, 23 Oct 2015 15:03:34 +0000 (15:03 +0000)]
Merge "Provide Bluetooth and BlueZ 5"

9 years agoMerge "Provide Wayland FITS, disabled by default"
Walt Miner [Fri, 23 Oct 2015 15:01:16 +0000 (15:01 +0000)]
Merge "Provide Wayland FITS, disabled by default"

9 years agoAdd procps package for JTA. 57/4157/1
Kengo Ibe [Fri, 23 Oct 2015 02:52:26 +0000 (11:52 +0900)]
Add procps package for JTA.

JTA which is the test environment needs pkill  which belongs to "procps" package.
"procps" doesn't depend any packages and layers.
So, "procps" is integrated in OS and Common Libs layer.

Change-Id: I9760cce2f531fef633b4878f292c02eb79458244
Signed-off-by: Kengo Ibe <kengo.ibe@linuxfoundation.org>
9 years agoProvide Wayland FITS, disabled by default 45/4145/3
Manuel Bachmann [Wed, 21 Oct 2015 08:19:02 +0000 (08:19 +0000)]
Provide Wayland FITS, disabled by default

Wayland FITS is a functional integration test suite for
Wayland/Weston.
It consists in 2 components : a Weston plugin, and a
"wfits" binary used to run tests. The tests themselves
simulate user interaction with surfaces and windows, using
virtual keyboard/mouse/touchscreen drivers.

The recipe was recently submitted to the official
"meta-openembedded" layer, and can be found here :
http://lists.openembedded.org/pipermail/openembedded-devel/
2015-September/103511.html

The package will not be built unless the user explicitly
adds "wayland-fits" to his "conf/local.conf" file.

QEMU needs the "uinput" driver available on startup, so we
always build it, but only install it if the package has been
selected.

Change-Id: Ib6045007f6c7e1e22b48607a66930ce341c58002
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
9 years agoProvide oFono 1.15 with BlueZ 5 support 43/4143/1
Manuel Bachmann [Wed, 21 Oct 2015 01:34:54 +0000 (01:34 +0000)]
Provide oFono 1.15 with BlueZ 5 support

oFono provides a mobile telephony (GSM/UMTS) mobile
telephony stack.
When compiled with Bluetooth support, it also compiles
the HFP (Hands Free Profile) plugin, which is actively
required by AGL 1.0 specification (AGL:5.1.1.1).

The "hfp_bluez5" and "hfp_ag_bluez5" plugins are compiled
as we now ship BlueZ 5.

Change-Id: I815d3aeceb02abff624d0223cf0fef46c509014f
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
9 years agoProvide Bluetooth and BlueZ 5 41/4141/1
Manuel Bachmann [Wed, 21 Oct 2015 01:21:46 +0000 (01:21 +0000)]
Provide Bluetooth and BlueZ 5

Add "bluetooth" as an explicit DISTRO_FEATURE and,
as "bluez4" is the default choice, specify "bluez5"
which allows more modern features.

PulseAudio from Poky 1.7 always pulls BlueZ 4 if
Bluetooth is specified, thus creating build errors
unless we add a workaround for it.

Change-Id: I3e9f86c77f5971c0d71666f8decb7d3d3a0fdcb4
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
9 years agogtest: Backported from meta-openembedded 31/4131/1
Mikhail Durnev [Tue, 20 Oct 2015 10:17:34 +0000 (20:17 +1000)]
gtest: Backported from meta-openembedded

This is Google's framework for writing C++ tests.

The gtest 1.7.0 recipe was backported form meta-openembedded branch master

https://github.com/openembedded/meta-openembedded
commit ff5cda05c9caa0a1c8fc47e8ad5898acb7755399

Change-Id: Iad0c1de0f369ed916cf38f4efd5d2d5c98e263b0
Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>
9 years agoProvide Rygel Media Server 0.26.1 23/4123/4
Manuel Bachmann [Thu, 8 Oct 2015 11:49:18 +0000 (11:49 +0000)]
Provide Rygel Media Server 0.26.1

Rygel is a UPnP/DLNA audio-video media server, able to
share media files with devices through the network, and
also providing logic requird by DLNA players.

Rygel is best known as Tizen IVI's former Media Server, and
is also a base block for multimedia interfaces such as
GENIVI Media Manager.

We are here backporting recipes recently submitted to the
officiel "meta-openembedded" layer, most notably :

- libmediaart-2.0 : http://lists.openembedded.org/pipermail
/openembedded-devel/2015-October/103671.html
- gupnp-dlna : http://lists.openembedded.org/pipermail/
openembedded-devel/2015-October/103672.html
- libgee-0.8 : http://lists.openembedded.org/pipermail/
openembedded-devel/2015-March/100576.html
- rygel : http://lists.openembedded.org/pipermail/
openembedded-devel/2015-October/103673.html

(with some modifications - disabling gtk+3 e.g.)

and building Rygel by default via packagegroups, including
royalty-free codecs needed for basic functionality.

Change-Id: I017ca437a9be1c0b2cf6f3085da13efce90928c7
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
9 years agoMerge "Add bitbake's target for cross SDK"
Jan-Simon Moeller [Thu, 8 Oct 2015 08:04:37 +0000 (08:04 +0000)]
Merge "Add bitbake's target for cross SDK"

9 years agoMerge "Improve instructions to build AGL Distribution"
Jan-Simon Moeller [Wed, 7 Oct 2015 23:07:57 +0000 (23:07 +0000)]
Merge "Improve instructions to build AGL Distribution"

9 years agoAdd bitbake's target for cross SDK 15/4115/1
Tadao Tanikawa [Wed, 7 Oct 2015 12:31:56 +0000 (21:31 +0900)]
Add bitbake's target for cross SDK

Add recipe for a basic cross SDK image for baseline of AGL Distribtuion
for IVI profile.

To build SDK,
   $ bitbake agl-image-ivi-crosssdk

To install SDK (e.g. for porter),
   $ cd tmp/deploy/sdk
   $ ./poky-agl-glibc-x86_64-agl-ivi-image-crosssdk-cortexa15hf-vfp-neon-toolchain-1.0.0.sh

To use SDK (e.g. for porter),
   $ source /opt/poky-agl/1.0.0/environment-setup-cortexa15hf-vfp-neon-poky-linux-gnueabi

Change-Id: If0d55026dfc53ce45ed8e73fc9d996cad85771b1
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoImprove instructions to build AGL Distribution 09/4109/3
Tadao Tanikawa [Thu, 1 Oct 2015 12:31:57 +0000 (21:31 +0900)]
Improve instructions to build AGL Distribution

New build instructions are avairable.
 - Using 'repo' to download all repositories.
 - Only 1 shell script need to be run.

To install Repo:
    $ mkdir ~/bin
    $ export PATH=~/bin:$PATH

    $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
    $ chmod a+x ~/bin/repo

To build meta-agl/meta-agl-demo:
    $ repo init -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
    $ repo sync
    $ source meta-agl/scripts/envsetup.sh <porter|qemux86-64|...> [build-dir]
    $ bitbake <target>

Note: currently AGL Distro supports only 2 machines, porter and qemux86-64.

Note for porter: Anyone who want to build for R-Car2 M2 Porter should
download Grahics Drivers and Multimedia Softwares from Renesas.
If not, envsetup.sh will stop and show some instruction, then
please follow it.

Change-Id: I1213130333e9a316bc3be5913cf2511c0cfb2853
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoProvide Wayland-IVI-Extension 1.5.0 07/4107/3
Manuel Bachmann [Thu, 1 Oct 2015 13:33:15 +0000 (13:33 +0000)]
Provide Wayland-IVI-Extension 1.5.0

Wayland-IVI-Extension provides an additional shell plugin
for IVI-Shell, along with command-line tools and
demonstration applications.

Project site :
http://projects.genivi.org/wayland-ivi-extension

We make this recipe a member of the "ivi" package group,
which will always be built.
We do not activate it by default though, to facilitate
development and debugging at this point ; but add a comment
in "weston.ini" allowing to enable it easily.

Change-Id: Id1c788880d730ed612a55c19d320e61e170c792c
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
9 years agoReworking packagegroups of AGL Distribution 95/4095/2
Tadao Tanikawa [Fri, 2 Oct 2015 05:02:06 +0000 (14:02 +0900)]
Reworking packagegroups of AGL Distribution

The recipe files and thier names are reworked by design of AGL
packagegroup.

For more details, see 'Packagegroups' section in README.md.

Change-Id: Ie7cd0efd1200c1a78d30ad6a834b9482487f0089
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoProvide Weston IVI-Shell, run it on demand 03/4103/2
Manuel Bachmann [Tue, 29 Sep 2015 18:56:55 +0000 (18:56 +0000)]
Provide Weston IVI-Shell, run it on demand

Weston IVI-Shell provides a shell plugin for Weston,
mapping the GENIVI API (http://www.genivi.org) for
In-Vehicle Infotainment.

This is a code backport from Weston 1.9.0 "release".

This patch makes sure that Weston IVI-Shell always gets
built ; it will not be started, however, unless the builder
specifies the following in his "conf/local.conf" file :

IMAGE_INSTALL_append = " \
    weston-ivi-shell-config \
    "

or manually overwrites the "/etc/xdg/weston/weston.ini"
file with a correct one.

Change-Id: I033094aaf8ac2c6299bd354b362b24ffc9ed8577
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
9 years agoAdd systemd configuration to launch psplash 81/4081/1
Tadao Tanikawa [Fri, 25 Sep 2015 11:24:42 +0000 (20:24 +0900)]
Add systemd configuration to launch psplash

Change-Id: I11c704890440b6412698c5067effcafb8b4849e8
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoAdd systemd configuration to launch weston automatically 79/4079/1
Tadao Tanikawa [Fri, 25 Sep 2015 11:16:38 +0000 (20:16 +0900)]
Add systemd configuration to launch weston automatically

Add systemd configuration to launch weston automatically
while system booting.

Also pam is needed to be added DISTRO_FEATURES to launch
weston-terminal when weston is running by weston-launch
which is used by weston.service.

Change-Id: Id467c3fb19856299ccf80de21a16ae51fe433cc1
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoSystemd has been enabled as default 73/4073/5
Tadao Tanikawa [Fri, 25 Sep 2015 11:07:12 +0000 (20:07 +0900)]
Systemd has been enabled as default

The default init system become systemd instead of sysvinit.

The default init system of AGL Distro becomes systemd instead of
sysvinit which poky's default.

Change-Id: I8beb0b1a4778b91ae4ecd6c9d4699e7143020c8b
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoMerge "Support QEMU build on Poky > 1.7 (weston, gallium-egl)"
Jan-Simon Moeller [Thu, 24 Sep 2015 16:55:20 +0000 (16:55 +0000)]
Merge "Support QEMU build on Poky > 1.7 (weston, gallium-egl)"

9 years agoUpdate layer dependencies and build instructions 71/4071/2
Tadao Tanikawa [Mon, 7 Sep 2015 05:00:12 +0000 (14:00 +0900)]
Update layer dependencies and build instructions

To become compatible with meta-ivi 7.0.3, update 2 layer dependencies
has been updated, poky and meta-openembedded.

Also update build instructions for R-Car2 Porter in README.md
in response to the update of meta-renesas for supporting GStreamer.

Change-Id: Ia247dc98787f554fb954f230cddce76dcdf85162
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoSupport QEMU build on Poky > 1.7 (weston, gallium-egl) 75/4075/1
Manuel Bachmann [Mon, 21 Sep 2015 09:53:04 +0000 (11:53 +0200)]
Support QEMU build on Poky > 1.7 (weston, gallium-egl)

Allow to build newer versions of Weston.

"gallium-egl" disappeared from Poky > 1.7 (because it
disappeared from upstream Mesa, too). Still try to detect
and build it if it exists, but do not fail otherwise.

Change-Id: I01c3988e2da6a4fe66a80e5a5b1262cc6c1da727
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
9 years agoAdd a minimal set of packages for GStreamer1.0 62/4062/3
Tadao Tanikawa [Mon, 31 Aug 2015 09:50:24 +0000 (18:50 +0900)]
Add a minimal set of packages for GStreamer1.0

This configuration is for installing a minimal set of packages
to use GStreamer1.0 in meta-agl.

This configuration also switch 2 versions of GStreamer,
when building for QEMU, GStreamer1.0 1.4.1 is selected by AGL distro
configuration, for R-Car2 Porter, GStreamer1.0 1.2.3 by meta-renesas.

The installed plugins of GStreamer1.0 is also minimal, so when more
are needed, add appropriate packages to IMAGE_INSTALL in your
local.conf manually.

Change-Id: I379e75f2eaacd47e80ceafdb00e2dcfaeda0db1f
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoAdd the distro configuration 57/4057/3
Tadao Tanikawa [Mon, 31 Aug 2015 05:12:26 +0000 (14:12 +0900)]
Add the distro configuration

The distro configuration for AGL is added.
This file is cloned from poky/meta-yocto/conf/distro/poky.conf
and modified to fit AGL distro policy.

Change-Id: I49365c5e0d71e0561d5d9d1675d726bb064cbf0b
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoCopy metadata for GStreamer1.0 from Yocto GENIVI Baseline 56/4056/2
Tadao Tanikawa [Thu, 27 Aug 2015 09:42:22 +0000 (18:42 +0900)]
Copy metadata for GStreamer1.0 from Yocto GENIVI Baseline

There are 2 type of metadata for GStreamer when building
GDP/GENIVI baseline, meta-ivi (7.0).

One is metadata in meta-ivi which is to install ver.1.2.3 ,
the other is in poky/meta is to install ver.1.4.1.

By default, GENIVI baseline preferred 1.4.x by macro
PREFERRED_VERSION_ in poky-ivi-systemd.conf.

As a result, for QEMU, GStreamer1.0_1.4.x is used and it works.

On the other hand, Renesas BSP (proprietary multimedia packages)
requires GStreamer1.0_1.2.x and it override PREFERRED_VERSION_
then select to use 1.2.x instead of 1.4.x.

From the above, AGL Distro also need metadata for GStreamer1.0_1.2.x
to run software on R-Car Gen2 Porter board.

This is the first step to support GStreamer in AGL Distro.

All files in this patch are from:
    URL: git://git.yoctoproject.org/meta-ivi
    commit: 0d780d0cfd38694ae5e6f0198adcb72684b01acc

NOTE: This patch is not completed alone and some error will be
got when building with meta-renesas. Please wait a subsequent patches.

Change-Id: I8ce1ec2b1593fc59780495459afc8c642e2d80d6
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoAdd new Yocto layer for common packages to IVI systems 52/4052/2
Tadao Tanikawa [Mon, 17 Aug 2015 15:09:46 +0000 (00:09 +0900)]
Add new Yocto layer for common packages to IVI systems

'meta-ivi-common' is a new Yocto layer for common packages
to various Linux-based In-Vehicle Infotainment system.

The metadata to install common packages which developed by other OSS
projects (except Poky/OE) would be cloned here.  (This cloning is
tentative until a better way to refer those metadata is found.)

To add common packages which are already in Poky/OE into rootfs
of meta-agl, add them to packagegroup-ivi-common-* in meta-ivi-common.

And the common packages which used to be in packagegroup-agl-core-*
are moved to packagegroup-ivi-common-*. (weston and weston-examples)

Change-Id: I94ea7117029cc7769583358e1e2ec0aad2d21e5e
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoUpdate commit id for meta-renesas in README.md 50/4050/2 0.2015.33
Tadao Tanikawa [Fri, 14 Aug 2015 10:28:27 +0000 (19:28 +0900)]
Update commit id for meta-renesas in README.md

Because the commit id for meta-renesas in README.md has been
changed while reviewing, it is updated by correct one.

Change-Id: I88424b7c18ef18e759d3f24ddb523402dbbd0b67
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoAppended more detailed build procedure for R-Car M2 porter board 49/4049/1
Tadao Tanikawa [Fri, 7 Aug 2015 20:57:55 +0000 (05:57 +0900)]
Appended more detailed build procedure for R-Car M2 porter board

More detailed information to build agl-image-ivi for R-Car M2
porter board.

To build and run agl-image-ivi, see README.md first.

Change-Id: I395207dada72cd6b0e8a959f36b724ece72716ce
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoSupport R-Car M2 porter board 48/4048/2
Tadao Tanikawa [Thu, 6 Aug 2015 18:56:21 +0000 (03:56 +0900)]
Support R-Car M2 porter board

Now agl-image-ivi become bootable on R-Car M2 porter board.

For more information and instruction to build and run,
see README.md.

Change-Id: I1a99634695305546dc27d2fa8dc0e5bcdff3ab39
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoTweak 'agl-image-ivi.bb' and move weston to appropriate packagegroup 43/4043/4
Tadao Tanikawa [Thu, 23 Jul 2015 11:03:51 +0000 (20:03 +0900)]
Tweak 'agl-image-ivi.bb' and move weston to appropriate packagegroup

The recipe 'agl-image-ivi.bb' is now devided into 'agl-image-ivi.bb' and
'agl-image-ivi.inc' to refer from 'meta-agl-demo' later.

And 'weston', 'weston-init' and 'weston-example' are now in appropriate
packagegroup, 'packagegroup-agl-core-graphics'.

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoFix typo in README.md 42/4042/2
Tadao Tanikawa [Thu, 23 Jul 2015 09:30:13 +0000 (18:30 +0900)]
Fix typo in README.md

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoFix line feed code README.md
Tadao Tanikawa [Wed, 22 Jul 2015 02:03:26 +0000 (11:03 +0900)]
Fix line feed code README.md

Change line feed code, CRLF -> LF

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoMini-manual of `meta-agl`
Tadao Tanikawa [Wed, 22 Jul 2015 01:54:05 +0000 (10:54 +0900)]
Mini-manual of `meta-agl`

The mini-manual is added which describes brief explanation of layers
and how to build and run on QEMU.

For more information, see README.md

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoSupport wayland/weson with GSES on emulated machine, QEMU(x86-64)
Tadao Tanikawa [Wed, 22 Jul 2015 01:53:24 +0000 (10:53 +0900)]
Support wayland/weson with GSES on emulated machine, QEMU(x86-64)

To boot weston image on emulated machine QEMU, a new sub-layer
`meta-agl-bsp` is added.

When bitbake agl-image-weston or agl-image-ivi With this layer,
weston GLES can run on QEMU with GLES support.

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoThe starting point of layers for AGL Distribution v1.0
Tadao Tanikawa [Wed, 22 Jul 2015 01:52:27 +0000 (10:52 +0900)]
The starting point of layers for AGL Distribution v1.0

The `meta-agl` is the Yocto layer for Automotive Grade Linux Distribution.

There are some recipes which define bitbake's targets and packagegroups
of this distribution.

This is starting point, so some recipes are from meta-ivi or poky/oe-core
and others are framework or empty.

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
9 years agoInitial empty repository
Jan-Simon Moeller [Thu, 9 Jul 2015 15:11:18 +0000 (15:11 +0000)]
Initial empty repository