AGL/meta-agl.git
5 years agometa-agl-bsp: recipes-kernel: linux: Add USB host driver 99/22099/2
Corentin Labbe [Tue, 6 Aug 2019 12:29:22 +0000 (12:29 +0000)]
meta-agl-bsp: recipes-kernel: linux: Add USB host driver

Both qemuarm and qemuarm64 builds lack USB drivers.
This patch enable basic USB drivers necessary for them.

Change-Id: I35064b0b4018c0953c609cebcab102b898d04f70
Bug-AGL: SPEC-2722
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
5 years agomachine: Add readme for ebisu 33/22033/2
Pierre Marzin [Tue, 30 Jul 2019 15:24:05 +0000 (17:24 +0200)]
machine: Add readme for ebisu

Bug-AGL: SPEC-1902

Change-Id: I73fcf4da0e96497ee98a043bdc8d7cc1da1b11a6
Signed-off-by: Pierre Marzin <pierre.marzin@iot.bzh>
5 years agoUpdate waltham-transmitter patches to weston 5.0 & 6.0 51/22051/2
Veeresh Kadasani [Mon, 29 Jul 2019 08:29:20 +0000 (17:29 +0900)]
Update waltham-transmitter patches to weston 5.0 & 6.0

Change-Id: Idedada02d63914f247a137d031e44b15bef16134
Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
5 years agowayland-ivi-extension: disable building EGLWLMockNavigation example 17/22017/2
Scott Murray [Mon, 29 Jul 2019 20:29:53 +0000 (20:29 +0000)]
wayland-ivi-extension: disable building EGLWLMockNavigation example

Disable building the EGLWLMockNavigation in wayland-ivi-extension to
avoid needing to patch it to build for the TI platforms.  This fixes
the issue of meta-agl-bsp/meta-ti breaking non-graphics profile builds
like the telematics profile, and seems reasonable since there are no
known users inside AGL.  Since it is no longer needed, also remove the
offending patch from meta-agl-bsp/meta-ti.

Bug-AGL: SPEC-2677

Change-Id: If87c3c238e880d01f99401ea4610616656f16185
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoMove master to icefish after branching halibut 68/22068/2
Jan-Simon Möller [Thu, 1 Aug 2019 22:19:02 +0000 (00:19 +0200)]
Move master to icefish after branching halibut

After we branched halibut the master branch is now
open for Itchy Icefish.

Change-Id: If664ab1591109927856f80ab81ef59b826d0bfbe
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoChange user/group id for xuser 18/21918/4
Ronan Le Martret [Fri, 19 Jul 2019 15:38:18 +0000 (17:38 +0200)]
Change user/group id for xuser

1002 uid/gid is already used by an other user/group.

Bug-AGL: SPEC-2500

Change-Id: I4000fb019b1aa72d509510e2998f3f3d5d349bf9
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agoAdd default value for passwd and group table 17/21917/4
Ronan Le Martret [Fri, 19 Jul 2019 15:30:57 +0000 (17:30 +0200)]
Add default value for passwd and group table

If someone want to add a value to USERADD_UID_TABLES , USERADD_GID_TABLES,
the default value must be set.
If not the AGL table won't be scan.

Bug-AGL: SPEC-2500

Change-Id: I2325acdc61f6a5f840476b4c96734aed0a5c5744
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agometa-rcar-gen3-adas: improve BBFILE description 42/22042/2
Harunobu Kurokawa [Thu, 1 Aug 2019 01:24:55 +0000 (10:24 +0900)]
meta-rcar-gen3-adas: improve BBFILE description

To avoid the followings warning.
WARNING: No bb files matched BBFILE_PATTERN_rcar-gen3-cogent

Bug-AGL: SPEC-2708

Change-Id: I4bebc3203f947834b9264b4f79b0856c908af493
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
5 years agoaf-binder: Fix error in synchronous calls 26/22026/2
José Bollo [Tue, 30 Jul 2019 07:53:36 +0000 (09:53 +0200)]
af-binder: Fix error in synchronous calls

There fixes a bug with an inversion between info
and error in implementation of synchronous calls,
leading to bad detection of errors.

Includes:
 * 6bb714c afb-xreq: Remove field 'listener'
 * d325856 afb-binding.h: Ensure json-c/json.h is sourced
 * 056c53d AFB.js: Improve default token discovery
 * daecef1 supervisor: Setup services for local API use
 * 687d90d Fix detection of error in call synchronous

Bug-AGL: SPEC-2697

Change-Id: I20cf2d5219e7cc962862b604e642610b0f8a75b1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agobluez5: add obex.service.d conf to fix smack label issues 20/22020/3
Matt Ranostay [Tue, 30 Jul 2019 00:38:48 +0000 (03:38 +0300)]
bluez5: add obex.service.d conf to fix smack label issues

All data transfer from obexd need to be located in a
direcory that has a User::App-Shared label for bindings
to be able to access them. This is done by moving the TMPDIR
to /run/user/UID/usrshr

Bug-AGL: SPEC-2695
Change-Id: I076eb89d0ed14af67811d497217db583e4f5902b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agolightmediascanner: remove user media directories scanning 13/22013/1
Matt Ranostay [Mon, 29 Jul 2019 17:24:22 +0000 (20:24 +0300)]
lightmediascanner: remove user media directories scanning

Since lightmediascanner is now a system service it shouldn't
scan user directories of the running user.  For any demo uses
of preloaded media it should be put in a directory under /media

Bug-AGL: SPEC-2655
Change-Id: Ib62527f0742673081e1f225e98fe7eff90738e0e
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agorecipes-multimedia: lightmediascanner: move database to globally accessible area 90/21990/2
Matt Ranostay [Thu, 25 Jul 2019 23:54:29 +0000 (02:54 +0300)]
recipes-multimedia: lightmediascanner: move database to globally accessible area

On runtime the agl-service-mediaplayer needs to access the sqlite3
database from lightmediascanner. Thus the database needs to be
in an accessible location, and with the correct permissions.

Bug-AGL: SPEC-2655
Change-Id: Ia1fc9ce7fa2f782ebc1784e130152baebb441cad
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agointel-corei7-64: Remove ttyS2 from SERIAL_CONSOLES 89/21989/1
Scott Murray [Fri, 26 Jul 2019 00:01:50 +0000 (20:01 -0400)]
intel-corei7-64: Remove ttyS2 from SERIAL_CONSOLES

Remove ttyS2 from SERIAL_CONSOLES in the intel-corei7-64 include file.
This quiets the log spamming on Up^2 from the device not being present.
The commit that added ttyS2 to SERIAL_CONSOLES in meta-intel (61634f8)
does not explain what boards need it, but since neither the minnowboard
or Up^2 do, not having it by default seems reasonable.

Bug-AGL: SPEC-2678

Change-Id: I9afd1584dd7b92e8d15363c3119b770c592b3c52
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoEnable eglfs for QT based application in cluster profile 15/21815/5
Ouyang Jun [Thu, 4 Jul 2019 13:06:44 +0000 (06:06 -0700)]
Enable eglfs for QT based application in cluster profile

