AGL/meta-agl.git
5 years agoUpdate distro configuration for GG rc3 6.99.3 57/19357/3 6.99.3 guppy/6.99.3 guppy_6.99.3
Jan-Simon Möller [Tue, 25 Dec 2018 11:09:43 +0000 (12:09 +0100)]
Update distro configuration for GG rc3 6.99.3

We cut GG rc3 after the CES integration session.

Notable changes:
- Microphones working
- Bluetooth
-- A2DP in mediaplayer
-- HFP (one call due to pending bug)
- Mediaplayer and Radio ramping (radio lower prio)
- btwilink disabled on kingfisher (unstable)
- agl-demo-preload feature (load maps, POI api key, ...)
- nfc improvements

Change-Id: I978dd02a0b4d5aefcfc0d7d46287b27bc1f1d396
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoRevert "Add afb-helpers & app-controller library recipes" 59/19359/2
Jan-Simon Moeller [Tue, 25 Dec 2018 11:19:37 +0000 (11:19 +0000)]
Revert "Add afb-helpers & app-controller library recipes"

This is due to the dependency on QT (cmake_qt5) which breaks the build of non-qt5 targets.

This reverts commit 73351742e32772a19f62086cea5a5e7a38fe02f7.

which is https://gerrit.automotivelinux.org/gerrit/#/c/19225/ .

Change-Id: I81b0638ab34dad59d3fe5522c0abe8e9d4f3f6c1

5 years agobump bluez-alsa to master (brings Ofono support) 23/18723/5
Thierry Bultel [Tue, 11 Dec 2018 14:57:41 +0000 (15:57 +0100)]
bump bluez-alsa to master (brings Ofono support)

This takes the mandatory commits to have HFP support over Ofono
(56fcc3 from 2018-12-04)
Also adds the needed options to the daemon in the service file
The license changed due to change of year and author list

It was bogus to have hcitop in PACKAGECONFIG.
Namely, this is not a feature in yocto, but only an optional
feature of bluez-alsa (that helps to perform bandwith measures)
However, Ofono is one.

This also adds hcitop and rfcomm tools in development images.
Those tools help to diagnose bt issues.

Change-Id: I426dbee5aa8911c9c64f4ec7399528d149dc651b
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoAdd afb-helpers & app-controller library recipes 25/19225/2
Romain Forlot [Thu, 20 Dec 2018 14:59:47 +0000 (15:59 +0100)]
Add afb-helpers & app-controller library recipes

Migration for afb-helpers and app-controller from submodule to
library. This adds the library in the AGL SDK.

Bug-AGL: SPEC-1689

Change-Id: I95b1e66b2a363ce1bbea7cc8989992a7b592d264
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoconnman: Ignore MOST ethernet interfaces 33/19033/3
Scott Murray [Mon, 17 Dec 2018 01:39:14 +0000 (20:39 -0500)]
connman: Ignore MOST ethernet interfaces

On systems like the CES demo units with MOST adapters, the virtual
ethernet interface created by MOST interferes with connman's
management of the shared connection of the Wi-fi and main ethernet
interface, eg. the MOST ethernet being present results in the Wi-fi
not auto-connecting at boot.  To avoid this, ignore the "meth"
interfaces by adding them to the blacklist.  This seems reasonable,
as they are unlikely to be used for internet connectivity.

Change-Id: I9b56333df4b4d7e128a765855065efce58abb734
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoconnman: Tweak main.conf for cluster demo support 31/19031/3
Scott Murray [Fri, 7 Dec 2018 16:49:15 +0000 (11:49 -0500)]
connman: Tweak main.conf for cluster demo support

When running the cluster demo, we do not want the second ethernet
interface managed by connman, as it will be used for a separate
connection to the cluster board, and should not be considered part
of the shared connection pool.  To do this, NetworkInterfaceBlacklist
is tweaked if agl-cluster-demo-support is enabled.

Change-Id: Iab8c17662bb7f5b06b5eda6c97dd32a6c5ef3f5a
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoweston: add weston-ready 29/19029/3
Scott Murray [Fri, 7 Dec 2018 16:43:59 +0000 (11:43 -0500)]
weston: add weston-ready

Weston seems to take variable amounts of time to initialize on startup
depending on configuration (e.g. gst-record feature being enabled for
cluster support).  To avoid windowmanager and its dependencies failing,
patch LayerManagerControl so that errors can be detected; then use it
in a new script, weston-ready, to detect if Weston is functional.  A
corresponding systemd service unit is also added so that things can
use it in their dependencies.

Change-Id: I5711e7f9d9a891e1c7a160b5d65711bd6e7fee03
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoAdd instrument cluster profile definitions 27/19027/3
Scott Murray [Sat, 24 Nov 2018 21:26:11 +0000 (16:26 -0500)]
Add instrument cluster profile definitions

Add definitions for instrument cluster profiles for plain Wayland/Weston
based images and images that also include Qt5 support.  Due to the
current requirement that profiles only be a superset of one parent
profile, the Qt5 profile inherits from agl-profile-graphical-qt5 and not
agl-profile-cluster as one might expect.  This is due to some of the
required recipes and bbappends for Qt5 usage only being available in the
meta-agl-profile-graphical-qt5 layer.

Change-Id: I863b35bdc009775ac204a720bbc2cc85e71c268a
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoUpdate weston-ivi-extension 25/19025/3
Scott Murray [Tue, 11 Dec 2018 23:53:21 +0000 (18:53 -0500)]
Update weston-ivi-extension

The version of weston-ivi-extension that was added to the
meta-agl-profile-graphical layer in commit 7b56b77 (a cherry-pick from
flounder) missed some updates that were made to the copy in meta-agl-demo
in master after flounder was branched.  Update the patches and recipe to
match the current version from meta-agl-demo so the latter can be removed.

Bug-AGL: SPEC-1730

Change-Id: I8ee2e68679a74b5dbc994ff977c11fa78e9c75b2
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agodocs: add yaml book 85/19285/2
Frederic Marec [Wed, 19 Dec 2018 14:43:13 +0000 (15:43 +0100)]
docs: add yaml book

Bug-AGL: SPEC-1988

Change-Id: Ia8fed93a05cef7a018900199b2527e04aa6e8cf5
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agokernel/4a: support more than 8 audio cards 91/19191/2
Stephane Desneux [Thu, 20 Dec 2018 11:14:03 +0000 (11:14 +0000)]
kernel/4a: support more than 8 audio cards

When using Kingfisher + M3ULCB + MOST network devices, it's possible
to reach the max number of statically allocated soundcards.

This patch enables CONFIG_SND_DYNAMIC_MINORS which allows to declare
more than 8 soundcards.

Change-Id: Ibe0f75e00c343d7adfcdae0661e893fb39fc4169
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoBump afb-test 95/19095/2
Romain Forlot [Wed, 19 Dec 2018 09:57:03 +0000 (10:57 +0100)]
Bump afb-test

cdaad5d - Cleaning redundant link option specified
329d115 - little memleak fix.
61f3565 - Handle more argument's type when making a subcall
1e4cc59 - Clean way to wait for an api's event
13c270a - Limit the monitoring to events not to the requests
ebd628a - Add new assert verb
df71761 - Bump app-controller-submodule
012fd23 - Move autobuild to top tree
0e2d5eb - Change exit message depending on exit reason
4d9b8f8 - Packaging: Set project version using command-line
27a69ea - Change .gitmodules following submodule migration
25003dd - Improves packaging debian rules
186580d - Fix packaging for native build
2f36542 - Docs reorganization and update
2a7b4de - Migrate app-templates to CMake module
a50f22b - Adjust lib dependencies
91e90e5 - Add packaging materials
afa8dec - Clean the code.

Change-Id: I12efe3e8cf754a67880e05b51b668d284fbe7f7d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoBump low-level-can-generator 93/19093/2
Romain Forlot [Wed, 19 Dec 2018 09:56:11 +0000 (10:56 +0100)]
Bump low-level-can-generator

Change the version to stick to AGLVERSION value

9a441da - Adds CAN FD flag on message object.
e2a6bd1 - Ability to use custom encoder for CAN signals
6a3e853 - Migrate app-templates to CMake module
a422520 - Add boolean to set receive state of diagnostic message.
d844c48 - Fix: git repo url in documentation.
92f9538 - Change default installation directory

Change-Id: Ibdfb2f82d4211d4c9b1955c8524c424599bc07a4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoBump cmake-apps-module 91/19091/2
Romain Forlot [Wed, 19 Dec 2018 09:55:00 +0000 (10:55 +0100)]
Bump cmake-apps-module

Change the version to stick to AGLVERSION value

