AGL/meta-agl.git
4 years agoChange the distro config for Icefish rc4 53/23453/1 8.99.4 icefish/8.99.4 icefish_8.99.4
Jan-Simon Möller [Fri, 20 Dec 2019 22:23:40 +0000 (23:23 +0100)]
Change the distro config for Icefish rc4

Due to a critical bug in rc3, we'll do an early rc4.
This changes the distro configuration.

Change-Id: I25cb3fa513a66e26b443e986641cddf42a303e94
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoaf-main: Fix allocation of ids 46/23446/2
Jose Bollo [Fri, 20 Dec 2019 17:10:42 +0000 (18:10 +0100)]
af-main: Fix allocation of ids

The allocation of ids and ports was broken because
ids was not well scanned since commit 6008a3e

Bug-AGL: SPEC-3068

Change-Id: Ia92a9c05e99ba1b62856d1610d2a91c9693c35e2
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
4 years agoaf-binder: Fix a critical bug 42/23442/2
Jose Bollo [Fri, 20 Dec 2019 14:02:31 +0000 (15:02 +0100)]
af-binder: Fix a critical bug

This fix a critical bug of the binder that lead to memory
crash and instabilities.

Bug-AGL: SPEC-3066

Change-Id: Ied3756fb7cf0dea423cda1c8367510fc175ab447
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
4 years agoAdd cloc to hosttools and use patched sources 38/23438/2
Jan-Simon Möller [Thu, 19 Dec 2019 23:51:48 +0000 (00:51 +0100)]
Add cloc to hosttools and use patched sources

to use the cloc bbclass, cloc needs to be installed on the host.
Thus add it to HOSTTOOLS and also apply all patches.

Change-Id: Ifd9a355d2d0dc75f55b683e9d7f398a8f46bae16
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoaf-main: OAuth client credentials and localuser names 56/23356/5
José Bollo [Tue, 17 Dec 2019 18:56:16 +0000 (19:56 +0100)]
af-main: OAuth client credentials and localuser names

This includes:
 - the basic OAuth client credential server
 - the token logic for WAM apps
 - the use of localuser names WAM apps

Bug-AGL: SPEC-2968
Bug-AGL: SPEC-3032
Bug-AGL: SPEC-3033
Bug-AGL: SPEC-3014

Change-Id: I37588d4a4f9b74bb0ab0da70c7fbae1f8979f25e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agocynagoauth: Add a basic OAuth server 09/23409/3
José Bollo [Tue, 17 Dec 2019 18:41:11 +0000 (19:41 +0100)]
cynagoauth: Add a basic OAuth server

cynagoauth is a basic OAuth2 server implementing
delivery of tokens based on the Smack label of the
client.

Bug-AGL: SPEC-2550
Bug-AGL: SPEC-2968
Bug-AGL: SPEC-3032

Change-Id: I93aa1864ac68ec51963a25e80150879ea88a5766
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agolibwindowmanager & libhomescreen: Handle hostname of remote 11/23411/2
José Bollo [Tue, 17 Dec 2019 18:47:58 +0000 (19:47 +0100)]
libwindowmanager & libhomescreen: Handle hostname of remote

The remote can be different from localhost. This new
versions allow to specify explicitely the host. Implicitely,
it is still localhost.

Bug-AGL: SPEC-3014

Change-Id: Id3b4e84801e17ba6c67f2df0d32b5f449cdcb841
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agocynagora: Bump version 12/23412/2
José Bollo [Tue, 17 Dec 2019 18:50:37 +0000 (19:50 +0100)]
cynagora: Bump version

Includes:
 * 23bc103 agent-at: Move field separator from : to ;
 * c29761c Improve integration of cynagora

Bug-AGL: SPEC-2968

Change-Id: I83af517b446f0a55de253568b17069b6231d3034
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agoaf-binder: Fix issue when no port defined 10/23410/2
José Bollo [Tue, 17 Dec 2019 18:44:33 +0000 (19:44 +0100)]
af-binder: Fix issue when no port defined

Since introduction of interfaces, it is no more
needed to define a port. But the binder was still
complaining that no port were defined.

Bug-AGL: SPEC-2968
Bug-AGL: SPEC-3014

Change-Id: Ia3d748615641db5f467c3313ff7b02c16608d0ac
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agometa-agl-profile-graphical-qt5: add libqtappfw 21/23421/3
Scott Murray [Wed, 11 Dec 2019 20:05:54 +0000 (20:05 +0000)]
meta-agl-profile-graphical-qt5: add libqtappfw

Add libqtappfw recipe to meta-agl-profile-graphical-qt5 to move it from
meta-agl-demo, making it available for use in other images builds like
the cluster demo.

Bug-AGL: SPEC-3045

Change-Id: Ic8230975fdfe2d953b49325e86b3a7bd042e70a5
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agoBump of configuration post RC3 of Icefish 23/23423/1
Jan-Simon Möller [Wed, 18 Dec 2019 17:54:47 +0000 (18:54 +0100)]
Bump of configuration post RC3 of Icefish

Change the distro configuration after rc3 is cut.
The window for rc4 is open now.

Change-Id: Id1a51cf18d5c7f1cb4a307c1b3e2b8df2ae02349
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agofix weston crash on h3+KF after first bootup 05/23405/2
Veeresh Kadasani [Fri, 13 Dec 2019 10:56:17 +0000 (19:56 +0900)]
fix weston crash on h3+KF after first bootup

Bug-AGL: SPEC-2827

remove 0002-compositor-add-output-type-to-weston_output.patch
this patch was ported from weston 2.0 transmitter fix
which use to crash because of invalid member access.
with weston 6.0 transmitter works fine without this patch
so remove it to fix crash after first boot on h3+KF

Change-Id: I607bec3bdfb5146af68d36d717d3305f5fd58998
Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
4 years agoivi-shell: Fix crash due no transmitter screen 06/23406/2
Veeresh Kadasani [Mon, 16 Dec 2019 10:48:43 +0000 (19:48 +0900)]
ivi-shell: Fix crash due no transmitter screen

Bug-AGL: SPEC-3056