Platform eglfs should be enabled if using a qtwayland
compositor instead of weston.

Bug-AGL: SPEC-2487

Signed-off-by: Ouyang Jun <ouyangj.fnst@cn.fujitsu.com>
Signed-off-by: Zhou Mingying <zhoumy@cn.fujitsu.com>
Signed-off-by: Liu Wenlong <liuwl.fnst@cn.fujitsu.com>
Change-Id: Ic4d35999ea5f3f08b7a47baa5cf2f48bc01df6ee

5 years agoPost-release bump of distro config 58/21958/1
Jan-Simon Möller [Thu, 25 Jul 2019 12:32:03 +0000 (14:32 +0200)]
Post-release bump of distro config

Change-Id: I0f4c7e2b6747a18f7f13f5a4d0851808b5019221
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoFix i.MX6 multiple package tuning problem 52/21952/2
Scott Murray [Wed, 24 Jul 2019 20:17:43 +0000 (16:17 -0400)]
Fix i.MX6 multiple package tuning problem

Update the i.MX6 machine definition include files to disable the
dynamic package architecture logic in meta-freescale, as it conflicts
with AGL's setting of DEFAULTTUNE and results in a split package feed.

Bug-AGL: SPEC-2665

Change-Id: I66ff03b0bc48b3b768b9ec88c907eaa95e1a2b00
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoBump cmake-apps-module revision 60/21860/5
Frederic Marec [Fri, 12 Jul 2019 11:51:22 +0000 (13:51 +0200)]
Bump cmake-apps-module revision

Bump revision following gerrit review 21859

bd9e1c9 Fix new target test-tree
d9af887 Add automatic test tree creation
5a26df7 02-variables.cmake: Fix wrong variable tested
7593f0f Recurse path when using fallback zip tool
4e1d47b CMake Nav Panel: Changed configuration title
afba79c CMake project arch: Fixed title to match nav panel
c26a064 CMake Configuring: Updated topic title.
b99684d CMake Overview: Added TOC links and edits.
0c10393 Book manual updates for CMake Templates
f46dcf2 02-variables.cmake: project options for 3.12.4
1e0f297 02-variables.cmake: project options for 3.12.4
3490ab7 02-variables.cmake: warns - unset project options
9ad5e65 02-variables.cmake: fix project cmake-commands
74fd1a5 Fix cmake-apps-module document typo.
2345e80 CMake: Complete re-write of the CMake topic.
9c07127 CMake Topic book: Updated for the new file names.
2710740 CMake Section: Complete re-write.
16829a3 cmake-apps-module: New file names.
a6daa45 autobuild: fix warnings due to cp command exit code
bcdefaf docs: add yaml book
f3ce787 Avoid a target to link against itself

Bug-AGL: SPEC-2040

Change-Id: I51d60cf572eb2a9a49ed25d3bb162c4f70b0b316
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agorecipes-multimedia: lightmediascanner: switch from user dbus session to system 47/21947/4
Matt Ranostay [Mon, 22 Jul 2019 20:26:40 +0000 (23:26 +0300)]
recipes-multimedia: lightmediascanner: switch from user dbus session to system

To avoid multiple instances of lightmediascanner from being created
it should run only once in the system dbus session.

Bug-AGL: SPEC-2655
Change-Id: I6c9510926f82ec9eb5625d63d08998a145504227
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agobcm2835-bootfiles.bbappend: Support Raspberry Pi 4 45/21945/2
Leon Anavi [Tue, 23 Jul 2019 16:17:29 +0000 (19:17 +0300)]
bcm2835-bootfiles.bbappend: Support Raspberry Pi 4

Use different bootfiles if the machine has been set to the new
Raspberry Pi 4 and keep the old files for Raspberry Pi 3.

Bug-AGL: SPEC-2656

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: I3cbacc45c0f82ce2c70641c008ad2975a9e58fbd

5 years agorpi-config_git.bbappend: Update for Raspberry Pi 4 44/21944/2
Leon Anavi [Tue, 23 Jul 2019 16:15:47 +0000 (19:15 +0300)]
rpi-config_git.bbappend: Update for Raspberry Pi 4

Extend the deploy task to support Rasppberry Pi 4.

Bug-AGL: SPEC-2656

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: I3a166a873b431539e154ef6a2b1e69df02a0f2a3

5 years agou-boot_2019.07: Bootloader for Raspberry Pi 4 43/21943/2
Leon Anavi [Tue, 23 Jul 2019 16:13:15 +0000 (19:13 +0300)]
u-boot_2019.07: Bootloader for Raspberry Pi 4

Add U-Boot version that supports Raspberry Pi 4.

Bug-AGL: SPEC-2656

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: Ib550e38c7ecaf0ab2149b04666cffdcbaaf08134

5 years agolinux-raspberrypi: Add 4.19 for Raspberry Pi 4 42/21942/2
Leon Anavi [Tue, 23 Jul 2019 16:06:21 +0000 (19:06 +0300)]
linux-raspberrypi: Add 4.19 for Raspberry Pi 4

Add recipe for Linux kernel 4.19 for Raspberry Pi 4 and keep
4.14 for Raspberry Pi 3. The recipe for 4.19 is backported
from master branch of the upstream of meta-raspberrypi.

Bug-AGL: SPEC-2656

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: I93bbc5527383e26862894859bff6e44a6bc17966
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
5 years agoraspberrypi4.conf: Add machine definition 41/21941/2
Leon Anavi [Tue, 23 Jul 2019 15:57:26 +0000 (18:57 +0300)]
raspberrypi4.conf: Add machine definition

Add a new machine definition for Raspberry Pi 4 because it is
not present in branch thud of meta-raspberrypi. This machine
definition is taken from the master branch of the upstream of
Yocto/OE layer meta-raspberrypi.

Bug-AGL: SPEC-2656

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: I368f6c7107ca023da66ce60d2006984f8939cf00

5 years agotemplates: Add templates for Raspberry Pi 4 40/21940/2
Leon Anavi [Tue, 23 Jul 2019 15:55:23 +0000 (18:55 +0300)]
templates: Add templates for Raspberry Pi 4

Add local.conf and bblayears.conf templates for Raspberry Pi 4.

Bug-AGL: SPEC-2656

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: I51fb521e4cb8e963420cbe7c68272299a592840e

5 years agoagl-service-steering-wheel: update SRCREV 49/21949/2
Raquel Medina [Tue, 23 Jul 2019 12:52:53 +0000 (14:52 +0200)]
agl-service-steering-wheel: update SRCREV

The SRCREV update brings in the following commits:

6d5d619 autobuild: set execute permission for autobuild scripts
932a226 Fix build warning of typecast
e47b473 Change markdown syntax
07f4c99 autobuild: add autobuild scripts
c404f25 Revert "Change steering to systemd service for ces2019"
1fed2c5 Change steering to systemd service for ces2019

Bug-AGL: SPEC-2164
Change-Id: Ic9e47595cb2a76084d9cd60fffb21c36a338a8cb
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
5 years agoadd markdown documentation for all machines and features 13/18113/6
Stéphane Desneux [Tue, 20 Nov 2018 19:37:25 +0000 (20:37 +0100)]
add markdown documentation for all machines and features