f3ce787 - Avoid a target to link against itself
d07e9a1 - Add option to preserve links during copy
3987620 - Tiny fix about packaging for openSUSE distribution
918ec8e - Point to SDK sysroot files first instead of native
c631646 - Install docs and sample files in a separate dir
c815f74 - Link with defined project libraries dependencies
95c2479 - Update installation abstract instructions
f7307e9 - Revert "doc: Improve formatting"
60b0f45 - doc: Improve formatting
b895ea4 - Allow overwritting the installation directory
742695d - Fix crosscompile installation

Change-Id: Ia520aba9a401251d1a5d8ae3cd7b9ab28403f133
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoBump agl-service-signal-composer 89/19089/2
Romain Forlot [Wed, 19 Dec 2018 09:52:51 +0000 (10:52 +0100)]
Bump agl-service-signal-composer

74c0e1f - Use specific binder's event handlers
e1ef945 - Binding migration to v3
71507d3 - Change .gitmodules following submodule migration
a3e28fb - Handle new metadata signal's field
626bf1b - Update basic configurations files
5f6ce66 - Migrate app-templates to CMake module
44c1842 - Use feature 'required-binding'
91dcc3a - Fix: lua detection for debian like distro
fe8f535 - Add tests on sources injection at runtime
54aaf89 - Reorder and format tests
6636326 - Fix wrong JSON unpack type
c6fd6ab - Use the unified script to launch tests
644318f - More accurate (un)subscribe answer
7138e18 - Handle errors on signal initialization
e0655ca - Fix: finding JSON file even if absolute path given
56237d3 - Update controller submodule
07f57e2 - txc-binding: migration to AFB_BINDING_VERSION 3
2e4bbe0 - doc: Changed doc to new format
77973a7 - txc-binding: in conf files, rename api to txc
217bb01 - afb-test.sh: launch 2 binders for test
8264bd8 - Missing API_NAME for the test widget
fbdf29b - Fix: segfault at object addition

Change-Id: I7ee7dcb9fec49504c6fbd4b91d4d5e32ac0d8d5d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoBump agl-service-can-low-level 87/19087/2
Romain Forlot [Wed, 19 Dec 2018 09:50:54 +0000 (10:50 +0100)]
Bump agl-service-can-low-level

97a08a7 - Smalls improvements
e190b7b - Simpler handling of binding subscriptions
9cef981 - Filter tests improvements
ff089ab - Cleaning the code for now unused functions
ea35eab - CAN FD implementation
b049485 - Adds more tests about writing on CAN bus
99682db - Rework writing CAN message on CAN buses.
37379a6 - Use newly generated cpp file with default encoders
3275f39 - Handle several can_frame in a BCM message
2daa033 - Adds a new function to build from a json_object.
6d52fb8 - Adjust "encoder" signature to fit cpp usage
731624a - Code format and style changes
4b9b30a - Update gitignore
5773aa8 - Added afb-helpers submodule
515e55e - Change .gitmodules following submodule migration
d43fa62 - Migrate app-templates to CMake module
1b3655d - Migration to binding v3
3331cf9 - Updated app-templates submodule
9fd22ed - Change the project name
87962da - Use feature 'required-binding'
513cb7f - Use the unified script to launch tests
390745b - doc: Changed doc to new format
3e6d3fa - Reach fixture files in all cases.

Change-Id: I5134c716c480cbd68142cc35ce9ee68fe62e8886
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoSupport external RTCs for boards without it 67/19067/3
Jan-Simon Möller [Tue, 18 Dec 2018 23:48:33 +0000 (00:48 +0100)]
Support external RTCs for boards without it

We add the rtc driver as module so we can attach e.g.
http://wiki.seeedstudio.com/Grove-RTC/

Add the necessary drivers as module.

Change-Id: Iacb8247f9e2edccabe854284672353a847a27e0d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agolinux-renesas: Add smack patches to R-Car 35/18835/5
José Bollo [Tue, 18 Sep 2018 18:53:41 +0000 (20:53 +0200)]
linux-renesas: Add smack patches to R-Car

The patch for CGROUP2 is important for running
without capabilities.

Bug-AGL: SPEC-2006
Bug-AGL: SPEC-1016

Change-Id: I0dfec85bdc66b220e20776501522e71579e6a742
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agolinux-agl-4.14: Backport of Smack patch for cgroup2 33/18833/5
José Bollo [Wed, 28 Feb 2018 18:26:57 +0000 (19:26 +0100)]
linux-agl-4.14: Backport of Smack patch for cgroup2

This patch allows to correctly handle the cgroup
filesystem based on CGROUP2.

The patch is made available through the file
linux-agl-4.14.inc

Bug-AGL: SPEC-1016
Bug-AGL: SPEC-2006

Change-Id: I2dba8bf0341d699c66a098c18fcb22a65b930e58
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agolinux-agl-4.14: Backport of Smack patch for keys 31/18831/5
José Bollo [Wed, 21 Feb 2018 09:18:46 +0000 (10:18 +0100)]
linux-agl-4.14: Backport of Smack patch for keys

This add a patch that allows to handles keys with
keyctl when Smack is active.

The patch is not directly enabled but is made
available in the file linux-agl-4.14.inc that
can be included.

Change-Id: I6ad74b1119190e093eaa5878c55cd233b181346f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoweston: Create really shared files 29/18829/5
José Bollo [Fri, 13 Oct 2017 12:47:13 +0000 (14:47 +0200)]
weston: Create really shared files

Last time it was discussed, this patch was not upstreamable.
But it is needed for a reason that still have to be investigated.
Nevertheless the patch is enough simple to be maintained
while waiting for the full investigation/resolution.

Change-Id: I47b17c7aa9ca5c495267259a15caacef50b4b324
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoconnman+bluez5: Update rights for smack systems 27/18827/5
José Bollo [Wed, 12 Dec 2018 13:27:48 +0000 (14:27 +0100)]
connman+bluez5: Update rights for smack systems

Reading the file /etc/resolv.conf that is linked to
/run/connman/resolv.conf is not possible for common users.

This changes add the setting of the directory /run/connman
that allows common applications to read that file.

To achieves this goal, that changes use the intended
tuning mechanism of systemd instead of using sed.
This is cleaner. Thus this as been adapted for bluez5 too.

Bug-AGL: SPEC-2006

Change-Id: I3d2a708be2a5c62664bfcf90757e9e5c080d6179
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agosmack-system-setup: Update udev rules 25/18825/5
José Bollo [Wed, 12 Dec 2018 13:24:11 +0000 (14:24 +0100)]
smack-system-setup: Update udev rules

Add rules to correctly tag devices with *.
The most general rule is that devices should be
protected using DAC rules (user and group).

Bug-AGL: SPEC-2006

Change-Id: Ie18f79353f8f7645c2b615a359c65ec3a6984958
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoRemove 4.9 patchqueue for new 4.14 kernel in meta-ti 17/18917/2
Jan-Simon Möller [Fri, 14 Dec 2018 15:50:06 +0000 (16:50 +0100)]
Remove 4.9 patchqueue for new 4.14 kernel in meta-ti

We update meta-ti to 4.14, thus we do no longer need the 4.9 patch queue of smack.

Change-Id: I20d89c75029f29b0e6827979e70e85614d7a2e40
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agosystemd: Cleanup of recipe of meta-security 73/18873/3
José Bollo [Thu, 13 Dec 2018 13:33:55 +0000 (14:33 +0100)]
systemd: Cleanup of recipe of meta-security

The recipe for systemd that belongs to meta-security
was carrying lot of history for probably no purpose.

If history is needed, curious people can still refer to
https://github.com/intel/meta-intel-iot-security

Change-Id: I8762da7feb2084de2a97025498eb47ef815c7954
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agosystemd: Refactor build using smack-system-setup 23/18823/4
José Bollo [Wed, 12 Dec 2018 11:03:43 +0000 (12:03 +0100)]
systemd: Refactor build using smack-system-setup

This changes introduces the new recipe

  meta-security/recipes-core/smack-system-setup/smack-system-setup_1.bb

The purpose is to split the recipe of systemd in two
parts:

 - A part specific to systemd and only systemd
   It actually includes Smack patches for systemd
   and a renaming of udev-rules.

 - A part more oriented on putting the system in
   order to run with Smack activated.

At the end, it will probably save many rebuilds as
systemd recipe will evolve less in relation with the
setup of the system.

As example, the udev rule file "55-udev-smack-default.rules"
that setup udev rules specific to smack is no more brought
by systemd but by smack-system-setup.

Also at the same time, some cleanup and refactoring is
done. Note that the ".bbappend" file for systemd is
now fixed in version and is including a common file file
that records the several known versions. No cleanup was
made on the versioned patch for the sake of memory.
The cleanup of the history is to be achieved later...

Bug-AGL: SPEC-2045

