AGL/meta-agl.git
5 years agou-boot-2019.07: Fix for Raspberry Pi 4 24/22424/2
Leon Anavi [Fri, 13 Sep 2019 17:51:56 +0000 (20:51 +0300)]
u-boot-2019.07: Fix for Raspberry Pi 4

Following recent changes in the BSP the recipe for u-boot 2019.07
was failing to build for Raspberry Pi 4. This fix brings existing
patches from master branch of meta-raspberrypi to AGL which is
still based on Yocto project release Thud.

Bug-AGL: SPEC-2656

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: Ic544d02032198dc05da24bc3246e8911d300c1ea
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
5 years agoudisks: remove unneeded execute bit on automount.sh 01/22401/2
Matt Ranostay [Thu, 12 Sep 2019 06:37:28 +0000 (09:37 +0300)]
udisks: remove unneeded execute bit on automount.sh

On do_install() the correct execute bits are set and shouldn't
be in the repo version of automount.sh

Bug-AGL: SPEC-2774
Change-Id: Ic66707f9e9367ed02c523f11cb6d6ba360e6fe9f
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoagl-service-taskmanager.bb: remove git submodules from SRC_URI 71/22371/3
Li Xiaoming [Tue, 10 Sep 2019 03:03:46 +0000 (11:03 +0800)]
agl-service-taskmanager.bb: remove git submodules from SRC_URI

Building now is done with respective SDK dependencies and not with git
submodules, so gitsm:// can be changed to git://

Bug-AGL: SPEC-2268

Change-Id: I5e35b9fe3e1384e10eef5a2e7ff240910881f970
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
5 years agometa-agl-bsp/meta-rcar-gen3: Update asound.state to pipewire 60/22360/2
Harunobu Kurokawa [Mon, 9 Sep 2019 18:19:11 +0000 (03:19 +0900)]
meta-agl-bsp/meta-rcar-gen3: Update asound.state to pipewire

pipewire is used default audio card volume. Current 50% of DVC Out
is laudy and 0% of DVC In is small.
Update 20% of DVC Out and 10% of DVC In for R-Car.

Bug-AGL: SPEC-2808

Change-Id: Iac572255977d6a0111026a6426081efb0edbf0aa
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
5 years agoagl-service-navigation: Switch to AGL Gerrit 65/22365/1
Scott Murray [Mon, 9 Sep 2019 23:51:45 +0000 (19:51 -0400)]
agl-service-navigation: Switch to AGL Gerrit

Update agl-service-navigation recipe to switch to using AGL Gerrit for
the source repository.

Bug-AGL: SPEC-2787

Change-Id: I9a494adb8972b8cf20681ab37d2756459448e13d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agometa-agl-bsp: meta-rcar-gen3-adas: Rework KF radio initialization 64/22364/1
Scott Murray [Mon, 9 Sep 2019 23:44:03 +0000 (19:44 -0400)]
meta-agl-bsp: meta-rcar-gen3-adas: Rework KF radio initialization

Add a systemd service unit and recipe to install it and a udev rules
file so that the Kingfisher Si4689 radio will be initialized on boot
if present, and the I2C device to access it will be accessible to
applications with the "audio" permission.  Note that an accompanying
change to agl-service-radio is required to remove its now unworkable
usage of the si_init script, which is replaced by this change.

Bug-AGL: SPEC-2716

Change-Id: I81cf4b8c439598bdac1eb7910a0d693825141d7b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
5 years agoAdd nogfx build for h3ulcb 19/22319/2
Jan-Simon Moeller [Fri, 23 Aug 2019 20:57:38 +0000 (22:57 +0200)]
Add nogfx build for h3ulcb

Before we can add the h3 to CI we need a -nogfx build.

v3: leave the BBMASK in the board specific file due to inc file stacking.

Change-Id: Ic59784aa143e3346d2f999060214411497fc1b54
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
5 years agoaf-platform-setup: fix installation mode 28/22328/2
José Bollo [Thu, 5 Sep 2019 08:44:30 +0000 (10:44 +0200)]
af-platform-setup: fix installation mode

The file systemd-udevd.service.d/udev-shared.conf was
installed with default rigths meaning rwxr-xr-x.

Systemd complains about it:

   Configuration file /lib/systemd/system/systemd-udevd.service.d/udev-shared.conf
   is marked executable. Please remove executable permission bits. Proceeding anyway.

