AGL/meta-agl.git
4 years agoPrepare Happy Halibut v8.0.1 patch release 16/22316/2 8.0.1 halibut/8.0.1 halibut_8.0.1
Jan-Simon Moeller [Wed, 4 Sep 2019 11:51:38 +0000 (13:51 +0200)]
Prepare Happy Halibut v8.0.1 patch release

Change the distro configuration.

Change-Id: I4ea995a2b8504b30117dc514f55cc18b84bd116b
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agoagl_raspberrypi3.inc: Set CMA for SOTA 08/22308/2
Leon Anavi [Fri, 30 Aug 2019 16:01:45 +0000 (19:01 +0300)]
agl_raspberrypi3.inc: Set CMA for SOTA

Add CMA to the kernel arguments in uEnv.txt for U-Boot in images
with enabled feature agl-sota for software-over-the-air (SOTA)
updates for Raspberry Pi 3 B/B+.

Bug-AGL: SPEC-2729

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: Id6914de6a41ebfd3fc28ca2948a15d891c9a30b3
(cherry picked from commit 86f76e0578b4cbb1a3b286b6e959e317866f9c31)

4 years ago50_local.conf.inc: Extend DISTRO_FEATURES for sota 07/22307/1
Leon Anavi [Fri, 9 Aug 2019 13:37:48 +0000 (16:37 +0300)]
50_local.conf.inc: Extend DISTRO_FEATURES for sota

Extend DISTRO_FEATURES with sota and usrmerge to successfully
build AGL image with feature agl-sota.

Bug-AGL: SPEC-2736, SPEC-2729

Change-Id: Ie056d233f1c528719361a8c958233a2ba58f7345
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
(cherry picked from commit 73b849c0d72f94eb1c0db582a9dc684123793960)

4 years agometa-agl-profile-cluster-qt5: Add qtcompositor-conf recipe 88/22288/2
Scott Murray [Thu, 29 Aug 2019 22:05:05 +0000 (18:05 -0400)]
meta-agl-profile-cluster-qt5: Add qtcompositor-conf recipe

Add qtcompositor-conf recipe to create the udev rule files required to
set up the "display" group ownership of graphics devices when not using
weston.  The recipe is based on what is done in the weston-init bbappend
in the meta-agl-profile-graphical layer.  The package is also added to
the agl-profile-cluster-qtcompositor packagegroup so that the qtcompositor
cluster demo image will pick it up.

Bug-AGL: SPEC-2775

Change-Id: I375e915b2074eb2abcec534a88fddfc6445730e1
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agowayland bug backport: Fix fake "Address already in use" error 95/22295/2
Zhou Mingying [Fri, 30 Aug 2019 06:14:36 +0000 (14:14 +0800)]
wayland bug backport: Fix fake "Address already in use" error

Backport a bug modification to the wayland used by AGL,
because the bug may effect the applications start error

The bug modification detail is as bellow:
In the current workflow, socket file will be deleted if it already exists.
However, if the socket file is a symbolic link or the file that it refers
to not exist, we will got "Address already in use", because bind()
thinks the socket file exists and won't create it.
Now, use lstat() to determine whether the socket file exists.

Bug-AGL: SPEC-2783

Signed-off-by: Zhou Mingying <zhoumy@cn.fujitsu.com>
Change-Id: Iff2c7abefa56104eef49ae7102ee8a1de796b813

4 years agofix drm-introduce-drm_get_dmafd_from_view.patch 17/22117/5
Veeresh Kadasani [Wed, 7 Aug 2019 12:19:15 +0000 (21:19 +0900)]
fix drm-introduce-drm_get_dmafd_from_view.patch

Fix crashing transmitter when testing with weston 6.0 because
of unregistered API.

Bug-AGL: SPEC-2696

Change-Id: Ib7cc01a4305da9a656b933f295e745dd56131ff4
Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
4 years ago[RCAR] update to BSP v3.19.0 05/22105/2
Ronan Le Martret [Thu, 20 Jun 2019 12:56:50 +0000 (14:56 +0200)]
[RCAR] update to BSP v3.19.0

Bug-AGL: SPEC-2681

Change-Id: Ie397c943762c20b0231ca7c0e44323bdf6101790
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
4 years agoRevert "setup_mm_packages.sh: Use GFX 3.19 binaries instead of 3.15" 04/22104/2
Ronan Le Martret [Thu, 20 Jun 2019 12:38:32 +0000 (14:38 +0200)]
Revert "setup_mm_packages.sh: Use GFX 3.19 binaries instead of 3.15"

Bug-AGL: SPEC-2681
This reverts commit 9bc6c25f56f4997e55b60e969e9f942cc1859988.