Change-Id: Iacf772142a381729dfdbe98d133a3effc4d6cf68
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoRemove patch in newer ti-staging kernel 83/18883/2
Jan-Simon Möller [Thu, 13 Dec 2018 20:04:30 +0000 (21:04 +0100)]
Remove patch in newer ti-staging kernel

The pending BSP update already has this patch applied (can be reverse-applied).
Thus remove it.

Change-Id: If3172270f40b21bd448c7113c7ab6f2a8f82023c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoaf-binder: Upgrade 75/18875/1
José Bollo [Wed, 12 Dec 2018 12:10:58 +0000 (13:10 +0100)]
af-binder: Upgrade

This upgrade includes 4 commits:

 * bc247d4 globset: Introduce globset for event handling
 * 13a5afe Fix deprecation warnings for older GCC versions
 * 3f2e3d9 afb-hook: Improve reentrancy of hooking
 * 9295a52 afb-proto-ws: Add error report

Change-Id: I91a493f1a2288a27f311171dc8b9ebe29c8a24a2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoProvide fallback time servers to connman 99/18699/1
Henrique Ferreiro [Fri, 23 Nov 2018 00:24:41 +0000 (01:24 +0100)]
Provide fallback time servers to connman

connman NTP client needs some fallback time servers in case it cannot
get one from the DHCP server.

Bug-AGL: SPEC-1925

Change-Id: I904f49f7d9428a2cc4e90ccea387bf4892f4d38e
Signed-off-by: Henrique Ferreiro <hferreiro@igalia.com>
(cherry picked from commit 803f03daebb58b3a26462df35f001637f2ddf9a0)

5 years agoTweak agl-profile-graphical packagegroups 15/18615/2
Scott Murray [Mon, 19 Nov 2018 13:45:27 +0000 (08:45 -0500)]
Tweak agl-profile-graphical packagegroups

To more easily allow using Weston in profiles derived from
agl-profile-graphical, rename packagegroup-agl-image-weston to
packagegroup-agl-graphical-weston and tweak the definitions of it and
packagegroup-agl-profile-graphical so that non-Weston related packages
are only included via from packagegroup-agl-profile-graphical.  The
contents of agl-image-weston and agl-demo-platform remain unchanged
after these changes.

Bug-AGL: SPEC-1730

Change-Id: I4915bb896cc11ea49103400795a65c92b5889110
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 4f7222e10cbe09ea3231eab912857fc7ba9d1c12)

5 years agoaf-main: Upgrade 87/18587/2
Jose Bollo [Wed, 5 Dec 2018 09:24:07 +0000 (10:24 +0100)]
af-main: Upgrade

This upgrade includes 3 commits:
 * 1b1399e Improve port allocation
 * 61b0cc7 Landing page for all APIs
 * 7ecf0c1 Fix: retrieve the 'appid' correctly

Change-Id: Ib59b46faf1ed69431e46b7ed5ef3b85cb38f2876
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
5 years agoPost rc2 bump of distro config 45/18645/1
Jan-Simon Möller [Sun, 9 Dec 2018 10:10:11 +0000 (11:10 +0100)]
Post rc2 bump of distro config

we're heading towards rc3 now.

Change-Id: I294f40e5c6f779a6ee7db984c2d475e9e230f54d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoAdd platform-info binding 15/18015/4
Romain Forlot [Thu, 15 Nov 2018 16:57:20 +0000 (17:57 +0100)]
Add platform-info binding

Initiate a new binding development providing a simple way
to get platform information like hardware capabilities or
build informations.

Bug-AGL: SPEC-1917 SPEC-720

Change-Id: I89e0f802be407fda9f86d38d69f956e036a45016
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoFix missing ivi-id-agent 07/18507/2
Tadao Tanikawa [Mon, 3 Dec 2018 06:12:32 +0000 (06:12 +0000)]
Fix missing ivi-id-agent

The ivi-id-agent was missing because its configuration wasn't
updated although it is changed by the following patch of
wayland-ivi-extension in meta-agl-demo.

  22c9537 wayland-ivi-extension: Added ivi-id-agent by mtey

Change-Id: I6faf18735cc0a2b7caea97a77fab3e11eaedcc49
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
5 years agoAdd weston-ivi-extension to meta-agl-profile-graphical 13/18613/2
Scott Murray [Wed, 14 Nov 2018 03:33:07 +0000 (22:33 -0500)]
Add weston-ivi-extension to meta-agl-profile-graphical

Add weston-ivi-extension recipe files removed from meta-agl-demo
repository to meta-agl-profile-graphical layer. This allows using
weston-ivi-extension in images other than agl-demo-platform.

Bug-AGL: SPEC-1730

Change-Id: I08a6101484ac52fc2530b61390b7bd0b1bfa8f80
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 160b986d4afcccc47ee5e1c73ff4a57d6e341776)

5 years agoweston-ini-conf: update gst-record logic 17/18617/1
Scott Murray [Tue, 4 Dec 2018 22:18:21 +0000 (17:18 -0500)]
weston-ini-conf: update gst-record logic

The logic to handle the "virtual-output" and "gst-record"
DISTRO_FEATURES seems to be unfinished, this update replaces the
"virtual-output" usage with just "gst-record", as the former does not
seem to exist in the AGL codebase.  The virtualoutput.cfg file has been
updated with the arguments from the virtual output section in the
replacement .ini file from the mapviewer-demo recipe in meta-agl-demo,
but some further investigation is required into tweaking things to
produce a final .ini file that matches that one.  These changes are a
first step to getting to that end goal.

Change-Id: Ib99e0717ed1e66016c6e936a3c398addcb6adfb7
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 262b016588cb153520362cf0aed3715e43d86672)

5 years agoPrepare 6.99.2 Guppy RC2 97/18497/1 6.99.2 guppy/6.99.2 guppy_6.99.2
Jan-Simon Möller [Fri, 30 Nov 2018 22:34:01 +0000 (23:34 +0100)]
Prepare 6.99.2 Guppy RC2

Change the distro configuration in preparation of GG RC2.

Change-Id: I2eb05adf8f4f909d90aed81b75ba04a0933ae02e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoEnable agl-sota for h3ulcb 71/16471/4
Anton Gerasimov [Wed, 5 Sep 2018 13:17:45 +0000 (15:17 +0200)]
Enable agl-sota for h3ulcb

Change-Id: I3c2d0df6e3afd4aa0671261f7d143ac15d88a836
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
5 years agoBump waltham-transmitter src revision. 91/18291/3
Naoko Tanibata [Mon, 26 Nov 2018 06:50:10 +0000 (15:50 +0900)]
Bump waltham-transmitter src revision.

b84f948 - transmitter: Avoid multiple module load error
8d837e2 - transmitter: Fix the return value of transmitter_output_enable

Change-Id: I36648b7ec4a39620a6e67f7ac717e27a2b1cc4f8
Signed-off-by: Naoko Tanibata <tnaoko@jp.adit-jv.com>
5 years agocreate-combined-dtb: Add dependency on virtual/kernel 21/18321/2
Leon Anavi [Mon, 26 Nov 2018 20:50:31 +0000 (22:50 +0200)]
create-combined-dtb: Add dependency on virtual/kernel

Add a dependency to virtual/kernel:do_deploy to ensure that
the dtb and dtbo files needed for task compile will be present.

Bug-AGL: SPEC-1775

Change-Id: I2d5872fe6bbd9a40c3f4185eea0efc10e6100b8b
Reported-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
5 years agoagl_raspberrypi3.inc: Add create-combined-dtb 05/18305/3
Leon Anavi [Mon, 26 Nov 2018 14:40:33 +0000 (16:40 +0200)]
agl_raspberrypi3.inc: Add create-combined-dtb

Include the recently added Yocto/OE recipe create-combined-dtb
for combining dtb and dtbo to Raspberry Pi builds.

Bug-AGL: SPEC-1775

Change-Id: I4bb91d9e5d7f6f5b8fe6a9371d85b93aa26bff1e
Suggested-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
5 years agoudisk: automount: remove 'flush' from MOUNT_OPTIONS 29/18429/2
Matt Ranostay [Thu, 29 Nov 2018 14:23:37 +0000 (16:23 +0200)]
udisk: automount: remove 'flush' from MOUNT_OPTIONS

Not all filesystems support 'flush' mount option and this was
preventing automounting.

Change-Id: I98d25ab58cc6683272cdd45783aa854bc54f53ba
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoPost-RC1 bump 01/18301/1
Jan-Simon Möller [Mon, 26 Nov 2018 13:49:52 +0000 (14:49 +0100)]
Post-RC1 bump

Change-Id: I39ef7dc1023c80ca313ad80d5bd10df0c4fbe0c9
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agodistro-manifest-generator: add support for JSON output format 55/18155/3 6.99.1 guppy/6.99.1 guppy_6.99.1
Stephane Desneux [Wed, 21 Nov 2018 22:04:28 +0000 (22:04 +0000)]
distro-manifest-generator: add support for JSON output format

