summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-03-23security-manager: Removes agl only adaptationsJosé Bollo4-330/+0
These adaptations are now part of meta-intel-iot-security and thus are no more needed here. Change-Id: I0acfb3b7ea572b9805c2d53f70ea0eab0026cdae Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-14Upgrade to Wayland/Weston 1.9.0Manuel Bachmann12-2597/+304
Yocto 2.0 ("Jethro") provides Wayland and Weston 1.8.0; manually upgrading to 1.9.0 does not break compatibility with existing frameworks (Qt..), while at the same time allowing easier integration of mandatory components such as Weston IVI-Shell and Wayland IVI Extension. We can thus in the same pass remove backport patches for these 2 components. Here is the related discussion on the mailing list : http://lists.linuxfoundation.org/pipermail/ automotive-discussions/2016-March/001623.html Change-Id: I874eac50ff64d8b93e32910b6f1297002faa06a5 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-03-14Add package group and bitbake target for Quality AssuranceTadao Tanikawa6-0/+44
New packagegroup and bitbake target are added which includes utilities for testing distribution. It is assumed to be used in the Quality Assurance of AGL Distro. New package group: packagegroup-agl-test packagegroup-ivi-common-test New target: agl-image-ivi-qa Change-Id: Ifb20d8a140dd71de6c464499e1b07fd9a0e36457 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-03-14Temporary build fix for the wandboardJan-Simon Möller2-0/+15
This temporary fix conditional to the wandboard is used to overcome a build breakage in the examples of wayland-ivi-extension. Change-Id: If5eccbce94e8aeb73cf303c72284510f966714f3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-02-19Allow alias names in envsetup.sh - here for minnowboardJan-Simon Möller1-4/+12
This commit allows us to define also alias names for MACHINE. TEMPLATECONF moved down for this. Change-Id: Ibec9882ac5a7c3bf734ead8a05b452bb655bbeeb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-02-09Add wandboard as target boardJan-Simon Möller4-5/+292
This patch adds the wandboard as i.mx6 target. Change-Id: Iae25b991d475ce321b4192cbac130ad389021c72 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-02-08Fix error by envsetup.sh when reuse a terminalTadao Tanikawa1-0/+1
When reuse a terminal between defferent targets, poky's setup script report error and setup is terminated. E.g. Setup for qemu first, then setup for porter. $ source meta-agl/scripts/envsetup.sh qemux86-64 build-qemu $ (bitbake or somthing) $ cd .. $ source meta-agl/scripts/envsetup.sh porter build-porter ERROR: OE-core's config sanity cheker detected a potential misconfiguration. ... Change-Id: Ie8e6f723d447b1ea53ada333f03bbfb4f03433c4 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-02-03Remove Yocto 1.7 compatibility cruftsManuel Bachmann18-363/+5
As we are now based upon Yocto 2.0, we can remove lots of backported recipes and contextual patches, which only made sense in the context of Yocto 1.7. Here is the rationale behind each change: - gupnp-dlna: already in meta-openembedded/jethro - ofono: BlueZ 5 compatibility is now working - rygel: already in meta-openembedded/jethro - libgee: already in meta-openembedded/jethro - pulseaudio: BlueZ 5 compatibility is now working - lightmediascanner: already in meta-openembedded/jethro - gpsd: BlueZ 5 compatibility is now working - libmediaart: already in meta-openembedded/jethro - gtest: already in meta-openembedded/jethro - wayland-fits: already in meta-openembedded/jethro PS: "meta-openembedded/meta-efl" is now required because we require the "lightmediascanner" recipe, which is unrelated to EFL but happens to live there. Change-Id: Ib46d152f80b1a8ee5cf848a41e408ece28e6ec65 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-02-02Provide automatic DHCP configuration for Ethernet adaptersManuel Bachmann2-5/+14
systemd now provides the logic necessary to obtain IP connectivity with its networkd/resolved daemons. Let us enable this feature for wired adapters : that is, those prefixed with "eth*" (Renesas R-Car) or "en*" (QEMU). Change-Id: I8e71b8d1f22364ffa8ee0c33769a8dba9e21f71a Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-21Update build configurations for MesaTadao Tanikawa2-20/+5
No longer Gallium EGL driver (gallium-egl) is needed. Change-Id: Ic3d9abc1c3c0a25a3d4ec9daa330646b8c86e291 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-01-21Update linux kernel for QEMUx86-64 and Minnowboard MAXTadao Tanikawa3-9/+11
Update linux kernel for QEMUx86-64 and Minnowboard MAX to compatile with YP 2.0 jethro's. - On QEMU in jethro, mouse not work with linux-3.17 - KVM becomes avairable when CPU support it E.g. command lines to run qemu with kvm and serial console $ cd tmp/deploy/images/qemux86-64 $ runqemu bzImage-qemux86-64.bin \ agl-demo-platform-qemux86-64.ext4 \ qemuparams="-m 512 -usbdevice tablet" serial kvm Change-Id: Ia35b8d5e25c03094994041eaf399b8476e6a6b6c Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-01-21improves install mode settingJosé Bollo5-7/+7
When using install, the default mode value is 0755 that installs the files as executables. This patch removes that unexpected mode. Change-Id: I73e902a8907f98e94b5abaaf81d6c35ad98b0eb0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-21Update distro conf to be compatible with YP 2.0 jethroTadao Tanikawa1-54/+35
AGL distro conf (poky-agl.conf) is updated to be compatible with YP 2.0 jethro. It is based on poky/meta-yocto/conf/distro/poky.conf. Change-Id: I7d7924ebfd44cd3a3641a4e944bd9fbc0e26565d Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-01-20Provide template configuration for each machine or boardTadao Tanikawa10-19/+591
In previous patch, meta-intel layer is added to BBLAYERS for both QEMU(qemux86/qemux86-64) and Minnowboard MAX(intel-corei7-64) although QEMU target doesn't need it. It is preffered to prepare a template configuration for each machine or board. Change-Id: I19bd4e66e8375a1760d9850f4a056651ae0fa6ca Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-01-18Migrate IVI-Shell backport to Weston 1.8.0 (Yocto 2.0)Manuel Bachmann19-10668/+2401
(NOTICE : this is the last patch necessary to fully migrate to Yocto 2.0) As newer Poky "Jethro" is now providing Weston 1.8.0, adapt IVI-Shell 1.9.0 backport to it. Remove unnecessary patches (touchscreen support for Qt, panel toggle) which are now upstreamed. Make the systemd service recipe name more generic. Change-Id: Icaad3f40b29617bcb33ac235bbe3c65f7f4bdbd7 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-15Support MinnowBoard MAXTadao Tanikawa8-0/+24
To configure for MinnowBoard MAX, use 'intel-corei7-64' as MACHINE. E.g. set up build environment by meta-agl's script: $ source meta-agl/script/envsetup.sh intel-corei7-64 [build-dir] There are instructions to write image into SD card and boot system at "http://elinux.org/Minnowboard:MinnowMaxYoctoProject". Change-Id: I19062482848bb6157791ab698bf92984e24a6d9a Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-01-13QEMU kernel: add and fix fanotify API (SPEC-89)Manuel Bachmann3-1/+213
fanotify API is currently enabled on meta-renesas kernel, and is required by our LTP tests (see mention on https://jira.automotivelinux.org/browse/SPEC-89), but was not available on QEMU kernel. This creates a gap which may break client applications. We also add the patch to fix issue described at https://jira.automotivelinux.org/browse/SPEC-89. Change-Id: Ic201eec7d91553db75f5a5783c47fe1a7d8f7c86 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-12pulseaudio: fixup build-time dependencies stringManuel Bachmann1-1/+1
Fixup a missing space in the generated DEPENDS_append Change-Id: Iceafb8528eda6446d5b9b6d23c0c1b8e816ef63d Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-12Add dhcpd DHCP server (SPEC-84)Manuel Bachmann1-0/+1
As requested by : https://jira.automotivelinux.org/browse/SPEC-84 add dhcpd for corresponding LTP test. (systemd service is present, but not enabled by default) Change-Id: I8f6dad39f36b51b1614a1fe589c8a6e655da2ebb Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-12HVAC plugin: support Yocto 2.0, merge AGL patchesManuel Bachmann2-50/+1
This commit : - fixes CMakeLists.txt for CMake 3.3.1 (Yocto 2.0) ; - merges Jan-Simon MÃller's AGL patch for cross-compilation (gerrit.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl .git;a=commit;h=8c7ab6abb2baae052ac5477ae45a35460da6b2df). Change-Id: I317eade139d0c7f637bb603fd9301a0a5ce134c3 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-12rygel: Fix a name errorJosé Bollo1-2/+3
The service should be rygel not lightmediascanner. Change-Id: I7f6641e48324fa7df287465f958e67823b659e70 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-07ofono: fixup build-time dependencies stringYannick Gicquel1-1/+1
Fixup a missing space in the generated DEPENDS_append Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-01-04Fix hvacplugin cross-compilation issue due to wrong path in CMakeLists.txtJan-Simon Möller2-0/+49
This patch fixes a cross-compilation issue with hvacplugin. The absolute path set for Boost_INCLUDE_DIRS is not cross-compilation save. According to https://cmake.org/Wiki/CMake:How_To_Find_Libraries we better use find_package(Boost REQUIRED) . Otherwise bitbake might fail with: ERROR: QA Issue: hvacplugin: The compile log indicates that host include and/or library paths were used. Please check the log .../hvacplugin/0.1-r0/temp/log.do_compile' for more information. [compile-host-path] ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa Due to: cc1plus: warning: include location "/usr/include/boost" is unsafe for cross-compilation [-Wpoison-system-directories] Change-Id: I114962b60fdb0162f9e9a88964705cbbba901278 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2015-12-15meta-agl: AMB source plugin to control HVAC added by Microchip/K2L, replace ↵Yury Asheshov3-0/+34
of change 4423 1. The source of the JVAC AMB plugin into meta-agl 2. GPLv2 3. Filenames fixed (hvacplugin) 4. Bitbake receipe added Change-Id: I3fb92bafc616777735695212a793c851657cbf1b Signed-off-by: Yury Asheshov <yury.asheshov@k2l.de>
2015-12-11Disable blinking cursor when booting with fb consoleTadao Tanikawa1-0/+1
When running on QEMU or VM, blinking cursor of console corrupt screen. To fix this, it is stopped just before psplash launched. Change-Id: I6e3cc49a6b65f3c70c246f315314710bd090ce13 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-12-11Fix issue of weston shell on top of tty(console) running on qemuTadao Tanikawa1-0/+1
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>
2015-12-11Fix the recipe of westonTadao Tanikawa1-6/+7
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>
2015-12-11Rygel becomes systemd user serviceTadao Tanikawa2-10/+16
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>
2015-12-11Lightmediascanner becomes systemd user serviceTadao Tanikawa2-9/+16
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>
2015-12-11security: integration of security-managerJosé Bollo4-0/+330
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>
2015-12-09AMB (automotive-message-broker): RDEPEND on python-cursesManuel Bachmann1-1/+1
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>
2015-12-09AMB (automotive-message-broker): fix pkg-config header pathManuel Bachmann1-0/+1
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>
2015-12-09Add variables for path of systemd's unit filesTadao Tanikawa1-0/+5
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>
2015-12-09D-Bus User Message Bus (Session Bus) is enabled from systemdTadao Tanikawa4-0/+50
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>
2015-12-08AMB (automotive-message-broker): enable gpsnmea pluginManuel Bachmann3-1/+13
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>
2015-12-08Add touch_frame events to Weston 1.5.0Risto Avila2-0/+66
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>
2015-12-05Bugfix for envsetup.sh script.Jan-Simon Möller1-2/+2
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>
2015-12-01Provide RTL-SDR 0.5.3 (RTL2832U chips, AM/FM radio support)Manuel Bachmann2-0/+18
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>
2015-11-16AMB (automotive-message-broker): allow building with Qt5Manuel Bachmann2-29/+42
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>
2015-11-16AMB (automotive-message-broker): fix GPSd dependencyManuel Bachmann2-10/+7
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>
2015-11-16Fix build issues while bitbake without meta-qt5Tadao Tanikawa2-0/+31
Change-Id: I628f4b165b650bd570f7928987508f0d8a55ab26 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-11-13Update AMB with amb-qt(qml) plugins to latestTadao Tanikawa10-9/+1151
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>
2015-11-13AMB (automotive-message-broker): depend on python-misc/jsonManuel Bachmann1-0/+1
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>
2015-11-09Security: Adding the library xmlsecJosé Bollo1-0/+40
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>
2015-11-08Fix compilation of AMB if icecc is installed on the build machine.Jan-Simon Möller1-2/+8
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>
2015-11-07rygel: add systemd serviceLeon Anavi2-0/+27
Change-Id: I30193ff62fdea97c2cd100a031c60458879d11c8 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2015-11-07lightmediascanner: add systemd serviceLeon Anavi2-0/+27
Change-Id: I868d15c4d17c30c2807ce5f3d85adc1fefc6f90e Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2015-11-06Fix Weston IVI-Shell layout on Renesas R-Car E2 SilkManuel Bachmann3-1/+51
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>
2015-11-06Make Weston desktop-shell panel configurable (backport)Manuel Bachmann3-0/+105
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>
2015-11-05core: systemd: enable networkdYannick Gicquel1-0/+3
Change-Id: I6c84c593b8156a4abf4303f3a82763807eda9281 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>