THIS IS STILL WIP - not all features/machines are described

Bug-AGL: SPEC-1902

Change-Id: I9bd5a3f57946199e1da90cfbed020742710218a1
Signed-off-by: Stéphane Desneux <stephane.desneux@iot.bzh>
5 years agolinux-renesas: Add ADSP patch only for m3ulcb 34/21934/3
Pierre Marzin [Wed, 15 May 2019 14:20:24 +0000 (16:20 +0200)]
linux-renesas: Add ADSP patch only for m3ulcb

The patch are only used for the m3ulcb machine.

Bug-AGL: SPEC-2564

Change-Id: Idfca2b7a48b7a53efee6dcf2f21b0f8932d7b43d
Signed-off-by: Pierre Marzin <pierre.marzin@iot.bzh>
5 years agoebisu: Add the support of a custom setup script 33/21933/2
Pierre Marzin [Fri, 12 Jul 2019 09:27:52 +0000 (11:27 +0200)]
ebisu: Add the support of a custom setup script

Used to customise a setup to add specific stuff.

Bug-AGL: SPEC-2564

Change-Id: I8d18d026aaeb7c35a53164ea2f1a62f510ad4217
Signed-off-by: Pierre Marzin <pierre.marzin@iot.bzh>
5 years agoebisu: Use a specified path to integrate binaries 32/21932/2
Pierre Marzin [Tue, 25 Jun 2019 07:32:27 +0000 (09:32 +0200)]
ebisu: Use a specified path to integrate binaries

E3 binary should be ZIPped into one archive and the path to its location
should be exported to the environnement before setting up the AGL build.

Bug-AGL: SPEC-2564

Change-Id: Ie26ba0246e7fbd0fe923fcbe0f4b4160c6d7e0f2
Signed-off-by: Pierre Marzin <pierre.marzin@iot.bzh>
5 years agoebisu: Update setup fragment to copy binaries 31/21931/2
Pierre Marzin [Tue, 28 May 2019 15:41:19 +0000 (17:41 +0200)]
ebisu: Update setup fragment to copy binaries

Use copy_proprietary_softwares.sh script to manage the zip binaries
pasted into "$METADIR/binary-tmp".

Bug-AGL: SPEC-2564

Change-Id: I256d1200e03ab9a9482e29d7f42016f99c7ba16c
Signed-off-by: Pierre Marzin <pierre.marzin@iot.bzh>
5 years agomachine: Add new ebisu machine 30/21930/2
Pierre Marzin [Wed, 15 May 2019 07:36:08 +0000 (09:36 +0200)]
machine: Add new ebisu machine

* Add ebisu dependency within renesas bootfiles
* Delete rcar ADAS layers support
* Add weston video output config
* Add missing modules and gst plugin

Bug-AGL: SPEC-2564

Change-Id: I61a44f831d0bc55210847eade2a1eacc7599fa74
Signed-off-by: Pierre Marzin <pierre.marzin@iot.bzh>
5 years agoaf-binder: Fix circular broadcast of events 15/21915/2
José Bollo [Fri, 19 Jul 2019 08:10:58 +0000 (10:10 +0200)]
af-binder: Fix circular broadcast of events

Include changes:
 * 6fe59e2 uuid: Add module for UUID generation
 * 5b59688 afb-evt: Refactor processing of broadcasted events
 * 6dfeafe Tag broadcasted events with UUID and hop
 * 51ab7c2 Fix bad memory access at client disconnection

Bug-AGL: SPEC-2625

Change-Id: Ifa81293a783d5119d7a3d4c33598e1eb865e703c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoaglsetup: add -t|--topic and -V|--version options 92/21892/3
Stephane Desneux [Tue, 16 Jul 2019 17:23:50 +0000 (17:23 +0000)]
aglsetup: add -t|--topic and -V|--version options

New options are:
* -t|--topic   : add a 'topic' to current setup (default: empty)
* -V|--version : display aglsetup version

The topic value can be any string and it is propagated to aglsetup.manifest,
which in turn is used by distro-build-manifest to put it in DIST_BUILD_TOPIC
variable in all build manifests (deploy dir, target image, sdk)

Using the --topic option to specify a unique identifier will help to provide a
common ID for all builds in the same "family" even if features and layers differ.

For this purpose, a topic could be:
* a gerrit review id + a patchset number
* a project name (git repo) + a Change-Id
* a random UUID
* ...

When run with -V or --version, aglsetup writes its version on stdout and sets
the variable AGLSETUP_VERSION then exits. As aglsetup can only be called by
being sourced, the AGLSETUP_VERSION variable is finally set in the caller
environment.

The version can be used for various purposes. The immediate goal is to detect
if --topic option is supported or not.

Bug-AGL: SPEC-2646

Change-Id: I0b68dfa297509dac07e9b2942948631cfc13c319
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agodistro-build-manifest: add DIST_BUILD_TS in all manifests 91/21891/1
Stephane Desneux [Tue, 16 Jul 2019 16:39:48 +0000 (16:39 +0000)]
distro-build-manifest: add DIST_BUILD_TS in all manifests

The build timestamp is added to build manifests deployed in target images and SDK.

Also, this patch adds a new option '-t|--timestamp' to distro-manifest-generator.sh
to let the recipe pass the same timestamp as the one used for the image suffix
(in Yocto 2.6/Thud, DATETIME is used). So DIST_BUILD_TS should have the same value
as the image version suffix.

Bug-AGL: SPEC-2649

Change-Id: I2a9d11b2ce59753bca31ebb8e82d46c224110d68
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agodistro-build-manifest: fix incorrect DIST_LAYERS 90/21890/1
Stephane Desneux [Tue, 16 Jul 2019 16:12:35 +0000 (16:12 +0000)]
distro-build-manifest: fix incorrect DIST_LAYERS

Using repo tool, a .repo subfolder is created beside the cloned git repositories.
It contains also some git repositories (handled by repo tool).
But when enumerating the layers, those extra ".repo/xxxx" git repositories must
be ignored to get a consistent signature on layers.

This patch excludes hidden folders (starting by '.') from the search.

Bug-AGL: SPEC-2648

Change-Id: Ibee41d4efff0898d1bf67ab661ccdf70729b6211
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoPrepare Happy Halibut rc3 v7.99.3 78/21878/1 7.99.3 halibut/7.99.3 halibut_7.99.3
Jan-Simon Möller [Sat, 13 Jul 2019 15:50:03 +0000 (17:50 +0200)]
Prepare Happy Halibut rc3 v7.99.3

Bump the AGLVERSION and the AGLRELEASETYPE.

Change-Id: Ia2744798f717c59c28de520220a16d5d13e1a7cf
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoRevert "Fix rpi touchscreen support on master" 74/21874/3
Jan-Simon Moeller [Fri, 12 Jul 2019 21:08:32 +0000 (21:08 +0000)]
Revert "Fix rpi touchscreen support on master"