Distro build manifest is easier to parse if output is made in a structured
format. Adding JSON output format will allow bindings to read information
more easily.

The files created are now:

On target:
* /etc/platform-info/build (shell format)
* /etc/platform-info/build.json (JSON format)

In image deploy dir (.../tmp/deploy/images/$MACHINE/):
* build-info (shell format)
* build-info.json (JSON format)

In sdk deploy dir (.../tmp/deploy/sdk/):
* poky-agl-<version details>.build-info (shell format)
* poky-agl-<version details>.build-info.json (JSON format)

Bug-AGL: SPEC-720, SPEC-1917

Change-Id: If45d2c5dd96b15ce790aa7f7f97c24f119ad117b
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoBump cmake-apps-module revision. 89/17789/8
Romain Forlot [Wed, 7 Nov 2018 09:24:20 +0000 (10:24 +0100)]
Bump cmake-apps-module revision.

This bump is mainly done to allow to select test verb to call
from the test widget on a board by improving the widget launcher
script and fix the installation in all build environment cross-compile
as well as native.

742695d - Fix crosscompile installation
81bd8f3 - Use target name as output name by default
8e59ed2 - Explain why add_subdirectory raise error
87b8529 - Fix indentation
ff77dd1 - doc: Fix sample of SET_TARGET_PROPERTIES
53db393 - Packaging: find version from command line argument
5bc5dc9 - Fix: find the cmake project files.
c38e321 - Fix: version variable detection.
b418056 - Missing mandatory variable in the CMake sample file
cf912a4 - Update docs
1156b45 - Reordering files inclusion by the module
5f06de0 - Adding packaging files
dcdff18 - Merge "Fix: missing files in test widget"
381098a - Fix: missing files in test widget
35d5206 - Upgrade the autobuild script
8c25030 - Install the module in the system cmake path
28dc5cc - Select the test set to run

Change-Id: Ie17d150a4756cc219e310a61590945128d7a0a90
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoapp-framework: Update versions 85/18085/2
José Bollo [Tue, 20 Nov 2018 10:11:46 +0000 (11:11 +0100)]
app-framework: Update versions

af-binder changes:
 * 153a7c9 AFB.js: Tiny improvement and space fix
 * eca8f3d afb-socket: Fix address reuse
 * 42099d3 afb-export: Fix error in event handling
 * 83c9e99 main-afb-daemon: Export variables to connect to binder

af-main changes:
 * bceaf2c afm-system-daemon: Improve error message report
 * 44c70fd Treat correctly running/not running status
 * 94176d9 afm-unit: Export new variables

Change-Id: Ifdb631d8155032f72b4497400fdbd935547c7782
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoprofile-core: agl-service-telephony: remove useless RDEPENDS dep 27/18127/2
Matt Ranostay [Tue, 20 Nov 2018 22:51:12 +0000 (00:51 +0200)]
profile-core: agl-service-telephony: remove useless RDEPENDS dep

Telephony service doesn't actual use the PBAP service so remove from
the RDEPENDS.

Change-Id: I026a00e34ffef6da8f15f7912c8f82cce70f497b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agometa-agl-bsp: ptest-runner: v2.2 and LAVA support 71/18071/2
Kevin Hilman [Mon, 19 Nov 2018 19:29:12 +0000 (11:29 -0800)]
meta-agl-bsp: ptest-runner: v2.2 and LAVA support

Upgrade ptest-runner to v2.2 (first 6 patches), and add the
WIP support for LAVA signal (patch 7).

From branch:
https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=timo/lava-ptest-runner2

Commit:
https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=timo/lava-ptest-runner2&id=11b29ce444610a07067a89b38e9e85c2162bbf67

Change-Id: Ic4ee5e3a9ab796fe7ccd1810b31e582370f99a25
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
5 years agorecipes-connectivity: bluez5: add dbus-org.bluez.obex.service symlink 89/18089/2
Matt Ranostay [Tue, 20 Nov 2018 16:21:43 +0000 (18:21 +0200)]
recipes-connectivity: bluez5: add dbus-org.bluez.obex.service symlink

To allow OBEX service to be requested by a user on demand there needs
to be a symlink /etc/systemd/user/dbus-org.bluez.obex.service to the
obex.service

Change-Id: If4b8a94790403cf7f8f2a53ce3365c5f8c9f3b2c
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agocreate-combined-dtb: Combine dtb and dtbo 47/18147/2
Leon Anavi [Wed, 21 Nov 2018 11:06:51 +0000 (13:06 +0200)]
create-combined-dtb: Combine dtb and dtbo

Combine a number of device tree overlays to a base blob with a
specified filename in the deploydir only. This feature is
required only for netboot therefore the files are not included
in the image.

Bug-AGL: SPEC-1775

Change-Id: I16ff043ee0d44d4151e1fb2ba714bd1542854bd8
Suggested-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
5 years agofdtoverlay: Provide fdtoverlay-native 45/18145/2
Leon Anavi [Wed, 21 Nov 2018 10:59:47 +0000 (12:59 +0200)]
fdtoverlay: Provide fdtoverlay-native

Add a recipe for building fdtoverlay native from the source
code of newer dtc without upgrading the version of the main
dtc recipe.

Bug-AGL: SPEC-1775

Change-Id: I251b22e0ecd4d2de088340daf19b602670668d55
Suggested-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
5 years agodistro-build-manifest: don't use BB_ENV_EXTRAWHITE 19/18119/3
Stephane Desneux [Tue, 20 Nov 2018 18:33:21 +0000 (18:33 +0000)]
distro-build-manifest: don't use BB_ENV_EXTRAWHITE

To keep the workflow compliant with upstream Yocto projects,
it's better to not use BB_ENV_EXTRAWHITE to pass variables
to recipes.

This commit updates aglsetup to generate the file agl-init-build-env
as 'before' (=before the addition of distro-build-manifest)

Bug-AGL: SPEC-720, SPEC-1741

Change-Id: I96df245e099c15a1d2425052c4d8cc64363042c8
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoAdd ptest to ci and snapshot builds 05/17505/3
Jan-Simon Möller [Tue, 30 Oct 2018 12:45:39 +0000 (13:45 +0100)]
Add ptest to ci and snapshot builds

Now we are able to run the ptest's , thus add them to the build

Change-Id: I9779625065a893a03b87b913569ed0699d85ed5e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoChange default aglwgt build procedure 27/17927/5
Romain Forlot [Tue, 13 Nov 2018 15:58:56 +0000 (16:58 +0100)]
Change default aglwgt build procedure

Warn about obsolete way of of build an agl app but keep them as fallback
methods.

Bug-AGL: SPEC-495

Change-Id: I225c811382e218ea90ce66287f4987a33f9ab5c5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoPrepare Grumpy Guppy RC1 25/18025/1
Jan-Simon Möller [Thu, 15 Nov 2018 22:47:58 +0000 (23:47 +0100)]
Prepare Grumpy Guppy RC1

Modify the distro config to reflect the RC1 release.

Change-Id: If46096e12c0917ee517835e5803ec32b80a6a37a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years ago[RCAR][upstream] remove dts patch for SDIO frequency 99/17999/1
Harunobu Kurokawa [Thu, 15 Nov 2018 12:31:15 +0000 (21:31 +0900)]
[RCAR][upstream] remove dts patch for SDIO frequency

Bug-AGL: SPEC-1945

Latest meta-rcar update SDIO frequency for TI's WLAN driver.
However, in M3 case, the this patch raise ti/wlcore driver WANING.

[  107.009706] ------------[ cut here ]------------
[  107.014342] WARNING: CPU: 0 PID: 4224 at /kernel-source//drivers/net/wireless/ti/wlcore/sdio.c:145 wl12xx_sdio_raw_write+0xb0/0x160 [wlcore_sdio]
[  107.027375] Modules linked in: rfcomm 8021q garp stp mrp llc can_bcm can bnep nfc arc4 wl18xx wlcore mac80211 cfg80211 crc32_ce crct10dif_ce btwilink bluetooth ecdh_generic wlcore_sdio rcar_can st_drv rfkill can_dev vspm_if(O) vsp2(O) vspm(O) uvcs_drv(O) sllin(O) pvrsrvkm(O) mmngrbuf(O) mmngr(O) hdm_usb(O) hdm_i2c(O) hdm_dim2(O) aim_v4l2(O) aim_sound(O) aim_network(O) aim_cdev(O) mostcore(O) ipv6
[  107.062537] CPU: 0 PID: 4224 Comm: wpa_supplicant Tainted: G           O    4.14.35-yocto-standard #1
[  107.071749] Hardware name: Renesas M3ULCB Kingfisher board based on r8a7796 (DT)
[  107.079138] task: ffff8005fc610e00 task.stack: ffff000020bc8000
[  107.085054] PC is at wl12xx_sdio_raw_write+0xb0/0x160 [wlcore_sdio]
[  107.091316] LR is at wl12xx_sdio_raw_write+0x7c/0x160 [wlcore_sdio]