This commit fix that issue.

Bug-AGL: SPEC-2798

Change-Id: I90a2b0f538416b5e8e6f8e1aaf552530150c8103
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoUpdate AGL netboot documentation 26/22126/4
Ronan Le Martret [Fri, 9 Aug 2019 08:49:33 +0000 (10:49 +0200)]
Update AGL netboot documentation

- AGL support now nbd v3 protocol for net booting.

Change-Id: If7b9cd261115de5aa9133ccf926647edf483b08a
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agoRevert "Add nogfx build for h3ulcb" 15/22315/2
Jan-Simon Moeller [Wed, 4 Sep 2019 13:34:51 +0000 (13:34 +0000)]
Revert "Add nogfx build for h3ulcb"

This seems to have broken master. Needs to be edited.
Thus revert and resubmit.

This reverts commit dd21b3a6e340006d2ef4036cabf33c9e9a66e9ac.

Change-Id: I2423dacba83813cc6350096c89d80cf1d23e9568

5 years agowayland bug backport: Fix fake "Address already in use" error 77/22277/4
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

5 years agoAdd nogfx build for h3ulcb 06/22206/4
Jan-Simon Moeller [Fri, 23 Aug 2019 20:57:38 +0000 (22:57 +0200)]
Add nogfx build for h3ulcb

Before we can add the h3 to CI we need a -nogfx build.

v2: moved common bits

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I9d64764fbe69dc901dc91941db1deb0073e2ae9c

5 years agometa-agl-profile-cluster-qt5: Add qtcompositor-conf recipe 71/22271/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>
5 years agofix drm-introduce-drm_get_dmafd_from_view.patch 22/22122/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>
5 years agoagl_raspberrypi3.inc: Set CMA for SOTA 85/22285/1
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

5 years agofreetype: add pixmap to PACKAGECONFIG 31/22231/1
Matt Ranostay [Wed, 28 Aug 2019 22:48:27 +0000 (01:48 +0300)]
freetype: add pixmap to PACKAGECONFIG

To allow rendering of color emojis the pixmap/libpng support
needs to be enabled.

Bug-AGL: SPEC-2701
Change-Id: I7f0dc2cf54f0cf587d72a81fbf06c5750bbdeefb
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years ago50_local.conf.inc: Extend DISTRO_FEATURES for sota 35/22135/4
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>
5 years agolinux: add netfilter.cfg fragment 10/22210/3
Matt Ranostay [Sat, 24 Aug 2019 18:13:47 +0000 (21:13 +0300)]
linux: add netfilter.cfg fragment

Add netfilter.cfg fragment that initially enables
CONFIG_NETFILTER_XT_MATCH_OWNER to allow connman's
session-policy-local to route traffic based on user id.

Bug-AGL: SPEC-2772
Change-Id: I7fb642790709aff9899d42250b1b15f77451361e
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agopackagegroups: agl-core-connectivity: add connman plugin 09/22209/2
Matt Ranostay [Thu, 22 Aug 2019 22:42:57 +0000 (01:42 +0300)]
packagegroups: agl-core-connectivity: add connman plugin

Add connman-plugin-session-policy-local package to respective
packagegroup.

Bug-AGL: SPEC-2772
Change-Id: I9808fd66d25bfbe1d395f0c2be471d2584ebfab2
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoconnman: add session-policy-local PACKAGECONFIG option 08/22208/2
Matt Ranostay [Thu, 22 Aug 2019 22:32:50 +0000 (01:32 +0300)]
connman: add session-policy-local PACKAGECONFIG option

Bug-AGL: SPEC-2772
Change-Id: Id7fe16216bce7e9cf50188a504182aa79a70f9ed
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoFix qtbase compile error for dra7xx-evm 04/22204/2
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

5 years agoFix combined dtb names to match original file 99/22199/2
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>
5 years ago[RCAR] update to BSP v3.19.0 92/21992/3
Ronan Le Martret [Thu, 20 Jun 2019 12:56:50 +0000 (14:56 +0200)]
[RCAR] update to BSP v3.19.0

Bug-AGL: SPEC-2680

Change-Id: Ie397c943762c20b0231ca7c0e44323bdf6101790
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agoRevert "setup_mm_packages.sh: Use GFX 3.19 binaries instead of 3.15" 91/21991/3
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"