We need to reconsider this changeset. It seems to
produce a regression.

This reverts commit ccb667c35ffdea7a2bc1304750e6b22368cd55f7.

Change-Id: I42754a899e8530f4e18a069ed227f18a8d615801

5 years agoaf-binder: Fix of subscribe issue 70/21870/2
José Bollo [Fri, 12 Jul 2019 16:27:49 +0000 (18:27 +0200)]
af-binder: Fix of subscribe issue

Enforce serialization of messages, makes event really asynchronous,
and enforce (un)subscribe in living request.

Include the following changes:
 * 909893e afb-evt: Improve compatibility to guppy
 * 248ec5d afb-evt: send events in separate job
 * c8cc0d6 Revert "afb-stub-ws: Allow unordered process of messages"
 * bc38af3 afb-xreq: Forbids (un)subscribes after reply
 * 0342cd1 afb-client-demo: Allow pipe of messages

Bug-AGL: SPEC-2215
Bug-AGL: SPEC-2219
Bug-AGL: SPEC-2542
Bug-AGL: SPEC-2599

Change-Id: I357aeb852e2041ac6056dd563dac42f29dadb52d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agonetboot: adjust SMACK label for /etc/resolv.conf 73/21873/2
Stephane Desneux [Fri, 12 Jul 2019 17:13:35 +0000 (17:13 +0000)]
netboot: adjust SMACK label for /etc/resolv.conf

When using netboot, the kernel is responsible for establishing the IP connection.
For this reason, connman is instructed to "forget" this boot interface and
/etc/resolv.conf is generated by the initrd script (from /proc/net/pnp).

This patch removes the previously set SMACK label 'System' so file has label _,
which makes it readable by any process.

Bug-AGL: SPEC-2640

Change-Id: I13704827434a795aab2264755dc01ec796be8847
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoaf-binder: Fix supervision socket name 39/21839/1
José Bollo [Tue, 9 Jul 2019 14:53:33 +0000 (16:53 +0200)]
af-binder: Fix supervision socket name

A typo in the recipe of af-binder avoided
to correctly define the supervision socket.

Bug-AGL: SPEC-2621

Change-Id: I47dcd94e5454d85d9b5994d4f82a0f8abb400000
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoagl-service-hvac: Install hvac.json into /etc 08/21808/3
Harunobu Kurokawa [Thu, 4 Jul 2019 08:35:15 +0000 (17:35 +0900)]
agl-service-hvac: Install hvac.json into /etc

agl-service-hvac has hvac.json file to set LED and
CAN_DEV parameter, however this file is not installed.

v2 move to main bb recipe file.
  fix wrong discription from WORKDIR to {S}.

Bug-AGL: SPEC-2600

Change-Id: I8c0a416b3196b67cbb131d9351a1d20cc2dfe74f
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
5 years agoFlip distro config post rc2 33/21833/2
Jan-Simon Möller [Mon, 8 Jul 2019 13:39:25 +0000 (15:39 +0200)]
Flip distro config post rc2

Change the distro config to post-RC2 .

Change-Id: I5135ab220d2b38a5fa049661f2346eed010648a5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agonetboot: systemd must mount /tmp and /run 07/21807/2
Stephane Desneux [Wed, 3 Jul 2019 14:44:09 +0000 (14:44 +0000)]
netboot: systemd must mount /tmp and /run

When using netboot, the initrd script mounts /tmp and /run before pivoting on
the new rootfs and then running systemd. As a consequence, systemd doesn't try
to remount /tmp or /run (and the correct smack labels are not applied on /tmp
and /run, leading to many issues).

This patch unmounts /tmp and /run just before running systemd which will
then mount them with correct labels.

Bug-AGL: SPEC-2596

Change-Id: I4cd7b67f04c232a6e48c777fb5fefa6c46f6744a
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoChange the AGL mirror setup following the server change 17/21817/2
Jan-Simon Möller [Thu, 4 Jul 2019 15:20:23 +0000 (17:20 +0200)]
Change the AGL mirror setup following the server change

The download server is currently http only.
Add a fallback option to the MIRRORS in the distro configuration.

Change-Id: Ic5403d921463a4f6aea813a150950c0d023aa77d
Bug-AGL: SPEC-2604
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoagl-core-connectivity: add avahi-daemon when agl-devel feature is set 06/21806/1
Stephane Desneux [Wed, 3 Jul 2019 14:21:08 +0000 (14:21 +0000)]
agl-core-connectivity: add avahi-daemon when agl-devel feature is set

Accessing the boards using .local addresses is convenient. But avahi-daemon is
not pulled explicitely in images.

This patch adds packagegroup-base-zeroconf (containing avahi-daemon) in the
core image only when agl-devel feature is set and zeroconf is enabled in
DISTRO_FEATURES

Bug-AGL: SPEC-2592

Change-Id: Iea899d98cd0d8628f9533641f7b42c04f4580c64
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoPrepare Happy Halibut rc2 release 98/21798/1 7.99.2 halibut/7.99.2 halibut_7.99.2
Jan-Simon Möller [Sun, 30 Jun 2019 22:20:46 +0000 (00:20 +0200)]
Prepare Happy Halibut rc2 release

Change the distro configuration in preparation of HH rc2.

Change-Id: I6ca53cb2a2981c1c63133efd6d0222ede64f09f8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agorecipes-core: systemd: move canbus-can.network script 78/21778/2
Matt Ranostay [Thu, 27 Jun 2019 16:17:08 +0000 (19:17 +0300)]
recipes-core: systemd: move canbus-can.network script

Move canbus network script from meta-agl-profile-telematics to
meta-profile-core. Since this is useful for more than just
telematics

Bug-AGL: SPEC-2580
Change-Id: I93666d87f1fb3eb037743d2858a8757d6939c5e3
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agolinux-agl: change aloop to a module instead of built-in 70/21770/2
Scott Murray [Thu, 27 Jun 2019 14:10:46 +0000 (10:10 -0400)]
linux-agl: change aloop to a module instead of built-in

Rename the 4a-sound.cfg fragment to the more generic sound.cfg, and
change CONFIG_SND_ALOOP to module, not built-in.  This still keeps it
available if something ends up needing it.

Bug-AGL: SPEC-2555

Change-Id: Ib0554800dc704d19b48a7e041d4f2b60a1b42192
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoagl-hmi-framework: remove virtual/navigation over-ride 60/21760/1
Scott Murray [Thu, 27 Jun 2019 01:10:53 +0000 (21:10 -0400)]
agl-hmi-framework: remove virtual/navigation over-ride

Remove dangling PREFERRED_PROVIDER over-ride of virtual/navigation that
was forcing the use of the older navigation application instead of the
setting of the newer ondemandnavi application done in the distro
configuration.

Bug-AGL: SPEC-2576

Change-Id: Id6f7d6636bef5cf40dc5085b02030acd0e7d494d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agortl-sdr: Install tweaked udev rules 54/21754/1
Scott Murray [Wed, 26 Jun 2019 21:45:29 +0000 (17:45 -0400)]
rtl-sdr: Install tweaked udev rules