Registered the events for the output_created, destroyed,
resized events.So that the ivi_scrn can be destroyed,
created dynamically during destroyed and created events.
And the view properties are dynamically changed during
resized/moved events.

Change-Id: I136b66c9747412af1fa868cef8a061ef2ea624f7
Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
4 years agoAdd agl-virt-xen feature 10/22710/2
Jérémy Fanguède [Tue, 15 Oct 2019 10:05:13 +0000 (12:05 +0200)]
Add agl-virt-xen feature

"agl-virt-xen" feature set the desired hypervisor to Xen with the
AGL_XEN_WANTED flag, boards that support it will then compile all the
needed Xen binaries and libraries. Depends on "agl-virt" feature
(because of meta-virtualization).

Bug-AGL: SPEC-2912
Change-Id: I4123f208bebfd5d768bb4391b21308d1db962366
Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
4 years agoAdd agl-virt feature 09/22709/2
Jérémy Fanguède [Tue, 15 Oct 2019 10:04:45 +0000 (12:04 +0200)]
Add agl-virt feature

New feature "agl-virt" adds meta-virtualization layer

Bug-AGL: SPEC-2912
Change-Id: I4b708eb86694a657f05f3a43a3e813e241ec3d7b
Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
4 years agoaf-main: Ensure home and workdir to platform's app 95/23395/1
Jose Bollo [Mon, 16 Dec 2019 08:41:54 +0000 (09:41 +0100)]
af-main: Ensure home and workdir to platform's app

The widget requesting the permission to run at
platform scope: urn:AGL:permission::partner:scope-platform
should be able to record data and state.
This change provides a default place to achieve it.

Bug-AGL: SPEC-2998

Change-Id: I1278375591716d18ce1346acc0f63fb073e4556a
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
4 years agoPrepare Icefish rc3 76/23376/1 8.99.3 icefish/8.99.3 icefish_8.99.3
Jan-Simon Moeller [Sun, 15 Dec 2019 22:10:24 +0000 (23:10 +0100)]
Prepare Icefish rc3

Change the distro config.

.

Change-Id: Ide8f369190a073bf34c2d043732fa1cd2872d0fd
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agoChange the URL to gerrit 59/23359/2
Jan-Simon Moeller [Fri, 13 Dec 2019 17:21:27 +0000 (18:21 +0100)]
Change the URL to gerrit

to stay inline with all other recipes, change this to use gerrit.

.

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

4 years agoPost RC2 bump of distro config 37/23337/1
Jan-Simon Moeller [Thu, 12 Dec 2019 13:51:52 +0000 (14:51 +0100)]
Post RC2 bump of distro config

Change-Id: Ic5521e64bf51446c5f50601636761fd775b84f21
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agoagl-service-signal-composer: switch to AGL_APP_REVISION 33/23333/2
Scott Murray [Wed, 11 Dec 2019 23:40:49 +0000 (23:40 +0000)]
agl-service-signal-composer: switch to AGL_APP_REVISION

Switch agl-service-signal-composer's SRCREV to AGL_APP_REVISION so
it will automatically pick up changes. This matches the configuration
of all the other service bindings. Also change the SRC_URI from gitsm
to just git, since submodules are no longer used.

Bug-AGL: SPEC-3024

Change-Id: Ida819d937f9090134c885cd5e816342dad7b9c0b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agojson-c: add --enable-threading to EXTRA_OECONF 20/23320/1
Matt Ranostay [Wed, 11 Dec 2019 18:47:49 +0000 (20:47 +0200)]
json-c: add --enable-threading to EXTRA_OECONF

Enable partial threading support to enable compiler atomic
operations which in turn avoids refcount corruption issue
that was causing aborts with moderate prolonged traffic.

Bug-AGL: SPEC-3044
Change-Id: I0b9ab8c27f2c436910dbabf03be5bedaf1a28136
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agoCut 8.99.2 II rc2 release 81/23281/2 8.99.2 icefish/8.99.2 icefish_8.99.2
Jan-Simon Moeller [Fri, 6 Dec 2019 16:45:12 +0000 (17:45 +0100)]
Cut 8.99.2 II rc2 release

.

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

4 years agometa-agl-profile-graphical-html5: remove layer and AGL feature 72/23072/3
Jacobo Aragunde Pérez [Wed, 27 Nov 2019 09:44:34 +0000 (10:44 +0100)]
meta-agl-profile-graphical-html5: remove layer and AGL feature

Remove old layer, based on OpenIVI and using deprecated QtWebKit, to
free up the name to be used by the Chromium-based web runtime.

Bug-AGL: SPEC-2322

Change-Id: I41730d629be846c2b0a624f5ab881ada31a8e0dc
Signed-off-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
4 years agoaf-main & af-binder: Partial shift to token logic 84/23184/2
Jose Bollo [Wed, 4 Dec 2019 15:30:32 +0000 (16:30 +0100)]
af-main & af-binder: Partial shift to token logic

This commit includes changes related to integration
of token security logic and use of nss-localuser.

Changes from af-main are:
 * 581f99c wgtpkg-install: Add default permissions
 * 50ab763 Remove tokens
 * 6008a3e Enforce numeric application IDs
 * 653562e Introduce localuser interface for applications

Changes from af-binder are:
 * 5026e71 docs(func-service.md): typo
 * 2243df1 afb-api-dbus: Fix broken broadcast in dbus apis
 * ff5446e afb-proto-ws: Fix crash on event to disconnected
 * 1b240e6 afb-hreq: Handle HTTP header Authorization
 * 29ae81f Introduce object for tokens
 * 6f59158 coverage: Fix regression
 * 9a623c3 monitoring: Fix display on connection error
 * e6908a2 afb-hreq: Handle access_token query parameter
 * 0d3dc97 Remove refreshing token
 * 7c67e96 Remove returning token
 * e08d57c Don't return the uuid
 * b4da3b7 Move tokens from sessions to requests
 * e80c1a7 Use afb_token in contexts
 * d735ff8 afb-session: Expose a local id for sessions
 * 5ac7bb0 afb-session: remove initial token
 * 0fd887b u16id: Add maps for identifiers id of 16 bits
 * eaf5670 afb-evt: Use 16 bits for ids
 * b55f3cd afb-stub-ws: Enforce asynchronous describe
 * 7386e1c afb-proto-ws: Change the protocol WSAPI
 * 74a7ebb afb-error-text: Introduce standard error text
 * af003cd afb-auth: Increase and improve use of afb-auth
 * 98b214e afb-hswitch: Update websocket policy
 * b70caad afb-context: Move credentials to context
 * d8aff62 afb-context & afb-token: rework token validation
 * 36094f9 afb-supervision: Improve messages
 * 354dfe5 afb-perm: separate access to permission db
 * 93483c5 AFB.js: Enforce single code
 * c79b6ba Relax constraint on aliases
 * 7a28ebb afb-socket: Add ability to set a default scheme
 * 82a9d79 main-afb-daemon: manage listening interfaces