<snip>

[  107.467808] ---[ end trace 0140d637a5afd50b ]---
[  107.472613] wl1271_sdio mmc2:0001:2: sdio write failed (-84)
[  107.478340] ------------[ cut here ]------------
[  107.483008] WARNING: CPU: 0 PID: 4224 at /kernel-source//drivers/net/wireless/ti/wlcore/main.c:796 wl12xx_queue_recovery_work.part.26+0x58/0x60 [wlcore]
[  107.496648] Modules linked in: rfcomm 8021q garp stp mrp llc can_bcm can bnep nfc arc4 wl18xx wlcore mac80211 cfg80211 crc32_ce crct10dif_ce btwilink bluetooth ecdh_generic wlcore_sdio rcar_can st_drv rfkill can_dev vspm_if(O) vsp2(O) vspm(O) uvcs_drv(O) sllin(O) pvrsrvkm(O) mmngrbuf(O) mmngr(O) hdm_usb(O) hdm_i2c(O) hdm_dim2(O) aim_v4l2(O) aim_sound(O) aim_network(O) aim_cdev(O) mostcore(O) ipv6
[  107.531806] CPU: 0 PID: 4224 Comm: wpa_supplicant Tainted: G        W  O    4.14.35-yocto-standard #1
[  107.541018] Hardware name: Renesas M3ULCB Kingfisher board based on r8a7796 (DT)
[  107.548406] task: ffff8005fc610e00 task.stack: ffff000020bc8000
[  107.554363] PC is at wl12xx_queue_recovery_work.part.26+0x58/0x60 [wlcore]
[  107.561265] LR is at wl12xx_queue_recovery_work+0x1c/0x28 [wlcore]

Change-Id: I6f15251e6997f52892efd118e8941af5930c5ca9
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
5 years agoagl-service-nfc: remove libnfc dependency 77/17977/2
raquel medina [Fri, 9 Nov 2018 17:15:36 +0000 (19:15 +0200)]
agl-service-nfc: remove libnfc dependency

Bug-AGL: SPEC-1921

 - remove build-time dependency on libnfc

Change-Id: Id13d0f447ebcb47590466c6d9e9f34a58cf65bad
Signed-off-by: raquel medina <raquel.medina@konsulko.com>
5 years agodragonboard-410c: change init sequence of the qcom kernel module 67/17967/2
Yuya Ono [Wed, 14 Nov 2018 07:36:31 +0000 (16:36 +0900)]
dragonboard-410c: change init sequence of the qcom kernel module

Since db410c's DSP is enabled from the rocko branch,
an error occurs at boot time.