To enable agl-service-radio to access the RTL-SDR USB devices, install
the provided rtl-sdr.rules file in /etc/udev/rules.d, modifying it to
tweak the device permissions, group, and SMACK label to meet the
requirements for the new application framework audio permission.

Bug-AGL: SPEC-2573

Change-Id: I22e2c624b8c57df0b5932ba7f8a377ae2c0d9566
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoAppend a new empty line to features' local template file when setting up AGL 07/21707/2
Bechir Mghirbi [Mon, 24 Jun 2019 08:53:05 +0000 (10:53 +0200)]
Append a new empty line to features' local template file when setting up AGL

A missing empty line at the end of a feature's local template
file will lead to a ParseError error.

This patchset will automatically append a new line
at the end of the feature's local template file when
setting up AGL.

Bug-AGL: SPEC-2563
Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com>
Change-Id: Ica9decdb0bda182de7e25ace4fca6a9f6f7db5ff

5 years agoagl-service-unicens: add missing DEPENDS 35/21735/1
Scott Murray [Tue, 25 Jun 2019 23:06:57 +0000 (19:06 -0400)]
agl-service-unicens: add missing DEPENDS

agl-service-unicens now needs libafb-helpers to build, add it to DEPENDS
in its recipe.

Bug-AGL: SPEC-2562

Change-Id: Ief299b51bffb288f2143bfae3cc7a646ba93b43b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoMove the agl-service-radio to the graphical profile 54/21554/4
Jan-Simon Möller [Sun, 9 Jun 2019 17:58:25 +0000 (19:58 +0200)]
Move the agl-service-radio to the graphical profile

The agl-service-radio relies on gstreamer. Unfortunately the gstreamer recipe is currently
setup to also pull-in wayland (due to a compile-flag if wayland is in DISTRO_FEATURES).

To keep the distro aligned, we don't want to change the DISTRO_FEATURES between the profiles, thus we
move the agl-service radio to the graphical profile where we include weston anyway by default.

For now this means there is no radio service (or mediaplayer service) w/o wayland installed as well.
In case we get this requirement, we'll have to work on the gstreamer recipe and its split.

v2: fix bbapend in meta-agl-bsp/meta-rcar-gen3
v3: put packagegroup-agl-graphical-multimedia.bbappend in graphical profile (not the best place IMHO)
    This fixes the non-graphical build.

Bug-AGL: SPEC-2500

Change-Id: I5ebec7d7713510f3fcd50ae425d7f8cbb6328016
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoSPEC-2376: Add config for QEMU arm kernels 62/21662/2
Corentin Labbe [Mon, 17 Jun 2019 13:18:06 +0000 (13:18 +0000)]
SPEC-2376: Add config for QEMU arm kernels

The default yocto qemuarm machine is versatilepb which is not the right
choice for AGL (ex: Max 256M of RAM).
This patchs change qemuarm configs for using the virt machine.

Change-Id: Ib5e0ae801ba152318a2455763b1a2f1020d1858e
Bug-AGL: SPEC-2376
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
5 years agoAdd support for nbd protocol v3 74/21674/4
Ronan Le Martret [Tue, 18 Jun 2019 12:40:30 +0000 (14:40 +0200)]
Add support for nbd protocol v3

Add a new cmdline argument using option 'nbd.v3' that could be parsed by the initrd
script used for netboot.

Bug-AGL: SPEC-1423

Change-Id: I1cd189c343672631feda5bcee2e393eb46b9d000
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agorecipes-apis: agl-service-windowmanager: update SRCREV 68/21668/2
Raquel Medina [Mon, 17 Jun 2019 15:25:33 +0000 (17:25 +0200)]
recipes-apis: agl-service-windowmanager: update SRCREV

* LayerControl: return error if surface is not ready

Bug-AGL: SPEC-2291
Change-Id: Iac8596fdb2aeac29c9bb47db906abad4d2498fc8
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
5 years agodistro-manifest-generator: enhance git repos detection 79/21679/2
Stephane Desneux [Wed, 19 Jun 2019 16:16:07 +0000 (16:16 +0000)]
distro-manifest-generator: enhance git repos detection