Bug-AGL: SPEC-2968

Change-Id: If4751144595c38a69608a962c92b54ae1a976ac8
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
4 years agoFollow move of agl-image-ivi-crosssdk to meta-agl-demo 61/23261/1
Jan-Simon Moeller [Thu, 5 Dec 2019 15:43:25 +0000 (16:43 +0100)]
Follow move of agl-image-ivi-crosssdk to meta-agl-demo

The latest changes require a follow-up.

Bug-AGL: SPEC-2500

.

Change-Id: Ibfbdb1c01be3a3548860313854ab45bd58748597
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agoMove packages from agl-core to agl-ivi 25/23125/3
Ronan Le Martret [Fri, 29 Nov 2019 09:07:00 +0000 (10:07 +0100)]
Move packages from agl-core to agl-ivi

Bug-AGL: SPEC-2500

v2: moved packagegroup-agl-core-navigation as packagegroup-agl-ivi-navigation
    to meta-agl-demo

Change-Id: I9ce852c80cc7c9789c087517aeee6ce38947a270
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoAdd development headers for pipewire and wireplumber to SDK 70/23170/2
Jan-Simon Möller [Tue, 3 Dec 2019 18:10:35 +0000 (19:10 +0100)]
Add development headers for pipewire and wireplumber to SDK

This is required to build the agl-service-audiomixer with the SDK.

Change-Id: Ie717633f92a85d14d311cf282f9d920bc95ca9f6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agonss-localuser: Add application to localuser family 37/23137/2
José Bollo [Tue, 3 Dec 2019 08:18:28 +0000 (09:18 +0100)]
nss-localuser: Add application to localuser family

This allows to use separate hostnames for separate
applications and separate users.

Bug-AGL: SPEC-2968

Change-Id: Iac139e3cda57c67796bbdacceceb39fe57c46591
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agosecurity-manager: Improve integration 65/23065/5
José Bollo [Tue, 26 Nov 2019 14:21:18 +0000 (15:21 +0100)]
security-manager: Improve integration

This fixes some issues encountered by the current
integration of the security-manager:

 - its recipes is spread in too much directories (see SPEC-2092)
 - its initialization should be checked (see SPEC-2091)
 - the location of the database has to be changed
   (see SPEC-1717 that provided a workaround)

All in one, I decided to create that ticket that summarize
the work that can be quickly achieved to answer all this
issues that are tightly coupled.

Bug-AGL: SPEC-2972
Bug-AGL: SPEC-2092
Bug-AGL: SPEC-2091
Bug-AGL: SPEC-1717

Change-Id: I7af941c25cfa1624d76c2e8f512f6535918912f0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agoExtend intel-corei7-64 machine to support virtual targets 00/22900/5
Paul Barker [Sun, 10 Nov 2019 00:39:42 +0000 (00:39 +0000)]
Extend intel-corei7-64 machine to support virtual targets

These changes allow images built for the intel-corei7-64 machine to be
booted under qemu (by using the normal `runqemu` command) and vmware or
virtualbox after a build. Functionality on real hardware should not be
compromised.

Bug-AGL: SPEC-2931

Change-Id: If25782bf59e145cab32a4c9a0e39b599106ce7cc
Signed-off-by: Paul Barker <pbarker@konsulko.com>
4 years agoafb-test: add missing jq package to RDEPENDS 27/23127/1
Matt Ranostay [Sun, 1 Dec 2019 20:00:02 +0000 (22:00 +0200)]
afb-test: add missing jq package to RDEPENDS

Bug-AGL: SPEC-3005
Change-Id: I4d28c2bb7b97ddf8aedbfedf1519362c27327b10
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agocan-low-level: bump version to get latest changes 58/23058/3
Romain Forlot [Tue, 26 Nov 2019 13:33:14 +0000 (13:33 +0000)]
can-low-level: bump version to get latest changes

Be in sync with the low-can-generator.
Update the version of the binding wih the following changes:

42163fc Add steering wheel LIN message signal definitions
069aa21 refactor(config.xml.in):Replace required api with required
binding
9402835 Update documentation
ccf35c0 Remove file socketcan-j1939 that was not removed before
f83aef5 Remove in function convert_from_addr, the variable flags was not
used
4c8485a Remove in function rx_filter_can, the variable val was not used
491c4d4 Add new decoders bytes for signal of long size
96232f8 Change signature of decoders
6d6b880 Add some typedef to reduce the size of the lines
d489919 Change vector to list to allow to remove signal.
b9b4580 Update bit position and bit size in signal
b8e8186 Add feature ISO TP (multi frames and peer to peer)
7f038fe Replace all enum types with masks
6208328 Update function tx_send for multi frame prevision
7656fad Only defined signals can be written
59bffa4 Update function rx_filter_can for multi frame prevision.
5d0fe05 Change function get_bcm_msg to return a reference.
fa8c188 Move attributes flags and maxdlen
f516a12 Add function remove last bcm frame
ff6e251 Add many frames in a subscription in the function tx_send.
f5997f7 Add function to convert vector to canfd or can frame.
4216b5e Add function get_data_vector with index
4693c2e Update function to encode and decode message
9230028 Update j1939 decode with function to_hex
3d8c045 Add file converter to manage all conversions
4bc8984 Uniform indentation with tabulation
08a4337 Fix: only one subscription could be made

Bug-AGL: SPEC-2976