Change-Id: Ice72ff5f510ac848679c7d09ed4d0bde2d0940d7
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
4 years agoFix qtbase compile error for dra7xx-evm 12/22212/1
Zhou Mingying [Fri, 23 Aug 2019 03:58:25 +0000 (11:58 +0800)]
Fix qtbase compile error for dra7xx-evm

Fix qtbase plugin eglfs kms gbm compile error,
and conversion error from EGLNativeDisplayType to void.

Bug-AGL: SPEC-2763

Signed-off-by: Zhou Mingying <zhoumy@cn.fujitsu.com>
Change-Id: I73cc7d635a0e451fce7fe557f9433f397e107a7a
(cherry picked from commit 647ed1cbae42411b187cab794e495f39cf2ec883)

4 years agoFix combined dtb names to match original file 11/22211/1
build.automotivelinux.org [Thu, 22 Aug 2019 14:47:26 +0000 (16:47 +0200)]
Fix combined dtb names to match original file

Make the filenames conformant to the original files.
Thanks to Khouloud Touil for finding this. Good catch!

Change-Id: I1e4e95dc1148ddf1a9a3a09c22ceab75d1d88115
Bug-AGL: SPEC-2721
Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
4 years agoaf-binder: Fix client disconnection close 88/22188/2
José Bollo [Wed, 21 Aug 2019 07:08:19 +0000 (09:08 +0200)]
af-binder: Fix client disconnection close

This correctly close sockets.

This integrates the following fixes
 * 99ad30b Fix client disconnection close

Bug-AGL: SPEC-2759

Change-Id: Ia37ead39c31081bf99ed63b2e90ff0fe0226c999
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agoafs-supervisor: Start the service on need 68/22168/4
José Bollo [Fri, 16 Aug 2019 19:21:00 +0000 (21:21 +0200)]
afs-supervisor: Start the service on need

afs-supervisor.service failed to start the supervisor
due to a non available activation socket.

This change start the api socket and will activate
the service on need.

Bug-AGL: SPEC-2753

Change-Id: I2fd3c2d2d29bce8d70becaba0792918d6f6c0769
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agodbus-cynara: Fix SIGSEGV on disconnections 65/22165/4
José Bollo [Fri, 16 Aug 2019 14:03:54 +0000 (16:03 +0200)]
dbus-cynara: Fix SIGSEGV on disconnections

Sometime, at start of the system, dbus-daemon was crashing
because a pending authorisation were reactivating a closed
connection.

Also, clean unused function and improve compatibilty to newer gcc.

Bug-AGL: SPEC-2752

Change-Id: I0ad32e93bd0de099a304e37d0c91c56915fb731c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agoagl-service-windowmanager: fix typo on RDEPENDS 93/22193/2
Stephane Desneux [Wed, 21 Aug 2019 16:29:30 +0000 (16:29 +0000)]
agl-service-windowmanager: fix typo on RDEPENDS

Bug-AGL: SPEC-2768

Change-Id: I0c51b775196563780a097468e2b8db352cb377ad
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
4 years agou-boot_2019.07.bbappend: Apply patch for AGL SOTA 46/22146/2
Leon Anavi [Fri, 9 Aug 2019 16:44:40 +0000 (19:44 +0300)]
u-boot_2019.07.bbappend: Apply patch for AGL SOTA

Recently we have updated u-boot to version 2019.07 to support
Raspberry Pi 4 in AGL based on Yocto release Thud. Therefore
a new version of the patch from meta-updater-raspberrypi branch
warrior has to be applied to successfully build U-Boot when
feature agl-sota is enabled.

Bug-AGL: SPEC-2729

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: Ie72cc9b81ff6e041cfe6edb26f383b7e0d43d8f9
(cherry picked from commit 71aaf3886c5dd98b04cb9c6abe40850090a09fde)

4 years agouEnv.txt: Modify uEnv.txt for SOTA 47/22147/2
Leon Anavi [Mon, 12 Aug 2019 19:35:28 +0000 (22:35 +0300)]
uEnv.txt: Modify uEnv.txt for SOTA

Modify uEnv.txt and uEnv.cma.txt according to the recent
changes in layers meta-updater and meta-updater-raspberrypi
to ensure that AGL image with agl-sota feature will boot
properly on Raspberry Pi 3 B/B+.

Bug-AGL: SPEC-2729

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

4 years agodbus-cynara: Simplifies build recipe 63/22163/2
José Bollo [Tue, 13 Aug 2019 12:39:15 +0000 (14:39 +0200)]
dbus-cynara: Simplifies build recipe

Simplifies the way of building dbus-cynara by removing
the specific recipes in favour of a recipe for dbus that
handles the class-target build feature.