Following recent change 334a201 (#21619), it's now necessary to
explore the layers folder to find git repositories.

But when the build directory is a subfolder of $METADIR (repo folder),
'find' digs too deeply to find git repositories.

This patch adds some limits for 'find' to dig into subfolders:
* only find "top" git repos (no git submodules)
* limit the search depth to 2

Bug-AGL: SPEC-2450

Change-Id: Idd907737673d196cc8ba157a5c49492119efeb88
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agometa-rcar-gen3/setup_mm_packages.sh: always clean workdir 84/21684/2
Stephane Desneux [Thu, 20 Jun 2019 07:41:04 +0000 (07:41 +0000)]
meta-rcar-gen3/setup_mm_packages.sh: always clean workdir

The script setup_mm_packages.sh setups a temp dir to extract proprietary
drivers for Renesas BSP, but it's not re-entrant: the temp dir is not cleaned
after execution.

With the introduction of the change 9bc6c25 (hotfix for GFX issues), more cleanup
is needed to avoid duplicate zips detection in the copy script located in
meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh

This change makes some initial cleanup in the workdir (in case of transition
from a previous script without this patch) and also removes the workdir at the end

Bug-AGL: SPEC-2253, SPEC-2480

Change-Id: Ia95f9045d8a695d550a061710a17676088a92c0a
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoAdd cubox-i and nitrogen6x i.MX6 machines 71/21671/3
Scott Murray [Wed, 12 Jun 2019 19:34:43 +0000 (15:34 -0400)]
Add cubox-i and nitrogen6x i.MX6 machines

Add the cubox-i (covering SolidRun Cubox-i, Hummingboard Gate and
Edge), and nitrogen6x (covering Nitrogen 6x and SABRE Lite) machine
definitions.

Note that support for the Broadcom Bluetooth chipset on the SolidRun
i.MX6 SOM is currently missing, as it requires firmware that is not
available in either the linux-firmware package or from the firmware
packages provided by meta-freescale.

Bug-AGL: SPEC-2517

Change-Id: If7bdb9f1af9bb67dba5c1ff836a6d3b04160fefd
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agometa-agl-bsp: Changes to get imx6qdlsabreauto working with etnaviv 70/21670/3
Scott Murray [Wed, 12 Jun 2019 19:15:17 +0000 (15:15 -0400)]
meta-agl-bsp: Changes to get imx6qdlsabreauto working with etnaviv

Update imx6qdlsabreauto configuration to use open source etnaviv GPU
driver instead of Vivante.  The previously required weston-ini-conf
has been removed as it is not required with etnaviv, and a bbappend
has been added for the linux-fslc kernel that this configuration uses
so it will pull in the AGL kernel bits.  Additionally, the kernel
configuration for linux-fslc is tweaked with config fragments to
better match the other AGL platforms.

Bug-AGL: SPEC-1674, SPEC-2502

Change-Id: Ic40d310b48405ccc7d1435f0fc9f162a129cffe9
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agometa-agl-profile-core: Add packagegroup-machine-base to images 72/21672/3
Scott Murray [Mon, 17 Jun 2019 18:51:36 +0000 (14:51 -0400)]
meta-agl-profile-core: Add packagegroup-machine-base to images

Add packagegroup-machine-base to packagegroup-agl-image-{boot,minimal}.
This replicates its use in oe-core, where it gets pulled in via
packagegroup-base into the core-image definition.  AGL over-rides
CORE_IMAGE_BASE_INSTALL, losing packagegroup-base entirely.  However,
it is useful to use packagegroup-machine-base to pick up any BSP
definitions of MACHINE_EXTRA_RDEPENDS and MACHINE_EXTRA_RRECOMMENDS,
which some of the machines defined in meta-freescale-3rdparty use for
non-essential firmware for onboard peripherals.

Bug-AGL: SPEC-2517

Change-Id: I1ee07955dc60da1388b21b7a531dab8483935194
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoReworked the automount script 77/21677/2
Loïc Collignon [Tue, 18 Jun 2019 15:44:38 +0000 (17:44 +0200)]
Reworked the automount script

You have to tweak mount options on a per filesystem basis so that the
permissions set on the mount point allow the mediascanner and
mediaplayer to read files.

Bug-AGL: SPEC-545

Change-Id: I2579bf4b8be3d0bc05f08f762bb751d4f54651a8
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
5 years agometa-agl-profile-core: recipes-connectivity: ofono: add SYSTEMD_AUTO_ENABLE to bbappend 16/21616/3
Matt Ranostay [Thu, 13 Jun 2019 01:26:10 +0000 (04:26 +0300)]
meta-agl-profile-core: recipes-connectivity: ofono: add SYSTEMD_AUTO_ENABLE to bbappend

Re-enable ofono to be started on system bootup.

Bug-AGL: SPEC-2512
Change-Id: Ia6638a3f4baf5e491e960c0c6e9ec414a6baee0b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agometa-agl-profile-core: recipes-connectivity: bluez: add notification status 15/21615/3
Matt Ranostay [Thu, 13 Jun 2019 00:16:55 +0000 (03:16 +0300)]
meta-agl-profile-core: recipes-connectivity: bluez: add notification status

Add 'notfication' reporting for the Status property via the org.bluez.obex.Message1
interface.

Bug-AGL: SPEC-2512
Upstream-Status: PENDING
Change-Id: Idce51acdc6f0718f07cc2bb669c4bc71686588ee
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agometa-agl-profile-core: recipes-connectivity: bluez: remove outdated patch 14/21614/2
Matt Ranostay [Thu, 13 Jun 2019 00:12:31 +0000 (03:12 +0300)]
meta-agl-profile-core: recipes-connectivity: bluez: remove outdated patch

Remove compiler fix for version 5.22 which is no longer within the tree.

Bug-AGL: SPEC-2512
Change-Id: I8ffc73ba108016214dab5da744339fc4e3da7c54
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoaf-main: Version bump for running as agl-driver 57/21657/8
José Bollo [Fri, 14 Jun 2019 09:58:56 +0000 (11:58 +0200)]
af-main: Version bump for running as agl-driver

Integrates the following changes:
  * 3284913 Introduce dbus config of services
  * 77bd420 Introduce platform services
  * 533d5a1 Fix synchronisation of user setup

Bug-AGL: SPEC-1015
Bug-AGL: SPEC-1016

Change-Id: I3fd000a9fbdd73317b565d69ba2d8fbd49dc4e7f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoagl-service-ca-low-level: run at platform scope 56/21656/8
José Bollo [Fri, 14 Jun 2019 09:56:57 +0000 (11:56 +0200)]
agl-service-ca-low-level: run at platform scope

Integrate running at platform scope.

Bug-AGL: SPEC-2006

Change-Id: I7d47512c0f7b29f91be9c18144400b02f62b562f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agolibafb-helpers: Fix bug SPEC-2520 55/21655/8
José Bollo [Fri, 14 Jun 2019 09:55:10 +0000 (11:55 +0200)]
libafb-helpers: Fix bug SPEC-2520

This integrates the fix of the homescreen crashing
after recent audiomixer change.

Bug-AGL: SPEC-2520

Change-Id: Ia9899cbe23fc88179d26d8069c3e12463bdda5b6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agodbus-cynara: Fix upgrading to dbus-1.12.10 54/21654/9
Jose Bollo [Wed, 10 Apr 2019 13:24:12 +0000 (15:24 +0200)]
dbus-cynara: Fix upgrading to dbus-1.12.10

Migration to yocto/oe/thud implied the shift
to dbus-1.12.10. This fixes some upgrading
concern.

Bug-AGL: SPEC-1837

Change-Id: Iaa9c1493e2fbc2a014aae1315e4e4a31891178cb
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoaf-platform-setup: Add recipe for setting platform 53/21653/10
José Bollo [Tue, 11 Jun 2019 20:58:40 +0000 (22:58 +0200)]
af-platform-setup: Add recipe for setting platform

The Application Framework has implications
on platform setup. This commit introduces a
recipe that at the end would group all these
required setup at on place.

Bug-AGL: SPEC-1015

Change-Id: I45904ba269883329295bcbc3c70427edbfdd674f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoEnforce separation of users using UMASK 52/21652/13
José Bollo [Tue, 11 Jun 2019 10:17:04 +0000 (12:17 +0200)]
Enforce separation of users using UMASK

Users should not be able to read other user content.
Use Umask to enforce that.

Bug-AGL: SPEC-1016

Change-Id: Ibb61b7a6a7617117a499650c5bd70bdd5af3c328
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agolightmediascanner: change db directory 51/21651/8
José Bollo [Thu, 23 May 2019 16:06:38 +0000 (18:06 +0200)]
lightmediascanner: change db directory

Lightmediascanner runs for one user and should not be able
to look over the the shoulder of other users. So it should
not run as root anymore.

At the moment, lightmediascanner is a user daemon started in the
user session by systemd, without capabilities but with the Smack
label "System".

To allow the service-mediascanner to access its database,
the db must be set in a specific place with the User::App-shared
label.

Bug-AGL: SPEC-1016

Change-Id: Id4546e2567c4f5a0a5139d274d35d11e4879e42e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoaf-main: Remove afm-user-daemon and bump version 50/21650/4
José Bollo [Fri, 17 May 2019 15:28:05 +0000 (17:28 +0200)]
af-main: Remove afm-user-daemon and bump version

The process afm-user-daemon is no more used within AGL.
So it is better to remove its installation.

Integrates the following changes:
  * d0d4dcd Allow setting of libexec location
  * 2db5d23 Fix outdated application path.
  * cc93752 Refactor of system and user setup
  * 316b19f Remove unused definitions
  * 401188a Use definition of afm_prefix
  * efabde7 afm-unit conf: Remove useless tests
  * 405ba31 afm-user-session: moves in libexec directory
  * 07a9590 afm-unit: Simplify the Makefile
  * 44b1bdc afm-unit.conf: cleanup of generation
  * 2f3486b gitignore: Add ignore of EXTERNALSRC's artifacts
  * 5b801a3 afm-unit.conf: Refactor its generation
  * ce5c20d afm-user-daemon: Remove it by default

Bug-AGL: SPEC-2006
Bug-AGL: SPEC-2360
Bug-AGL: SPEC-2367
Bug-AGL: SPEC-2436
Bug-AGL: SPEC-2437

Change-Id: Ib77ecc2e9aabb8a3c5cef7266c3f5b19205939b9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoaf-main: Add dependency to m4 and sed 49/21649/3
José Bollo [Tue, 21 May 2019 11:26:53 +0000 (13:26 +0200)]
af-main: Add dependency to m4 and sed

The file /etc/afm-unit.conf was genrated from
temporary files manually generated. This was
inefficient and error prone.

This was reworked to enable a straight forward
process that directly calls m4 and sed in the
CMAKE files.

Current commit adapt the recipe to that new process
by adding the new build dependencies.

Bug-AGL: SPEC-2436

Change-Id: I662f7620beccc53b6abe58c14c82ac94ae818491
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoImprove management of the group display 48/21648/3
José Bollo [Tue, 30 Apr 2019 20:59:14 +0000 (22:59 +0200)]
Improve management of the group display

The group display protects accesses to display
resources. When running as user, it should not be acquired
by default but on need.

Bug-AGL: SPEC-2006

Change-Id: I7c188720e5cfcb65f02af25d0e4262f59300d16a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoaf-main: Drop capabilities of applications 47/21647/3
José Bollo [Thu, 20 Dec 2018 21:39:21 +0000 (22:39 +0100)]
af-main: Drop capabilities of applications

This removes all capabilities of applications
installed and launched by the framework.

Bug-AGL: SPEC-2006

Includes the following changes:

 * 20bf077 afm-unit.conf: Add widget specific environment
 * a44e304 afm-util: Remove legacy commands stop/resume
 * f7a3a6e API Overview: Changes to the file that introduces APIs.
 * 26dd0f8 API Reference Overview: Removed old "kristi" file, updated book
 * b4ca569 afm-unit: Restore removal of capabilities

Change-Id: I8c42d0b312aead668da03a987d0366b4ced73c70
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoaf-main: Improve readability 46/21646/3
José Bollo [Thu, 23 May 2019 07:37:32 +0000 (09:37 +0200)]
af-main: Improve readability

While tuning the recipe, it appears that
having long options helps to understand
the recipe.

Bug-AGL: SPEC-2437
Bug-AGL: SPEC-2006

Change-Id: Ie3d1b288db0d2db3159f1b3453a02db46e863c4f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoagl-image-minimal-crosssdk: add afb-helpers & appcontroller libs 29/21629/3
Thierry Bultel [Thu, 13 Jun 2019 13:51:22 +0000 (15:51 +0200)]
agl-image-minimal-crosssdk: add afb-helpers & appcontroller libs

Applications that no longer use the afb-helpers & appcontroller
as submodules must be buildable with a minimal SDK.

Bug-AGL: SPEC-2527

Change-Id: I31af05e2a9256db68394dcef88e424ecc8eb1ec2
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
5 years agodistro-build-manifest: fix DIST_LAYERS due to new layout 19/21619/2
Stephane Desneux [Thu, 13 Jun 2019 10:27:55 +0000 (10:27 +0000)]
distro-build-manifest: fix DIST_LAYERS due to new layout

New layout with subfolders causes incomplete DIST_LAYERS to be generated
in deploy/images/.../build-info.

This patches fixes how git repos are found in the layers directory.

Bug-AGL: SPEC-2450

Change-Id: I4b6a62b68064de12119e668522242677e11c65eb
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoBump qtaglextras 84/21584/5
Kazumasa Mitsunari [Tue, 11 Jun 2019 06:12:33 +0000 (15:12 +0900)]
Bump qtaglextras

This commit includes followings
a4d7197 Merge "Use new event for activating window"
171e9dc Fix compile error
d21de3d Use new event for activating window
462a0ca Merge "Exposed QMLApplicationEngine from AGLApplication"
26d3b8a Exposed QMLApplicationEngine from AGLApplication
c0d77c2 Improve Qt-ness of AGLApplication
02ce712 Add a public feature for wgtpkg-pack

Bug-AGL : SPEC-2474

Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Change-Id: I174142c35ecea4be12d805a3bbf753bc048ccfca

5 years agoweston: Remove user session login for weston 94/21594/7
José Bollo [Tue, 14 May 2019 14:11:58 +0000 (16:11 +0200)]
weston: Remove user session login for weston

Before that commit, the service weston was started as
user 'display' with a full setup of the user.
It means that all services normally started for user
started for weston: systemd-user, dbus, afm-user-daemon,
lightmediascanner (that is all at the moment). This is
useless and grabs resources.

This commit avoids to start a session for weston.
This saves resources. This changes is part of a set
of changes to run services as not root.

Bug-AGL: SPEC-545
Bug-AGL: SPEC-2492

Change-Id: If51d8fdf8c5e19d10151a2b96a79dc01bbb8ccb4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoaf-binder: Add recent improvements and fixes 31/21631/1
Bechir Mghirbi [Thu, 13 Jun 2019 14:41:37 +0000 (16:41 +0200)]
af-binder: Add recent improvements and fixes

Bump af-binder revision to include the following:
 * 5026438 Build af-binder-devtools-native using GCC-9.1.1
 * d6f6df8 afb-daemon: Add /tmp has fallback for uploads
 * f9c7430 jobs: Fix infinite wait lock
 * 02fe255 Fix afb document typo.
 * 4da9c71 afb-export: Fix requirement on multiple apis
 * 5d57096 coverage: Add test of AFB_DEBUG_WAIT
 * 216666e coverage: Allow to run coverage everywhere
 * d00bfe9 Allow to tune installation directories
 * 5214323 doc: Improve comment on asynchronous calls
 * 6401efb binding-wrap: Rework of context handling
 * 13457f6 samples: wrong parameter for get_new_board()
 * 78fcce2 Merge changes Id24d9bb0,I6807ed25
 * 92c9d33 change style initialization of struct afb_auth
 * b369498 missing full initialization for struct afb_verb_v3
 * a1e6d2c Merge "afb-migration-to-binding-v3: fix broken links"
 * a4cf888 afb-migration-to-binding-v3: fix broken links
 * 036629f Fix small issues
 * 8f12ffa coverage: Update Makefile
 * 6b2b09d Reordering of sample and tutorial bindings
 * 9cf1fce Fix rpm packaging following review 20926
 * c80873f Change agl-app-framework-binder.sh

BUG-AGL: SPEC-2482

Change-Id: Ied029a20edffd1ac2b347c94819f230a38d3d0b4
Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com>
5 years agoaglsetup: remove useless warning due to new layout 12/21612/1
Stephane Desneux [Wed, 12 Jun 2019 20:44:51 +0000 (20:44 +0000)]
aglsetup: remove useless warning due to new layout

Some warnings are emitter on stderr when enumerating layers with wildcards.
This patch removes the useless messages from the output because that may
be misinterpreted by the user.

Bug-AGL: SPEC-2450

Change-Id: I1fbde964e9a0824146a088868de9a464efccb4f1
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoaglsetup: be less restrictive on machines/features definitions 06/21606/1
Stephane Desneux [Wed, 12 Jun 2019 10:27:43 +0000 (10:27 +0000)]
aglsetup: be less restrictive on machines/features definitions

When a private definition for a machine or feature has to be maintained,
the easy way is to have an extra layer 'meta-xxxxxx' containing specific
definitions on top of AGL. This layer can be fetched beside other meta-agl repos.

In the past, aglsetup used to include any definition located in the $METADIR
folder ($METADIR/*/templates/...). With the new layout and change 2b3a44b,
a restriction has been put on folders matching 'meta-ag*', which is very restrictive.

This patch does something in between, by matching all folders 'meta-*'.
NB: with the new layout, this shouldn't include bsp layers or external layers
so it's pretty safe.

Bug-AGL: SPEC-2450

Change-Id: I459ea778380580e5b80685cc86779f36a232ac7c
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
5 years agoMerge "Do not pull pulseaudio-misc if pulseaudio is not enabled"
Jan-Simon Moeller [Tue, 11 Jun 2019 23:07:34 +0000 (23:07 +0000)]
Merge "Do not pull pulseaudio-misc if pulseaudio is not enabled"

5 years agoMerge "Import aglsetup templates and config for BBE"
Jan-Simon Moeller [Tue, 11 Jun 2019 23:06:42 +0000 (23:06 +0000)]
Merge "Import aglsetup templates and config for BBE"

5 years agoDo not pull pulseaudio-misc if pulseaudio is not enabled 02/21602/1
Jan-Simon Möller [Tue, 11 Jun 2019 23:04:29 +0000 (01:04 +0200)]
Do not pull pulseaudio-misc if pulseaudio is not enabled

This fixes a build issue on ti vayu

  Missing or unbuildable dependency chain was: ['agl-demo-platform', 'pulseaudio-misc', 'alsa-plugins-pulseaudio-conf']

Bug-AGL: SPEC-2473
Change-Id: I9f9c85893b30a8aa98a6da1e76440a0df5076fa2
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoUpdate weston ini file to adopt remoting plugin 23/21423/5
Harunobu Kurokawa [Thu, 23 May 2019 12:43:33 +0000 (21:43 +0900)]
Update weston ini file to adopt remoting plugin

Bug-AGL : SPEC-2420

To use remoting plugin, we should use new
section in weston.ini.

Example)

[remote-output]
name=remote-1
mode=384x368@30
host=192.168.10.30
port=5005

Man)
https://gitlab.freedesktop.org/wayland/weston/blob/master/man/weston-drm.man#L149

https://gitlab.freedesktop.org/wayland/weston/merge_requests/7

Change-Id: Ifc271867dd2b1f2fe1794a08af188006f7b7779b
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
5 years agoImport aglsetup templates and config for BBE 90/21590/3
Paul Barker [Tue, 11 Jun 2019 12:13:32 +0000 (12:13 +0000)]
Import aglsetup templates and config for BBE

The templates and config include files used with aglsetup.sh to build
for the Sancloud BBE are imported from the meta-sancloud layer. This
should make future maintenance easier.

The templates are updated to match the new repository structure at the
same time.

Bug-AGL: SPEC-2507

Change-Id: I2b4717bd79d949a12b13e6bfece152e82bb8114c
Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
5 years agoMerge "Post HH rc1 bump of distro config"
Jan-Simon Moeller [Tue, 11 Jun 2019 14:06:10 +0000 (14:06 +0000)]
Merge "Post HH rc1 bump of distro config"

5 years agoMerge "feature/agl-ci-*: include agl-pipewire instead of agl-audio-4a-framework"
Jan-Simon Moeller [Tue, 11 Jun 2019 13:53:58 +0000 (13:53 +0000)]
Merge "feature/agl-ci-*: include agl-pipewire instead of agl-audio-4a-framework"

5 years agoMerge "agl-service-mediaplayer: update recipe for pipewire"
Jan-Simon Moeller [Tue, 11 Jun 2019 13:53:58 +0000 (13:53 +0000)]
Merge "agl-service-mediaplayer: update recipe for pipewire"

5 years agoMerge "agl-core-services: build the radio service if pipewire is enabled"
Jan-Simon Moeller [Tue, 11 Jun 2019 13:53:58 +0000 (13:53 +0000)]
Merge "agl-core-services: build the radio service if pipewire is enabled"

5 years agoMerge "agl-core-multimedia: update for the pipewire transition"
Jan-Simon Moeller [Tue, 11 Jun 2019 13:53:58 +0000 (13:53 +0000)]
Merge "agl-core-multimedia: update for the pipewire transition"

5 years agoMerge "agl-service-radio: update recipe for pipewire"
Jan-Simon Moeller [Tue, 11 Jun 2019 13:53:58 +0000 (13:53 +0000)]
Merge "agl-service-radio: update recipe for pipewire"

5 years agoPost HH rc1 bump of distro config 89/21589/1
build.automotivelinux.org [Tue, 11 Jun 2019 11:47:29 +0000 (13:47 +0200)]
Post HH rc1 bump of distro config

Once we release rc1, the window for rc2 is open again.

Change-Id: Ic03710be9c8364d08ce8628e434c26388f3e39f2
Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
5 years agoMerge "Changes to support the repo clone rework"
Jan-Simon Moeller [Mon, 10 Jun 2019 19:25:13 +0000 (19:25 +0000)]
Merge "Changes to support the repo clone rework"

5 years agoChanges to support the repo clone rework 01/21501/5
Jan-Simon Möller [Wed, 5 Jun 2019 14:06:59 +0000 (16:06 +0200)]
Changes to support the repo clone rework

To be merged together with:
https://gerrit.automotivelinux.org/gerrit/#/c/AGL/AGL-repo/+/21389/

v2: fix the aglsetup script
v3: fix scripts to extract m3ulcb
v4: use single folder for BSPs

Bug-AGL: SPEC-2450

Change-Id: I3227896c68ec1413f55cf67ad8f15a7adfe87a52
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agofeature/agl-ci-*: include agl-pipewire instead of agl-audio-4a-framework 67/21567/2
George Kiagiadakis [Mon, 10 Jun 2019 07:51:26 +0000 (10:51 +0300)]
feature/agl-ci-*: include agl-pipewire instead of agl-audio-4a-framework

Bug-AGL: SPEC-2473

Change-Id: I2ff9ec3f5a55b32737c858c5eb2e835b582af0e4
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
5 years agoagl-service-mediaplayer: update recipe for pipewire 65/21565/3
George Kiagiadakis [Tue, 4 Jun 2019 15:35:52 +0000 (18:35 +0300)]
agl-service-mediaplayer: update recipe for pipewire

Only pipewire is supported now, therefore we don't
need the switches

Bug-AGL: SPEC-2473

Change-Id: Ia8e40556ae7f11483ebee54ed2926ae8e6878ebf
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>