Change-Id: I4f813b634421c781dbe34190417febc69336c649
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
4 years agoBump distro config after release of RC1 75/23075/2
Jan-Simon Möller [Wed, 27 Nov 2019 14:55:35 +0000 (15:55 +0100)]
Bump distro config after release of RC1

Window open for RC2.

Change-Id: If247ce798874c5daa06f930e649e923ecce6e871
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoEnable pi 4 boot log on console output temporarily 73/23073/1
Li Xiaoming [Wed, 27 Nov 2019 09:48:59 +0000 (17:48 +0800)]
Enable pi 4 boot log on console output temporarily

Although the rpi-config_git.bbappend enable ENABLE_UART_raspberrypi4 =
"1", it seems make no effect.

This patch is temporary solution, which can do some help to debug pi 4
boot issue.

Bug-AGL: SPEC-2995

Change-Id: I0b634c4d8df576884b939ea259d4f8b7ca5330d7
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
4 years agoagl-compositor: Add DISTRO_FEATURE to enable compositor 44/23044/2
Daniel Stone [Mon, 25 Nov 2019 19:25:52 +0000 (19:25 +0000)]
agl-compositor: Add DISTRO_FEATURE to enable compositor

When the 'agl-compositor' distro feature is enabled, the AGL compositor
will be enabled and start at boot instead of Weston.

Change-Id: Idcd0c401c3d2c332637ddde1cd83d1fe85c4ae2a
Signed-off-by: Daniel Stone <daniels@collabora.com>
4 years agographics: Add agl-compositor recipe 40/23040/5
Daniel Stone [Mon, 25 Nov 2019 13:15:30 +0000 (13:15 +0000)]
graphics: Add agl-compositor recipe

Add a recipe for the new AGL compositor and enable it when building the
Weston package group.

Change-Id: I3fe88370a4fc6a01b8ba8c3126a407cd9c39a842
Signed-off-by: Daniel Stone <daniels@collabora.com>
4 years agoweston: Add patch to export more config-parser API 39/23039/2
Daniel Stone [Mon, 25 Nov 2019 12:30:34 +0000 (12:30 +0000)]
weston: Add patch to export more config-parser API

Used by the AGL compositor to implement configuration parsing.

Change-Id: I30b207f23bbc252dfee30ddf90d84e02779b0395
Upstream: https://gitlab.freedesktop.org/wayland/weston/merge_requests/314
Signed-off-by: Daniel Stone <daniels@collabora.com>
4 years agoagl-service-hvac: add low level canbus service in RDEPENDS 47/23047/2
Matt Ranostay [Mon, 25 Nov 2019 22:54:25 +0000 (00:54 +0200)]
agl-service-hvac: add low level canbus service in RDEPENDS

To allow the removal of direct CANBus socket calls we must
add low level CANBus service to RDEPENDS

Bug-AGL: SPEC-2984
Change-Id: I168a48578014a92a1da8704790aaa103d82d29b6
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agolibhomescreen: remove org.agl.statusbar.conf dbus policy 55/22955/3
Matt Ranostay [Fri, 15 Nov 2019 08:06:33 +0000 (10:06 +0200)]
libhomescreen: remove org.agl.statusbar.conf dbus policy

StatusBar dbus interface is deprecated and no longer actively
used so remove dbus session policy.

Bug-AGL: SPEC-2964
Change-Id: I7fc6dce12761ed81c59e4d96a0db95f748570e84
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agoBump waltham-transmitter src revision. 99/22999/1
Veeresh Kadasani [Wed, 20 Nov 2019 01:58:02 +0000 (10:58 +0900)]
Bump waltham-transmitter src revision.

8409a6d - output:fix seg fault in transmitter when weston terminates
e448fc5 - output:fix repaint func not to skip first buffer
5287483 - output:don't push surface to remote if receiver not ready

Change-Id: Iaf2004bc95bc59e2daf5e4954ea14139e9a3a6ac
Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
4 years agoChange distro config for Icefish RC1 96/22996/1 8.99.1 icefish/8.99.1 icefish_8.99.1
Jan-Simon Möller [Wed, 20 Nov 2019 22:19:04 +0000 (23:19 +0100)]
Change distro config for Icefish RC1

Update the file.

Change-Id: Ibaf9eadae606842f9f148ee2a0be7f02835614c7
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agolow-level-can-generator: update to latest revision 83/22983/1
Scott Murray [Wed, 20 Nov 2019 05:13:36 +0000 (00:13 -0500)]
low-level-can-generator: update to latest revision

Update SRCREV in low-level-can-generator recipe so that the toolchain
will have a version that matches the low-can binding, changes:

d9c40fd dd management of version and new decoder signature.
7869e2e Change enum type to flag and add iso tp protocol
93debbc Add generator for boolean fields
afa9e97 Add some modifications (space, new line, coma, float).
f61a6cb Add some options for J1939 support
0bb5744 Fix the default decoder using "states"
da429cc Add gitreview

Bug-AGL: SPEC-2951

Change-Id: I1dc3ece955548ced95ae24b9a382ce0ed3ad3b68
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agoSupport meta-ti 2019.04 release 70/22970/2
Paul Barker [Mon, 18 Nov 2019 20:50:50 +0000 (20:50 +0000)]
Support meta-ti 2019.04 release

* The libgbm recipe has disappeared. "virtual/libgbm" is now provided by
  ti-sgx-ddk-um.

* Update ti-sgx-ddk-km and adapt the AGL toolchain support to fit with
  the upstream Makefile changes.

Change-Id: I2744868b466306cf2c1cb458a6889ab2043f9421
Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
4 years agoagl-service-hvac: rework configuration file packaging 30/22930/2
Scott Murray [Wed, 13 Nov 2019 03:22:57 +0000 (22:22 -0500)]
agl-service-hvac: rework configuration file packaging

Move agl-service-hvac hvac.json configuration file install into its
own recipe so that just it will be machine-specific, and replace
m3ulcb-specific agl-service-hvac bbappend with a more generic
do_install_append_ulcb in the new agl-service-hvac-conf recipe.

Bug-AGL: SPEC-2949