This reverts commit 9bc6c25f56f4997e55b60e969e9f942cc1859988.

Bug-AGL: SPEC-2680

Change-Id: Ice72ff5f510ac848679c7d09ed4d0bde2d0940d7
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
5 years agoagl-service-windowmanager: fix typo on RDEPENDS 92/22192/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>
5 years agoaf-binder: fixes 84/22184/1
José Bollo [Tue, 20 Aug 2019 17:44:53 +0000 (19:44 +0200)]
af-binder: fixes

This integrates the following fixes
 * 3343b4d Fix outdated documents
 * 6f13ad1 Avoid lock when child dies
 * ac2ab69 Replace obsolete argument "sessiondir" with "workdir"
 * 0ea0734 jobs: Add starting mode for jobs
 * 6599a89 Fix client disconnection close

Bug-AGL: SPEC-2714
Bug-AGL: SPEC-2720
Bug-AGL: SPEC-2759

Change-Id: I962f310cf69e72d01c78c0620115cd2d66586e2c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoafs-supervisor: Start the service on need 67/22167/2
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>
5 years agoAdd recipe for agl-service-unicens-controller 56/22156/2
Tobias Jahnke [Thu, 15 Aug 2019 09:26:01 +0000 (11:26 +0200)]
Add recipe for agl-service-unicens-controller

Bug-AGL: SPEC-2738

Change-Id: I9612036c9bd35f4d1fe4fa00cb25f899b100e435
Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
5 years agodbus-cynara: Fix SIGSEGV on disconnections 64/22164/1
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>
5 years agodbus-cynara: Simplifies build recipe 53/22153/4
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>
5 years agolinux: add missing CONFIG_BT_HCIUART option to usb-devices.cfg 52/22152/2
Matt Ranostay [Tue, 13 Aug 2019 18:24:51 +0000 (21:24 +0300)]
linux: add missing CONFIG_BT_HCIUART option to usb-devices.cfg

To allow dependant kernel drivers to be selected enable the
CONFIG_BT_HCIUART option.

Bug-AGL: SPEC-2747
Change-Id: Iafda86a9909ee14b10e4be2e5070bada4dfec9b0
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agolinux: update config option to CONFIG_WLAN_VENDOR_TI 51/22151/3
Matt Ranostay [Tue, 13 Aug 2019 17:45:57 +0000 (20:45 +0300)]
linux: update config option to CONFIG_WLAN_VENDOR_TI

Bug-AGL: SPEC-2747
Change-Id: Ideef401474d8d74daf920273eb40200d4fe4dacd
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agolinux: remove old kernel options in extra-graphics-device.cfg 50/22150/2
Matt Ranostay [Tue, 13 Aug 2019 17:43:31 +0000 (20:43 +0300)]
linux: remove old kernel options in extra-graphics-device.cfg

Remove old kernel options that no longer exist in modern kernels,
and also remove unset options that were causing warnings in the
do_kernel_configcheck task.

Bug-AGL: SPEC-2747
Change-Id: Iea61c2e4a1341d8f77723c37619ea6c9c59365d3
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agolinux: add CONFIG_IIO_TRIGGERED_BUFFER=m to iiodevice.cfg 49/22149/2
Matt Ranostay [Tue, 13 Aug 2019 16:44:19 +0000 (19:44 +0300)]
linux: add CONFIG_IIO_TRIGGERED_BUFFER=m to iiodevice.cfg

To avoid CONFIG_IIO_TRIGGERED_BUFFER being set as a builtin by
default causing a do_kernel_configcheck warning build as module.

Bug-AGL: SPEC-2747
Change-Id: Ide4011c25eb781daf135690205fef1cd591ea186
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agolinux: update options in ath9k_htc.cfg 48/22148/2
Matt Ranostay [Tue, 13 Aug 2019 15:30:52 +0000 (18:30 +0300)]
linux: update options in ath9k_htc.cfg

Newer kernels have different configuration options names for
WLAN drivers, and need to be updated.

Bug-AGL: SPEC-2747
Change-Id: Ic35957172cec758a64219981a11ce155d296ca91
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agouEnv.txt: Modify uEnv.txt for SOTA 43/22143/1
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

5 years agou-boot_2019.07.bbappend: Apply patch for AGL SOTA 36/22136/3
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

5 years agocreate-combined-dtb: Check if DTB files exist 02/22102/4
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>
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>