It requires to remove fake dependencies of cynara.

This is a suggestion of Tom Rini.

Bug-AGL: SPEC-1839

Change-Id: Id7a736eb4b73cdb679fa9dde30e9ad8e56c2894e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agocreate-combined-dtb: Check if DTB files exist 07/22107/3
Leon Anavi [Tue, 6 Aug 2019 12:28:01 +0000 (15:28 +0300)]
create-combined-dtb: Check if DTB files exist

Check if files exist before creating and deploying DTB. In some
cases, for example with AGL SOTA, the DTB and DTBO files might
not exist and without checks the recipe will fail.

Bug-AGL: SPEC-2729, SPEC-1775

Change-Id: Id96e0c56989569feead076406534334766604cfd
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
(cherry picked from commit 6e89e0296dd28b0c0e9f0f0693f096c281b9d908)

4 years agoBump waltham-transmitter src revision. 98/22098/2
Veeresh Kadasani [Tue, 6 Aug 2019 11:26:11 +0000 (20:26 +0900)]
Bump waltham-transmitter src revision.

SPEC-2696
0fc0e97 - waltham-transmitter: Migrate to weston 6.0

Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
Change-Id: I1155dc67c45ee6143a3198f198af55274041b13f

4 years agometa-agl-bsp: recipes-kernel: linux: Add USB host driver 06/22106/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>
4 years agomachine: Add readme for ebisu 08/22108/1
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>
4 years agoUpdate waltham-transmitter patches to weston 5.0 & 6.0 02/22002/4 8.0.0 halibut/8.0.0 halibut_8.0.0
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>
4 years agowayland-ivi-extension: disable building EGLWLMockNavigation example 69/22069/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>
4 years agometa-rcar-gen3-adas: improve BBFILE description 73/22073/1
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>
(cherry picked from commit b8860aceeaea4bb7dac2da5fab1f18af933e59f9)

4 years agobluez5: add obex.service.d conf to fix smack label issues 37/22037/1
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>
(cherry picked from commit b999b3e4147d065b55c1a7ce53125f767c0a0c8f)

4 years agoBump the distro config for HH 8.0.0 28/22028/3
Jan-Simon Möller [Tue, 30 Jul 2019 12:21:04 +0000 (14:21 +0200)]
Bump the distro config for HH 8.0.0

Bump the distro config to match 8.0.0

Bug-AGL: SPEC-2700

Change-Id: I9e0d93cba8aa82595d71f0025790065cc95775cd
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoaf-binder: Fix error in synchronous calls 24/22024/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:
 * 91de250 Fix detection of error in call synchronous

Bug-AGL: SPEC-2697

Change-Id: I42f2e9872f363526a2378e07afa21664863fec3a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agolightmediascanner: remove user media directories scanning 14/22014/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>
4 years agointel-corei7-64: Remove ttyS2 from SERIAL_CONSOLES 95/21995/2
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>
(cherry picked from commit a3564c68e9a5268ede1988a65559cb22a0fd98b5)

4 years agorecipes-multimedia: lightmediascanner: move database to globally accessible area 94/21994/1
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>
(cherry picked from commit 03ef60ee0aed59deb1f554a3a194ad2ff54be276)

4 years agoEnable eglfs for QT based application in cluster profile 87/21987/1
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
(cherry picked from commit b2881c336770d5a04a6b0ec8595617cad85d7dcf)

4 years agoBump cmake-apps-module revision 74/21974/2
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>
(cherry picked from commit 47090c323cb7d3a17c7b0d99f0678311ed829447)

4 years agorecipes-multimedia: lightmediascanner: switch from user dbus session to system 73/21973/2
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>
(cherry picked from commit af1c6967f09a51c600742de6e299255ff07b4a47)

4 years agoChange AGL_BRANCH to halibut 71/21971/2
Jan-Simon Möller [Thu, 25 Jul 2019 12:59:37 +0000 (14:59 +0200)]
Change AGL_BRANCH to halibut

Release branches are created. Now use the new branches.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I263ed30f347648a462c2bb4180e5a1faa7402b7d

4 years agoUpdate .gitreview file for halibut 65/21965/2
Jan-Simon Möller [Thu, 25 Jul 2019 12:48:40 +0000 (14:48 +0200)]
Update .gitreview file for halibut

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Id484bc4f72dc6bdd38919da379910986ca6cfb78

4 years agoFix i.MX6 multiple package tuning problem 75/21975/1
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>
(cherry picked from commit 1b2c904f1e4403b59fc51f8f68d4fa8f05d03332)

4 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

4 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

4 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

4 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>
4 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

4 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

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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

4 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>
4 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>