Change-Id: Iabdfa2c204017a30bf82bed3eb6debbd3eb0be9c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agoraspberrypi4.conf: Enable Bluetooth 46/22946/2
Leon Anavi [Wed, 13 Nov 2019 13:32:33 +0000 (15:32 +0200)]
raspberrypi4.conf: Enable Bluetooth

Enable Bluetooth for 64-bit AGL images for Raspberry Pi through
recipe pi-bluetooth. It provides a script that starts
automatically and properly configures BT-HCI.

Bug-AGL: SPEC-2936

Change-Id: I01cd5ea446bfe5f4182284c5e88984ee054fe62f
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agoraspberrypi4/50_local.conf.inc: Use Image format 90/22890/4
Leon Anavi [Fri, 8 Nov 2019 10:30:54 +0000 (12:30 +0200)]
raspberrypi4/50_local.conf.inc: Use Image format

Use the "Image" format for 64-bit AGL images for Raspberry Pi 4.

Bug-AGL: SPEC-2936

Change-Id: I4c671ed3cc775cd3356cb2e35a8ac73efd54603e
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agoconf/machine/raspberrypi4: Switch to 64-bit 89/22889/4
Leon Anavi [Thu, 7 Nov 2019 16:26:02 +0000 (18:26 +0200)]
conf/machine/raspberrypi4: Switch to 64-bit

Switch from 32-bit to 64-bit AGL image for Raspberry Pi 4.
Machine configuration has been modified according to the existing
configurations from meta-raspberrypi branches master and zeus.
When AGL moves to a newer release of the Yocto project and the BSP
these configurations can be removed from meta-agl.

Bug-AGL: SPEC-2936

Change-Id: Iddc3f75be179797e7d56f6806ec6ba52b080d766
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agosystemd: Install canbus network script in nonarch_base_libdir 49/22949/3
Max Tomago [Tue, 5 Nov 2019 18:47:31 +0000 (18:47 +0000)]
systemd: Install canbus network script in nonarch_base_libdir

This is the directory where systemd keeps network scripts (e.g /lib
rather than /lib64). Installing them in base_libdir breaks the build for
multilib targets.

Bug-AGL: SPEC-2966

Change-Id: If1f780a8cfed29f22f46b9ff1d08f36dee3296ee
Signed-off-by: Max Tomago <max.tomago@codethink.co.uk>
4 years agoBump afb-test & libappcontroller 69/22969/2
Frederic Marec [Mon, 18 Nov 2019 14:05:47 +0000 (15:05 +0100)]
Bump afb-test & libappcontroller

Bump afb-test & libappcontroller to fix missing event group during test

Bug-AGL: SPEC-2795

Change-Id: Iaa87ac5512d5b54bf56922883c54cf38eaa6ce79
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
4 years agometa-agl-bsp/meta-rcar-gen3: Apply E3 audio configuration 74/22374/4
Harunobu Kurokawa [Tue, 10 Sep 2019 22:10:38 +0000 (07:10 +0900)]
meta-agl-bsp/meta-rcar-gen3: Apply E3 audio configuration

v2:
 add PACKAGE_ARCH = "${MACHINE_ARCH}"

Bug-AGL: SPEC-2808

Change-Id: Id1587761c9be10a55ea18a938b74b39c512b63e2
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
4 years agoebisu: Update setup.sh to adopt multiple zip file 58/22858/2
Harunobu Kurokawa [Tue, 5 Nov 2019 09:15:01 +0000 (18:15 +0900)]
ebisu: Update setup.sh to adopt multiple zip file

Bug-AGL: SPEC-2564

Change-Id: I4462128c52b70ab6e5abcba5d89bf5b02cc79e17
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
4 years agobsp/rcar-gen3: Avoid reinstall of drivers 50/22950/2
José Bollo [Thu, 14 Nov 2019 13:29:21 +0000 (14:29 +0100)]
bsp/rcar-gen3: Avoid reinstall of drivers

When the ZIP files are already copied, it avoids to
reinstall the proprietary drivers.

This change is intended to facilitate workflows were
aglsetup is sparsely/rarely used.

Change-Id: I25275473d52ee7c811fdcaa50871bc1d385e868d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agoaf-binder: Fix callsync hanging 51/22951/2
José Bollo [Thu, 14 Nov 2019 16:06:09 +0000 (17:06 +0100)]
af-binder: Fix callsync hanging

This bump includes the following changes:

 * 6f42df1e Improve detection of the bindings
 * b612db21 sig-monitor: Fix exit in signal handler
 * 355db4b7 jobs: Fix callsync hanging

 Bug-AGL: SPEC-2937, SPEC-2907, SPEC-2841

Change-Id: If45bd10e66d3db32790acc4f1c3f57948325c859
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years ago[RCAR] Update graphics driver 85/22885/3
Ronan Le Martret [Fri, 8 Nov 2019 09:38:49 +0000 (10:38 +0100)]
[RCAR] Update graphics driver

Update graphics kernel side driver to 20191021.

Bug-AGL: SPEC-2784

Change-Id: Ibce4e7ee5fe00d9c37e49b826bd62e39129f91a1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
4 years agoCynagora: Replace cynara with cynagora 59/22859/3
José Bollo [Wed, 12 Sep 2018 07:58:03 +0000 (09:58 +0200)]
Cynagora: Replace cynara with cynagora

Shift from the permission database cynara
to cynagora permission database with a compatibility
library.

The cache size required by dbus-cynara is updated
because that size is now a count of bytes, not a count
of entries.

Bug-AGL: SPEC-2844

Change-Id: I9a81de6e3b8bcb94adc0bb05c63183c2eda3f310
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agoGeneralize create-combined-dtb to use VC4DTBO from board config 63/22863/1
Jan-Simon Moeller [Tue, 5 Nov 2019 21:59:40 +0000 (22:59 +0100)]
Generalize create-combined-dtb to use VC4DTBO from board config

and also add the rpi4.

Bug-AGL: SPEC-2465
Bug-AGL: SPEC-2656

.

Change-Id: Ied2dce914ecc539c7634214b571508d371116235
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agoraspberrypi*/50_local.conf.inc: Update rpi 3/4 56/22856/1
Leon Anavi [Mon, 4 Nov 2019 21:24:44 +0000 (23:24 +0200)]
raspberrypi*/50_local.conf.inc: Update rpi 3/4