This patch is workaround by change init sequence of kernel
module on booted with reference to the following discussion.
(https://lkml.org/lkml/2018/10/31/440)

Change-Id: I5e1b94a7b17889610b3beecccd3e99f4bc445226
Signed-off-by: Yuya Ono <Ono.Yuya@ap.MitsubishiElectric.co.jp>
5 years agometa-agl: introduce transmitter plugin to weston 77/14977/13
Naoko Tanibata [Wed, 11 Apr 2018 07:15:33 +0000 (16:15 +0900)]
meta-agl: introduce transmitter plugin to weston

The waltham-transmitter is the plugin of weston to enable client apps
to share its surface between multiple domains.

v2 (jsmoeller): rebased to new layer structure
v3 (jsmoeller): squashed with previous commit
v4 (jsmoeller): merge with https://gerrit.automotivelinux.org/gerrit/#/c/16187
                to keep addition together in one patch
v5 (jsmoeller): remove unneeded file
v6 (jsmoeller): merge with https://gerrit.automotivelinux.org/gerrit/#/c/17223/
                to keep addition together in one patch
                (cherry picked from commit d3ebc4bf2eb0331226ef4eac79aaacd520ee5a60)
v7 (jsmoeller): After discussions during the integration session:
                - fix hardcoded lib64 in source code
                - reduce package to just transmitter (render is part of the transmitter)
                - include waltham-transmitter in packagegroup (might not be final place)
v8 (tnaoko)   : add missing dependency plugins.

Change-Id: I7e607ed183f147fc0078bef54639207cfca80c6e
Signed-off-by: Wataru Mizuno <wmizuno@jp.adit-jv.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Naoko Tanibata <tnaoko@jp.adit-jv.com>
5 years agoagl-service-mediaplayer: add agl-service-bluetooth to RDEPENDS 51/17851/2
Matt Ranostay [Mon, 12 Nov 2018 13:06:19 +0000 (15:06 +0200)]
agl-service-mediaplayer: add agl-service-bluetooth to RDEPENDS

To allow mediaplayer bindings to directly get AVRCP metadata and
control access require the agl-service-bluetooth at runtime.

Change-Id: Iab03d8c9c8c8400c4c4130ff1999b9662aac4c93
Bug-AGL: SPEC-1630
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoUse sllin0 for agl-service-hvac for m3ulcb demo 05/17805/2
Jan-Simon Möller [Thu, 8 Nov 2018 05:53:14 +0000 (06:53 +0100)]
Use sllin0 for agl-service-hvac for m3ulcb demo

The green demo machines use m3+kf and serial lin to communicate with the actuators.
Adapt the recipe.

Change-Id: Ia4afea115f16d633d2eeb16c0c662832f81dc438
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agonss-localuser: Add the NSS plugin for localuser 13/17513/4
José Bollo [Fri, 26 Oct 2018 08:19:47 +0000 (10:19 +0200)]
nss-localuser: Add the NSS plugin for localuser

`nss-localuser` is a plugin for the GNU Name Service Switch (NSS)
functionality of the GNU C Library (`glibc`) providing host name
resolution for *"localuser"* family of virtual hostnames.

The delivered NSS service defines one virtual host of name `localuser`
that resolves to an IP address of the localhost loopback that integrates
user ID.

Bug-AGL: SPEC-1833

Change-Id: I8ce87297a220e8c691cdbea00262d873b68ffd75
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoLatest meta-altera supports wic IMAGE_FSTYPE 55/17655/2
Jan-Simon Möller [Sun, 4 Nov 2018 12:04:38 +0000 (13:04 +0100)]
Latest meta-altera supports wic IMAGE_FSTYPE

In preparation of the layer uprev, fix the IMAGE_FSTYPE.

Change-Id: Ic4c78fb27b0676383143b943d97a511b960e01b1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agolibmicrohttpd: Fix listening and epoll together 83/17683/2
José Bollo [Mon, 5 Nov 2018 17:28:38 +0000 (18:28 +0100)]
libmicrohttpd: Fix listening and epoll together

It appeared recently that libmicrohhtpd isn't able
to manage listening interfaces and at the same time
to manage in/out streams using epoll.

After discussion with maintainers of libmicrohttpd
this is a bug and is already corrected. See:

 https://gnunet.org/git/libmicrohttpd.git/commit/?id=3fc686e

While waiting for integration of this patched version
in poky/openembedded, it is needed to have that patch
integrated in AGL for running binders aware of listening
interfaces.

Upstream-Status: Accepted

Bug-AGL: SPEC-1896

Change-Id: Ib436f6b4be27e638fedbae22f690109fb064c8e7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoaf-binder: Bump version 43/17743/1
José Bollo [Tue, 6 Nov 2018 08:57:03 +0000 (09:57 +0100)]
af-binder: Bump version

Includes
  * 875007d afb-socket: Relax requirement of tcp ending slash
  * 8754e33 afb-socket: Handle listening on all interfaces
  * f3048dc samples: Fix compiling error
  * 68fb4de afb-hsrv: Adapt to next version of libmicrohttpd
  * dfe85ca Added an option to color out the ouput
  * 61a0151 afb-session: Add language to session
  * c1c4973 monitoring: Fix naming of apis
  * 6b0b904 Make profile.d file consistent between rpm and debian
  * 5ee4995 afb-apiset: Reorder priority of messages
  * db0e684 AFB.html: Allow to call any verb of any API
  * 6c9e231 afb-hsrv: Lower the "no handler" message
  * deaf209 APIv3: Allow to write application binding
  * 86e4c17 afb-api-so-v3: Keep root API in all cases
  * fd57dbf genskel: Fix issues for C++ bindings v3
  * 40fa7ea packaging/deb: install all headers
  * 9ce66be Fix native deb pkg install dependency
  * 195a03d afb-export: Emit a warning on bad 'afb_require_api' call
  * efd6d20 afb-socket: API name cares of abstract UDS
  * c19ce12 afb-session: Fix an issue in managing sessions
  * 80c96d7 CMakeLists: Use AGLVERSION if set

Change-Id: Ie6a5efa651f5e9b9fab207f216514552993edfa5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoaf-main: Bump version 11/17511/3
José Bollo [Fri, 26 Oct 2018 13:59:19 +0000 (15:59 +0200)]
af-main: Bump version

This includes the following changes:

b2329b7 CMakeLists: Use AGLVERSION if set
2a0ac96 wgtpkg-install: Force uninstall
91baca1 doc: Changed doc to new format
f031387 afm-unit.conf: force symbolic link on update
43bc2e5 docs: Improve documentating 'required-binding'
9e1d25b Merge "docs: Improve documentating 'required-binding'"
0e0ae55 afm-unit.conf: Restrict service for APIs
24f0c20 Add the ability to access binding through tcp
375f481 afm-unit.conf: Enforce starting after network
19e745e Merge "afm-unit.conf: Restrict service for APIs"
73f3570 Merge "afm-unit.conf: Enforce starting after network"
d40fc40 afm-urun: Force scan of systemd units
dc0836f Install afm-user-daemon with correct rights
5f7901d afm-util: Fix report of error

It fixes:

Bug-AGL: SPEC-1863
Bug-AGL: SPEC-1846
Bug-AGL: SPEC-1836
Bug-AGL: SPEC-1650
Bug-AGL: SPEC-1800
Bug-AGL: SPEC-1230

Change-Id: Ifd1775448db4ebffa4bb656b5bcefaf891c4efa5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agogpsd-kingfisher-conf: fix PREFERRED_RPROVIDER issue 23/17523/2
Stephane Desneux [Tue, 30 Oct 2018 15:41:13 +0000 (15:41 +0000)]
gpsd-kingfisher-conf: fix PREFERRED_RPROVIDER issue

virtual/gpsd-conf is a runtime dependency in packagegroup-agl-core-navigation.
So, PREFERRED_RPROVIDER must be used in place of PREFERRED_PROVIDER

Bug-AGL: SPEC-1861

Change-Id: I15b915c2e7a1410000f7527b13f3206242778bc0
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agometa-app-framework/base-files: fix /usr/local symlink target path 09/17509/2
Stephane Desneux [Tue, 30 Oct 2018 14:09:59 +0000 (14:09 +0000)]
meta-app-framework/base-files: fix /usr/local symlink target path

/usr/local should point to ../var/local (and not ../../var/local)

Thanks to Vasyl Vavrychuk <vvavrychuk@gmail.com>

Bug-AGL: SPEC-1844

Change-Id: I700065290deff979db2e74cb68eae78ef55cda9c
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoBump afb-test revision 27/17527/1
Romain Forlot [Tue, 9 Oct 2018 09:35:53 +0000 (11:35 +0200)]
Bump afb-test revision

Fix afm-test script installation

7b69512 Shellcheck: protect variable against whitespace
abede0f Improve exit output message
1a33ac2 Test the LockWait feature
52f416b Unify test launch between target and native
25903e6 Update documentation
cef21bd get rid of afb-definitions
02881ee Avoid to kill anything when no config file found
8de7f11 Separation between CB and classic test functions
d2fbdb5 Rename test service api to be more discriminant.
ca9049a Assert that an event hasn't been received
3db71f8 Script for both native and target launch

Change-Id: Ied4a6b704779a3176a0da60e15dee46a2021f54e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoagl-service-telephony: Set depend of glib-2.0 69/17469/2
José Bollo [Fri, 26 Oct 2018 14:00:22 +0000 (16:00 +0200)]
agl-service-telephony: Set depend of glib-2.0

Change-Id: I493d2836677cd105279d784f030f2d5fef36b5c3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoAdd CMake Apps module recipe 11/17411/5
Romain Forlot [Tue, 23 Oct 2018 12:22:26 +0000 (14:22 +0200)]
Add CMake Apps module recipe

Adds the cmake-apps-module in the SDK and the normal Yocto
builds.

Bug-AGL: SPEC-1682

Change-Id: Ib8b83dd9664a1566318eb0a140e043c5d82510ce
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoaglsetup: Fix mix of spaces and tabs 01/17401/3
José Bollo [Tue, 23 Oct 2018 17:12:40 +0000 (19:12 +0200)]
aglsetup: Fix mix of spaces and tabs

Change-Id: I6579e0bc79e030b64bfbf936fc90d42298e73732
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agodistro-build-manifest: Improve diagnostic messages 99/17399/2
José Bollo [Tue, 23 Oct 2018 16:10:13 +0000 (18:10 +0200)]
distro-build-manifest: Improve diagnostic messages

Change-Id: I684e30562cfda80abddd16195ec378a5f3e2dfba
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agometa-agl-bsp: kernel: fix can-bus.cfg 91/17291/3
Kevin Hilman [Thu, 18 Oct 2018 14:04:16 +0000 (14:04 +0000)]
meta-agl-bsp: kernel: fix can-bus.cfg

This config fragment for CAN bus had both an option for enabling as a
module:

  CONFIG_CAN_C_CAN=m

and for disabling:

  # CONFIG_CAN_C_CAN is not set

Since the disable came last, disable wins.  This caused the C_CAN
driver and the C_CAN_PLATFORM driver (used by the TI dra7-evm) to be
disabled in the kernel.

To fix, remove the option to disable.

Change-Id: I5be0cee161318cdfe7deb9c5e9c9f15d79cda7ac
Fixes: d870883e7b29d212dc3e2a0e6158d837d4356c6a
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
5 years agorcar: gstreamer: Update vspfilter device files when using IMR devices 45/17245/2
Damian Hobson-Garcia [Mon, 15 Oct 2018 09:13:33 +0000 (18:13 +0900)]
rcar: gstreamer: Update vspfilter device files when using IMR devices

The meta-rcar-gen3-adas layer, active on m3ulcb and h3ulcb boards, enables
the Renesas IMR device, which takes the first few /dev/videoX device
file names, shifting the names of all of the other /dev/video devices.
This patch updates the vspfilter configuration files to reflect the change.

Change-Id: I326d3f5bb295f813e58d2318310cf86ad52744b3
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
5 years agoBump afb-test revision 43/17143/3
Romain Forlot [Tue, 9 Oct 2018 09:35:53 +0000 (11:35 +0200)]
Bump afb-test revision

Fix afm-test script installation

7b69512 Shellcheck: protect variable against whitespace
abede0f Improve exit output message
1a33ac2 Test the LockWait feature
52f416b Unify test launch between target and native
25903e6 Update documentation
cef21bd get rid of afb-definitions
02881ee Avoid to kill anything when no config file found
8de7f11 Separation between CB and classic test functions
d2fbdb5 Rename test service api to be more discriminant.
ca9049a Assert that an event hasn't been received
3db71f8 Script for both native and target launch

Change-Id: Ic2b3d68cdb2b57613a0a24e42e43f307b2cae399
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
5 years agoAdd dummy iiodevice support for test 77/16677/5
Frederic Marec [Tue, 18 Sep 2018 09:33:17 +0000 (11:33 +0200)]
Add dummy iiodevice support for test

Add new fragment iiodevice.cfg to enable dummy devices
For iiodevices test

Change-Id: I9f635334aec2f9cd675b522b86cdfa3ad8168f07
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agoPull agl-audio-plugin and pulseaudio conditionnaly 45/17145/6
Stephane Desneux [Wed, 10 Oct 2018 13:43:40 +0000 (13:43 +0000)]
Pull agl-audio-plugin and pulseaudio conditionnaly

If agl-pulseaudio feature is not set, pulseaudio (or agl-audio-plugin)
shouldn't be pulled in images.

Currently, agl-service-radio requires either 4a or pulseaudio. So a temporary
hack has to be made to remove it from core services packagegroup if dependencies are not met.

Bug-AGL: SPEC-1802, SPEC-1811

Change-Id: Ief7a88cc288aba5c818ea7e7cbfede0ffb87c639
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoClean-up of wayland-ivi-extension_1.13.0 related legacy stuff 89/17189/2
Michael Teyfel [Fri, 12 Oct 2018 13:50:26 +0000 (15:50 +0200)]
Clean-up of wayland-ivi-extension_1.13.0 related legacy stuff

Since the agl demo is now using wayland-ivi-extension
v2.0.2 everything related to v1.13.0 should be removed.
That means all bitbake recipes and also the used patch
files.

Change-Id: I326c8e13c6084ec2135d6f75d64db260d347491e
Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
5 years ago[RCAR] ADSP enable and add sound hardware abstraction in DT 37/16737/7
Ronan Le Martret [Tue, 28 Aug 2018 06:57:55 +0000 (06:57 +0000)]
[RCAR] ADSP enable and add sound hardware abstraction in DT

The ADSP on Renesas SoCs required a reserved memory area to become
enabled, and this needs to be done manually.

This patch adds sound hardware abstraction information for the m3ulcb
and m3ulcb-kf (kingfisher) device trees. This is helpful on-board the
ADSP for dynamically determining sound hardware at runtime, allowing
single binaries to be used between the two boards.

Future work will incorporate the h3ulcb and Salvator boards into the
abstraction.

Bug-AGL: SPEC-1227
Bug-AGL: SPEC-1424
Bug-AGL: SPEC-1571

Change-Id: I78edc5854a95520276bdcd9fd9766a120d2c04d7
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years ago[RCAR] Enable Linux-based hypervisor execution in AGL 35/16735/6
Ronan Le Martret [Tue, 28 Aug 2018 06:52:13 +0000 (06:52 +0000)]
[RCAR] Enable Linux-based hypervisor execution in AGL

The upstream version of AGL boots Linux in EL1. This mode is not
privileged enough to put in place the correct configuration of
an hypervisor (e.g., KVM).

This patch leverages the ATF rcar platform configuration variables to
boot the Linux kernel in EL2, instead of EL1, allowing Linux-based
hypervisors such as KVM to configure all the necessary stubs to
properly run virtual machines.

This patch has been successfully tested with ATF, KVM and AGL rootfs
on the Renesas R-Car M3.

Changelog:
- Added arm-trusted-firmware patch, which makes this work easy
  to be tested by the community
- This patch version does not contain Linux kernel modifications.
  In fact, these resulted not necessary with the proposed ATF patch
  and a recent kernel (higher than 4.6)

Bug-AGL: SPEC-497
Bug-AGL: SPEC-1571
Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I8d20e36a09be1dba35b10193643ea00e4f388e95
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years ago[RCAR] Update RCAR BSP to 3.9 33/16733/5
Ronan Le Martret [Tue, 24 Jul 2018 13:51:57 +0000 (15:51 +0200)]
[RCAR] Update RCAR BSP to 3.9

Bug-AGL: SPEC-1571

Change-Id: Ieefd423b79faa220531a887ff167227044ab6064
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years ago[RCAR] Change RENESAS_DATADIR value 39/16739/8
Ronan Le Martret [Tue, 28 Aug 2018 07:28:03 +0000 (07:28 +0000)]
[RCAR] Change RENESAS_DATADIR value

* AGL doesn't use /usr/local for system files.
  All the Renesas libraries and binaries will be installed in  /usr
  instead of /usr/local.

Bug-AGL: SPEC-1571

Change-Id: Ibc40df5d492517773bf89e4e0f117a02d22d90cd
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agopackagegroup-agl-core-boot: add package distro-build-manifest 23/16723/18
Stephane Desneux [Fri, 21 Sep 2018 11:24:25 +0000 (11:24 +0000)]
packagegroup-agl-core-boot: add package distro-build-manifest

The purpose of distro-build-manifest is to generate and distribute build
manifests for a given AGL build (generally, an image build).

The recipe generates the build manifest 'platform-build-info' at each build
(no caching) and this manifest is then stored in 3 locations with different set
of data:
 * image: in /etc/platform-build-info
 * deploy dir: image/$MACHINE/platform-build-info
 * sdk: generated but not packaged yet

Important Note: the 3 manifests contain at least the 'target manifest' but some
extra information are added depending on the target location:
* build host information are only available in the deploy dir manifest
* SDK specific data are only available in the SDK manifest

An example of generated build manifests (sorry for long lines):

in target (package distro-build-manifest):
------------------------------------------------------------------------------
DIST_MACHINE="h3ulcb"
DIST_FEATURES="agl-appfw-smack agl-audio-4a-framework agl-demo agl-devel agl-hmi-framework agl-netboot agl-profile-graphical agl-profile-graphical-qt5 agl-ptest agl-pulseaudio "
DIST_LAYERS="agl-manifest:4f3b4e1 meta-agl-demo:6.90.0-3-gfc32c5e meta-agl-devel:6.90.0-3-gf4b12f5 meta-agl-extra:6.90.0-0-ged8c0a7 meta-agl:6.90.0-20-g46941e2 meta-gplv2:f875c60 meta-intel:8.1-rocko-2.4.2-21-g718bb38 meta-intel-iot-security:v1.0.0-34-g20bbb97 meta-iot-bzh:4.99.3-45-g1de6fff meta-oic:70d5bec meta-openembedded:3525310 meta-qt5:5.2.1+origin/release-445-g682ad61 meta-raspberrypi:8e4c537 meta-rcar:a055159 meta-renesas-rcar-gen3:6.90.0-0-gb3625d6 meta-security:8f6969a meta-security-isafw:489abdc meta-updater:ff555e8 meta-updater-qemux86-64:697632d poky:rocko-18.0.3-0-g7e7ee66"
DIST_BUILD_HASH="Fd30d961c-L91230d88"
DIST_BUILD_ID="AGL-h3ulcb-Fd30d961c-L91230d88"
DIST_BB_MACHINE_ARCH="h3ulcb"
DIST_BB_MACHINEOVERRIDES="rcar-gen3:r8a7795:h3ulcb:aarch64:ulcb"
DIST_BB_MACHINE_FEATURES="biglittle agl-egvirt gsx multimedia rtc qemu-usermode"
DIST_BB_DISTRO_CODENAME="guppy"
DIST_BB_DISTRO_FEATURES="acl alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc libc-posix-wchar-io largefile systemd opengl wayland pam bluetooth bluez5 surroundview bluetooth netboot smack dbus-cynara xattr automount agl-audio-4a-framework agl-hmi-framework agl-devel pulseaudio sota pam use_eva_pkg h264dec_lib h264enc_lib aaclcdec_lib aaclcdec_mdw ptest gobject-introspection-data ldconfig"
DIST_BB_DISTRO_BRANCH_VERSION_TAG="guppy/6.90.0"
DIST_BB_AGLVERSION="6.90.0"
DIST_BB_AGL_BRANCH="master"
DIST_BB_AGLRELEASETYPE="agldevelopment"
------------------------------------------------------------------------------

in deploy dir:
------------------------------------------------------------------------------
[target manifest]
       +
DIST_FEATURES_MD5="d30d961c8981a7badc467aedafb0687b"
DIST_BUILD_HOST="devel@bsp-devkit-odin-0-sdx"
DIST_BUILD_OS="Debian GNU/Linux 8 (jessie)"
DIST_SETUP_TS="20181009_153656_UTC"
DIST_SETUP_MANIFEST="/xdt/build/h3ulcb/aglsetup.manifest"
DIST_BUILD_TS="20181009_153832_UTC"
DIST_LAYERS_MD5="91230d88544a1ac1845d80ad5f083651"
DIST_BB_DISTRO="poky-agl"
DIST_BB_DISTRO_VERSION="6.90.0+snapshot-20181009"
DIST_BB_DISTROOVERRIDES="poky-agl"
DIST_BB_TUNE_FEATURES="aarch64"
DIST_BB_TUNE_PKGARCH="aarch64"
DIST_BB_ALL_MULTILIB_PACKAGE_ARCHS="all any noarch aarch64 h3ulcb"
------------------------------------------------------------------------------

in SDK:
------------------------------------------------------------------------------
[target manifest]
       +
DIST_BB_DISTRO="poky-agl"
DIST_BB_DISTRO_VERSION="6.90.0+snapshot-20181009"
DIST_BB_DISTROOVERRIDES="poky-agl"
DIST_BB_TUNE_FEATURES="aarch64"
DIST_BB_TUNE_PKGARCH="aarch64"
DIST_BB_ALL_MULTILIB_PACKAGE_ARCHS="all any noarch aarch64 h3ulcb"
DIST_BB_HOST_SYS="aarch64-agl-linux"
DIST_BB_TARGET_SYS="aarch64-agl-linux"
DIST_BB_TARGET_VENDOR="-agl"
DIST_BB_SDK_ARCH="x86_64"
DIST_BB_SDK_VENDOR="-aglsdk"
DIST_BB_SDK_VERSION="6.90.0+snapshot"
DIST_BB_SDK_OS="linux"
------------------------------------------------------------------------------

Bug-AGL: SPEC-720, SPEC-1741

Change-Id: I934acc87e13d2f6ec867684af515b89a89a89338
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoaglsetup: generate setup manifest file 21/16721/13
Stephane Desneux [Fri, 21 Sep 2018 11:12:22 +0000 (11:12 +0000)]
aglsetup: generate setup manifest file

This patch modifies aglsetup to output the execution context in a
"setup manifest" located in $builddir/aglsetup.manifest

This file can then be processed by another script (distro-manifest-generator.sh)
to generate a complete distro manifest at build time.

Bug-AGL: SPEC-720, SPEC-1741

Change-Id: I1f9bc8a6d8bc4c659e59ed0025f71ad9e1c86355
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoagl-service: telephony: add telephony service recipe 13/16813/4
Matt Ranostay [Thu, 27 Sep 2018 05:58:24 +0000 (08:58 +0300)]
agl-service: telephony: add telephony service recipe

Bug-AGL: SPEC-1757
Change-Id: I0dd0c80fc089ce18fce0325fbbe0f17d257418a6
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agopulseaudio-dev included conditionnaly in -crosssdk images 95/16895/2
Stephane Desneux [Tue, 2 Oct 2018 20:58:48 +0000 (20:58 +0000)]
pulseaudio-dev included conditionnaly in -crosssdk images

As pulseaudio is now optional, agl-demo-platform-html5-crosssdk and
agl-image-graphical-qt5-crosssdk shouldn't include pulseaudio-dev
unconditionnaly.

This change duplicates in those two images what is done in
agl-demo-platform-crosssdk.

Bug-AGL: SPEC-1601

Change-Id: Ib75c6a8015567fa6b5acbc6afd98ac06b2550a87
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoMutualizes code for ulcb card family conf file 45/16745/3
Ronan Le Martret [Sat, 22 Sep 2018 14:17:37 +0000 (14:17 +0000)]
Mutualizes code for ulcb card family conf file

Remove duplicate code between ulcb card configuration card.
Since more an more ulcb card and extention, it becomes difficult
to maintain the conf file of the ulcb family.

Change-Id: Id5648f4e75c464875d3b175c769e1fdd7f4312f5
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agoFix optee-client build 53/16853/4
Ronan Le Martret [Fri, 28 Sep 2018 13:58:31 +0000 (13:58 +0000)]
Fix optee-client build

optee-client fails to compile when enabling FORTIFY_SOURCE=2 option.

Change-Id: I4e4a5fea098470f63a3d8b49b9bb4fc8b8c0bbbc
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agoUse iperf3 instead of iperf2 59/16859/2
Changhyeok Bae [Sun, 30 Sep 2018 14:28:43 +0000 (23:28 +0900)]
Use iperf3 instead of iperf2

iperf3 recipe is in meta-openembedded layer.

Change-Id: I1c4f7345615f4ab99b1405a9ed53569ced1bdabe
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
5 years ago[RCAR] Fix ti-bt package name and revision 65/16665/4
Ronan Le Martret [Sun, 16 Sep 2018 19:34:38 +0000 (19:34 +0000)]
[RCAR] Fix ti-bt package name and revision

*  ti-bt  needs to have a correct PN and PR to be
   compliant with dnf and so rpm.

Bug-AGL: SPEC-920

Change-Id: I1b83ce54340922a23a6f0de5873e48699c2e1101
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agoRemove pulseaudio from AGL DISTRO_FEATURES 69/15569/6
Ronan Le Martret [Fri, 20 Jul 2018 18:35:55 +0000 (20:35 +0200)]
Remove pulseaudio from AGL DISTRO_FEATURES

Bug-AGL: SPEC-1601

Change-Id: I5f6f82dad72cb5f1570c6354d360cebd056489a1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agoCreate a feature to activate pulseaudio in AGL 83/15883/5
Ronan Le Martret [Wed, 1 Aug 2018 12:17:39 +0000 (12:17 +0000)]
Create a feature to activate pulseaudio in AGL

 If pulseaudio is wanted you can use the feature
 agl-pulseaudio, to add pulseaudio to DISTRO_FEATURES,
 and so, add pulseaudio to AGL distribution.

Bug-AGL: SPEC-1601

Change-Id: Ic6fcad968428c9f337f318369eef822e5e9ff84d
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agoFix image build with PR timestamp 67/16867/2
Ronan Le Martret [Mon, 1 Oct 2018 07:07:47 +0000 (07:07 +0000)]
Fix image build with PR timestamp

 * If we using _append with PKGR the image creation failed.
   The _append action is done twice and so corrupt the PKGR
   value.

Change-Id: Ia549e83a33ed667cd246a24f9a83a89d9c3f97a9
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agoweston-ini-conf.bbappend: Set 720p for Raspberry Pi 89/16789/2
Leon Anavi [Tue, 25 Sep 2018 17:51:28 +0000 (20:51 +0300)]
weston-ini-conf.bbappend: Set 720p for Raspberry Pi

Reduce the screen resolution for Raspberry Pi from Full HD to
HD Ready (1280x720) to reduce the memory consumption and
improve the behaviour of the whole system. This change is
applied only for HDMI display on Raspberry Pi due to the
limited hardware resources.

Bug-AGL: SPEC-1745

Change-Id: Id2fb571b0822f8166086f5ad6a7fcf8ea25c933a
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
5 years agoChange SDKPATH for something more stable in time 27/16727/16
Ronan Le Martret [Fri, 21 Sep 2018 13:57:01 +0000 (13:57 +0000)]
Change SDKPATH for something more stable in time

 * The SDKPATH must be fix to be used with YoMo.
   Inside rpm nativesdk file all the path is prefed by
   SDKPATH/sysroots/${HOSTARCH}-${SDK_VENDOR}-${OSHOST}/

 * have a (day) time stamp in ${DISTRO_VERSION} force the rebuild of
   the package every day.
eg:
At runtime /etc becomes:
(old value):
/opt/agl-sdk/6.90.0+snapshot-20180921-aarch64/sysroots/x86_64-aglsdk-linux/etc
(new value):
/opt/agl-sdk/6.90.0+snapshot-aarch64/sysroots/x86_64-aglsdk-linux/etc
in native sdk

Bug-AGL: SPEC-921
Bug-AGL: SPEC-1667

Change-Id: I28d7f8d140ba75d9d8c68c84ba5fc697e6011836
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agoAdd an AGL revision to the RPM package 67/16667/20
Ronan Le Martret [Tue, 18 Sep 2018 08:13:39 +0000 (08:13 +0000)]
Add an AGL revision to the RPM package

* To update a rpm file (with dnf) we need to have a valid rpm revision.

  Let 2 packages pkg_1 and pkg_2 (built in yocto).
  If pkg_2 is newer than pkg_1, and one wants to be able to update it
  with dnf, it must respect some rpm naming rules.

  if ${pkg_2_name} > ${pkg_1_name}
     -> pkg_2 is newer than pkg_1
  elif ${pkg_2_name} = ${pkg_1_name} and ${pkg_2_revision} > ${pkg_1_revision}
     -> pkg_2 is newer than pkg_1
  else
     -> pkg_2 is equal or older than pkg_1

  Currently, the Yocto build process (used by AGL, so whithout special service)
  doesn't change revisions for a build. So packages are not updatable from a repository
  with dnf.

* This patch adds an option -r|--rpm-revision <schema> to aglsetup.sh so that RPMs
  produced by bitbake will have correct revisions suitable for binary publishing.

  <schema> can be:
    'prservice[:<address>]' : Use a PR service daemon.
        if <address> is not specified, the default value 'localhost:0'
        is used (shortcut for a PR service started by bitbake)
    'timestamp' : Use a generated time stamp (UTC).
    'value:<revision>' : Use <revision> explicitly.
    'none' : Do nothing.

p16: change --rpm-revision options parsing, use UTC timestamps, refactor code
p19: remove smart parsing of host:port for prservice option - back to dumb option

Bug-AGL: SPEC-920

Change-Id: I1f4c9fd093fa350d19450a12ac1847885740596d
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Johann CAHIER <johann.cahier@iot.bzh>
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoagl-service: hvac: add HVAC service recipe 11/16811/3
Matt Ranostay [Thu, 27 Sep 2018 04:06:39 +0000 (07:06 +0300)]
agl-service: hvac: add HVAC service recipe

Bug-AGL: SPEC-1757
Change-Id: I4a47f10747eb7221b828957ca4f511bc4a541c2f
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoMove security manager database under /var/local 45/16445/4
Anton Gerasimov [Fri, 31 Aug 2018 16:56:21 +0000 (18:56 +0200)]
Move security manager database under /var/local

It is critical for agl-sota feature

Bug-AGL: SPEC-1717

Change-Id: Ia4060721e3a092d13934d3af575199e67e356e71
Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
5 years agoBump agl-service-can-low-level revision 43/16643/2
Romain Forlot [Fri, 14 Sep 2018 14:25:40 +0000 (16:25 +0200)]
Bump agl-service-can-low-level revision

3e6d3fa - Reach fixture files in all cases.
0171561 - Cleaning, set up binding version in config.cmake

Change-Id: I68878acbb1e737edbdf88afc5eac83248e56c52d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>