Use the same versions for Linux kernel and Mesa on both Raspberry
Pi 3B/B+ and 4. This allows to run firmware KMS that supports
HDMI and the official 7" Raspberry Pi touch screen DSI display.

Bug-AGL: SPEC-2465

Change-Id: I7ae5739bbb6b8d2efd3264d3d1eab9c28e6f2559
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agoagl_raspberrypi3.inc: Switch to firmware KMS 55/22855/1
Leon Anavi [Mon, 4 Nov 2019 21:22:40 +0000 (23:22 +0200)]
agl_raspberrypi3.inc: Switch to firmware KMS

Swith to firmware KMS with appropriate Linux kernel and Mesa
version to support both HDMI and the official 7" Raspberry Pi
touch screen display on Raspberry Pi 3B/B+ and 4. Device tree
changes are not required for firmware KMS.

Bug-AGL: SPEC-2465

Change-Id: I5f8f62c0151b7eb79ab1f96419d9c62469a1554e
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agobcm2835-bootfiles.bbappend: Update firmware 54/22854/1
Leon Anavi [Mon, 4 Nov 2019 21:18:20 +0000 (23:18 +0200)]
bcm2835-bootfiles.bbappend: Update firmware

Update the firmware to support Linux kernel 4.19.80 for
Raspberry Pi 3 B/B+ and 4. This way both the HDMI and the
official 7" Raspberry Pi touch screen display are supported.

Bug-AGL: SPEC-2465

Change-Id: Idb028b8abca5a44da2783def8af2c28f04de66d2
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agolinux-raspberrypi_4.19.bb: Update to 4.19.80 53/22853/1
Leon Anavi [Mon, 4 Nov 2019 21:16:44 +0000 (23:16 +0200)]
linux-raspberrypi_4.19.bb: Update to 4.19.80

Update Linux kernel for Raspberry Pi to 4.19.80. This version
allows to run firmware KMS to support output through HDMI and
DSI for the official 7" Raspberry Pi touch screen display.

Bug-AGL: SPEC-2465

Change-Id: Ie854f8609196f986a1f9067da1010fb2e510e7c4
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agorpi-config: Set max_framebuffers to 2 to support dual display 72/22772/2
Changhyeok Bae [Fri, 1 Nov 2019 11:07:44 +0000 (12:07 +0100)]
rpi-config: Set max_framebuffers to 2 to support dual display

Change-Id: Id9ca08ede2aedbc122a04d97ca4bb5bd8478b717
Signed-off-by: Changhyeok Bae <changhyeok.bae@daimler.com>
4 years agoRestrict smack dependency on coreutil to runtime 67/22767/1
Ronan Le Martret [Thu, 31 Oct 2019 14:40:59 +0000 (14:40 +0000)]
Restrict smack dependency on coreutil to runtime

- avoid build cycle dependency in yocto zeus

Bug-AGL: SPEC-2932

Change-Id: Icfcc59d873cb75213a50547f5b7d70888dbe41bc
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
4 years agoReplace tab by 4 spaces 66/22766/1
Ronan Le Martret [Thu, 31 Oct 2019 14:32:20 +0000 (14:32 +0000)]
Replace tab by 4 spaces

- yocto zeus QA check tab in recipes.
  Replace tab by spaces is mandatory in yocto zeus.

Bug-AGL: SPEC-2932

Change-Id: I7776d4e72888114ab42e5c287971e8242885fe99
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
4 years agoAdd missing space in SRC_URI_append statement 59/22759/1
Jan-Simon Möller [Mon, 21 Oct 2019 22:08:44 +0000 (00:08 +0200)]
Add missing space in SRC_URI_append statement

This fixes SPEC-2922.

Bug-AGL: SPEC-2922

.

Change-Id: I978c3d28e6d62885cd95ca6f2d2b32d34fa6933d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
(cherry picked from commit 8a052edd56f801c465781b784bf1f53b15135c86)

4 years agometa-netboot: don't use 'ip' command to detect boot interface 53/22753/2
Stephane Desneux [Wed, 23 Oct 2019 10:05:21 +0000 (10:05 +0000)]
meta-netboot: don't use 'ip' command to detect boot interface

This patch changes the method to detect the current network interface
used for netboot. Instead of using the 'ip' command, it parses the content
of /sys/class/net/* to detect the first running ethernet interface.

Two new messages are now visible on the console in initramfs phase:
--------------------------------------------------
/sbin/init[1]: find_active_interface: first active interface is eth0
/sbin/init[1]: Adjusting Connman command line. Will be: 'connmand -r -n -I eth0'
--------------------------------------------------

Background:

When booting using netboot, it's necessary to update connman command line
options to ignore the network interface used for NBD connection.
For this, the initramfs script tries to detect the interface in use by
running 'ip -o link show state'.

'ip' command comes with iproute2 package but for various reasons, some AGL
images like m3ulcb-nogfx don't have iproute2 installed. In this case, the
'ip' command is implemented by busybox, which doesn't support the '-o' option.
This leads to issues when running connman as the command line is not properly
updated.

Bug-AGL: SPEC-2921

Change-Id: I5691f04ab462a148219b741d235247a2bfbc2e24
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
4 years agoweston: Disable output type patch 45/22745/1
Scott Murray [Tue, 22 Oct 2019 09:34:25 +0000 (05:34 -0400)]
weston: Disable output type patch

Comment out 0002-compositor-add-output-type-to-weston_output.patch in
weston bbappend for now to prevent crashes on H3ULCB v3.0 plus
Kingfisher systems like the AGL demo setups.

Bug-AGL: SPEC-2827

Change-Id: I2a56d7b510d7001b555821dcf37f0487eea1806c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agoagl-service-windowmanager: switch to floating SRCREV 44/22744/1
Scott Murray [Tue, 22 Oct 2019 09:17:03 +0000 (05:17 -0400)]
agl-service-windowmanager: switch to floating SRCREV

Change SRCREV in agl-service-windowmanager recipe to AGL_APP_REVISION
so it will be automatically pick up latest branch changes based on the
AGLRELEASETYPE mechanism. This matches the other service recipes.

Bug-AGL: SPEC-2914

Change-Id: I5079f3582ac7c482e5caceb5baebe4178e17008d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agoweston-ini-conf: update virtualoutput.cfg 25/22725/1
Scott Murray [Sun, 20 Oct 2019 17:28:16 +0000 (13:28 -0400)]
weston-ini-conf: update virtualoutput.cfg

Update virtualoutput.cfg weston.ini fragment to use the 640x720 size
expected by tbtnavi.

Bug-AGL: SPEC-2913

Change-Id: I46abf9d6d78671772951e52e4f80cac20720edcf
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agoagl-service-navigation: remove outdated HOMEPAGE 37/22637/2
Matt Ranostay [Tue, 15 Oct 2019 08:06:48 +0000 (11:06 +0300)]
agl-service-navigation: remove outdated HOMEPAGE

Remove outdated HOMEPAGE uri from recipe.

Bug-AGL: SPEC-2880
Change-Id: I9eb679f6fc6ffe9aabdc045b81487a8366944760
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agolibafb-helpers: bump to latest revision 27/22627/2
Stephane Desneux [Mon, 14 Oct 2019 13:01:29 +0000 (13:01 +0000)]
libafb-helpers: bump to latest revision

The following commits are added:
5b9cce9 Add function to add one json array to another one
25bb451 Pkg config files:  use CMAKE_INSTALL_LIBDIR var

Bug-AGL: SPEC-2846,SPEC-2867

Change-Id: I1dfbfb841afb1313222360fbc646490946f34079
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
4 years agometa-agl-bsp: Update PACKAGES_GFX_* for TI boards 25/22625/2
Paul Barker [Thu, 10 Oct 2019 13:10:21 +0000 (13:10 +0000)]
meta-agl-bsp: Update PACKAGES_GFX_* for TI boards

After updating the meta-ti layer to the ti2019.03 release, the
'omapdrm-pvr' package will no longer be defined. As the recipe is
already called 'ti-sgx-ddk-km' this change can be applied before
updating meta-ti.

Change-Id: Ie875a2a6d8a7b2f24460943558160f8aa37f544d
Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
4 years agoBump waltham-transmitter src revision. 10/22610/2
Veeresh Kadasani [Thu, 10 Oct 2019 09:58:17 +0000 (18:58 +0900)]
Bump waltham-transmitter src revision.

b880c4b - waltham-renderer:change pipeline configure name
2309102 - change output section name for transmitter

Change-Id: I60b044ef12d7c47f940e359db36146fb2a6b8d4a
Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
4 years agoaf-main: Starting of HTML, API discovery, fix 13/22613/2
José Bollo [Tue, 8 Oct 2019 12:11:48 +0000 (14:11 +0200)]
af-main: Starting of HTML, API discovery, fix

This upgrade includes the 2 fixes and one evolution below:
 * conf/system: fix shebang not absolute
 * Add WAIT_FOR_HOST_SERVICE envvar to unit files for webapps
 * Add discovery of API

Bug-AGL: SPEC-2793
Bug-AGL: SPEC-2863
Bug-AGL: SPEC-2871

Change-Id: I0b9fb30b580be04d2f22c0daf3b21f4c4c0a2087
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agolightmediascanner.service: Fix for the first boot 06/22606/2
Leon Anavi [Thu, 10 Oct 2019 19:08:26 +0000 (22:08 +0300)]
lightmediascanner.service: Fix for the first boot

Fix lightmediascanner systemd service to avoiding a race
condition with /var/volatile/tmp on the first boot by running it
after run-agl-postinsts.service. Furhtermore, for extra safety,
a restart on failure has been added.

Bug-AGL: SPEC-2869

Change-Id: Ib0cadfaa3b4da2a15ac3cfc04cf6d8174e63eb63
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agoagl-service-navigation: add RDEPENDS 07/22607/1
Scott Murray [Thu, 10 Oct 2019 22:51:48 +0000 (18:51 -0400)]
agl-service-navigation: add RDEPENDS

Add RDEPENDS definition to indicate libjson-c and libdbus-c++ runtime
dependency.  This fixes a startup problem if libdbus-c++ is not pulled
into an image by something else, which will then cause the POI app to
crash.

Bug-AGL: SPEC-2707

Change-Id: I02b6c120c0fefae972874284c10b6606bab5f647
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agobluez-alsa: update to latest master 87/22587/1
George Kiagiadakis [Fri, 4 Oct 2019 18:22:18 +0000 (21:22 +0300)]
bluez-alsa: update to latest master

This adds, among others, the d-bus interface that is necessary
for the pipewire gstreamer helper from meta-pipewire to work.

The LICENSE file was changed to not include the contributors list,
but otherwise the license is unchanged.

Bug-AGL: SPEC-2792

Change-Id: I7d9e954691e617b3c8ba8165864b32f3831e28b7
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
(cherry picked from commit 9beae08be831b7ba23121a68caa5604499530698)

4 years agoagl-devel.inc: Add modetest 49/22549/1
Leon Anavi [Tue, 1 Oct 2019 07:52:55 +0000 (10:52 +0300)]
agl-devel.inc: Add modetest

Add modetest if the agl-devel feature is enabled in images with
graphical user interface (GUI), aka wayland. Modetest is part of
libdrm and libdrm-tests. It is useful for verification of the
DRM/KMS driver functionality.

Bug-AGL: SPEC-2465

Change-Id: Iaee906a97b3ee38214b04f603322298fa7adb4c5
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agoBump waltham-transmitter src revision. 16/22116/3
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

Change-Id: I1155dc67c45ee6143a3198f198af55274041b13f
Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
(cherry picked from commit b278ddfbb42187ae9db0ec1910a3d17bebff18a9)

4 years agometa-agl-profile-core: update curl and nghttp2 36/22536/1
Scott Murray [Mon, 30 Sep 2019 09:49:23 +0000 (05:49 -0400)]
meta-agl-profile-core: update curl and nghttp2

Backport newer curl and nghttp2 recipes, and bbappend curl to enable
nghttp2 support by default when building for target. In concert with
a change to mask out the curl bbappend in meta-aac, this should
provide the requirements for alexa-voiceagent-service and avoid
significant rebuilds when the agl-voiceagent-alexa feature is
enabled/disabled.

The curl recipe backport is from commit 0b7320b in upstream oe-core
master branch, the nghttp2 recipe backport is from commit 5a9b6d3 in
meta-networking in meta-openembedded master branch.

Bug-AGL: SPEC-2839

Change-Id: Id1ec872dfcb4ecc7a9ba68bdefb114ceeff066c3
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agoraspberrypi4: Fix Bluetooth 08/22508/1
Leon Anavi [Thu, 26 Sep 2019 09:23:34 +0000 (12:23 +0300)]
raspberrypi4: Fix Bluetooth

Include recipe pi-bluetooth in the Raspberry Pi 4 images to
enable Bluetooth. This recipe provides a script that starts
automatically and properly configures BT-HCI. The same script
is used in Raspbian.

Bug-AGL: SPEC-2656

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

4 years agoraspberrypi4: Fix WiFi 03/22503/1
Leon Anavi [Wed, 25 Sep 2019 14:50:11 +0000 (17:50 +0300)]
raspberrypi4: Fix WiFi

Apply patch from branch master of meta-raspberrypi as a bbappend
to recipe linux-firmware-rpidistro to fix WiFi on Raspberry Pi 4.
This is a temporary solution while AGL master is still based on
Thud. As soon as AGL moves to newer release of the Yocto Project
and layer meta-raspberrypi this patch will become reduntant.

The change of boardflags3 value from "0x48200100" to "0x44200100"
has been done already in Raspbian (2019-06-20). For more details:
https://github.com/RPi-Distro/firmware-nonfree/issues/3

Bug-AGL: SPEC-2656

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

4 years agoraspberrypi4: enable v3d and dependencies in mesa 60/22460/1
Jan-Simon Möller [Fri, 20 Sep 2019 09:34:08 +0000 (11:34 +0200)]
raspberrypi4: enable v3d and dependencies in mesa

To enable the gfx acceleration, enable the necessary flags in mesa.

Bug-AGL: SPEC-2656

Change-Id: I8bfb2f4034679f4703ddcb4bdb4c1363eee3d9d4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoraspberrypi*/50_local.conf.inc: Set Mesa version 54/22454/1
Leon Anavi [Thu, 19 Sep 2019 08:49:55 +0000 (11:49 +0300)]
raspberrypi*/50_local.conf.inc: Set Mesa version

Use Mesa 18.1 for Raspberry Pi 3 and Mesa 19.1 for Raspberry Pi 4.
With the older version of Mesa Weston and the home screen doesn't
launch properly on Raspberry Pi 4 therefore version 19.1 has been
ported from master branch of layer openembedded-core to layer
meta-agl-bsp/meta-raspberrypi. This solution is temporary until
the next major update of AGL from Yocto Project release Thud to
a newer release.

Bug-AGL: SPEC-2656

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Change-Id: I7b3d87a42c6e65014705d98bfbd8ebdabb48eadd
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agomesa: Upgrade Mesa for Raspberry Pi 4 53/22453/1
Leon Anavi [Thu, 19 Sep 2019 08:45:02 +0000 (11:45 +0300)]
mesa: Upgrade Mesa for Raspberry Pi 4

Bring Mesa 19.1.6 to meta-agl-bsp/meta-raspberrypi because there
are driver issues with Mesa 18.1 for Raspberry Pi 4. The recipes
for this new version are coming from the master branch of layer
openembedded-core. With the newer version of Mesa Weston works
fine on Raspberry Pi 4 and the home screen appears as expected.

Bug-AGL: SPEC-2656

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

4 years agoRemove pulseaudio feature, not relevant any more 38/22438/2
Ronan Le Martret [Tue, 17 Sep 2019 13:27:11 +0000 (15:27 +0200)]
Remove pulseaudio feature, not relevant any more

Bug-AGL: SPEC-2817
Change-Id: I0323e97ed9aca036685e946752aa7bade8fc5057
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
4 years ago[RCAR] Update BSP 3.21 driver 13/22413/2
Ronan Le Martret [Thu, 5 Sep 2019 13:11:29 +0000 (15:11 +0200)]
[RCAR] Update BSP 3.21 driver

Bug-AGL: SPEC-2784

Change-Id: I55e014a08fd315d3460672240c6ace1a2f31c55d
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
4 years agoweston-init: Refactor, simplify, fix 33/22333/4
José Bollo [Thu, 5 Sep 2019 14:38:20 +0000 (16:38 +0200)]
weston-init: Refactor, simplify, fix

The recipe weston-init was setting smack labels of input devices
to ^. This had the effect to enforce processes that wanted to
read /dev/input/eventXX to have the Smack label System.

I changed the label to * and keep the protection of groups.

At the same time, a refactoring of the recipe make it cleaner to
maintain.

Bug-AGL: SPEC-2796

Change-Id: I3e2345d48a40b15254e68e25bbfcd9b22fcd8629
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agobase-files: add /media to System::Shared SMACK label 05/22405/2
Matt Ranostay [Thu, 12 Sep 2019 06:59:12 +0000 (09:59 +0300)]
base-files: add /media to System::Shared SMACK label

All media mountpoints should have the System::Shared label
to avoid access denials on multimedia items.

Bug-AGL: SPEC-2774
Change-Id: Ib9bb1b26a1950cacd5e1f384cbe19d4a4a6373d9
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agoaf-binder: Fix event sending regression 23/22423/3
José Bollo [Fri, 13 Sep 2019 13:54:54 +0000 (15:54 +0200)]
af-binder: Fix event sending regression

This fix a regression described by the jira
ticket below: events wasn't sent as expected.

Bug-AGL: SPEC-2809

Include the following changes:
 * 8744669 Fix binding example path & update afb-daemon options
 * 45a4e69 Make source files relative
 * 7129df4 jobs: Wake up an event loop if needed
 * 84d1859 Revert "Make source files relative"

Change-Id: If93c26bba71350b4499d54feaebdebb71ad816f5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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

4 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