AGL/meta-agl.git
4 years agoqtlocation: revert Mapbox API calls to 256x256 tiles 48/24248/2
Matt Ranostay [Wed, 11 Mar 2020 23:30:19 +0000 (01:30 +0200)]
qtlocation: revert Mapbox API calls to 256x256 tiles

Newer API uses 512x512 blocks by default, but we need to use
256x256 to avoid tiny font as QtLocation expected the latter
sized tiles.

Bug-AGL: SPEC-3264

Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Change-Id: I12e926fea5c527f7be2f33beb68d67b68a3b7873

4 years agoqtlocation: add Mapbox patch to use new API 47/24247/2
Matt Ranostay [Tue, 10 Mar 2020 21:03:47 +0000 (23:03 +0200)]
qtlocation: add Mapbox patch to use new API

On June 1st the Mapbox Studio Classic API will be disabled, and
thus the current QtLocation plugin needs to be updated to allow access
to the new API

Bug-AGL: SPEC-3264
Change-Id: I3799de4886b83d896d10b2ee97d15f604875b97e
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agoagl-sota: Fix UART issues for Raspberry Pi 3 41/24141/3
Leon Anavi [Fri, 28 Feb 2020 18:30:26 +0000 (20:30 +0200)]
agl-sota: Fix UART issues for Raspberry Pi 3

rpi4 and recent rpi3 firmwares need dtb in /boot partition
so that they can be read by the firmware. This fixes UART
issues for Raspberry Pi 3. For branches based on release
Thud this fix is not present in meta-updater.

Bug-AGL: SPEC-3130

Change-Id: I082cae9b8fcbb2d8d87173e9f402d77424c13a02
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agorpi4-base.inc: KERNEL_DEVICETREE for rpi4 and sota 40/24140/2
Leon Anavi [Thu, 20 Feb 2020 19:53:13 +0000 (21:53 +0200)]
rpi4-base.inc: KERNEL_DEVICETREE for rpi4 and sota

Use different dtb and dtbo files for Raspberry Pi 4 when agl-sota
is enabled. This modification is required for successfully
building a kernel because in AGL machine raspberrypi4 is for
64-bit image and in class sota_raspberrypi layer meta-updater
the same machine name is targeting 32-bit image.

Bug-AGL: SPEC-3130

Change-Id: I5fd4bccfe605fea4e14499183279032a8bf0562e
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agoagl-sota: Set initramfs fstype to cpio.gz 39/24139/2
Leon Anavi [Fri, 14 Feb 2020 10:46:59 +0000 (12:46 +0200)]
agl-sota: Set initramfs fstype to cpio.gz

Set initramfs fstype to cpio.gz in 50_local.conf.inc (included in
local.conf) when agl-sota is enabled.

Bug-AGL: SPEC-3097, SPEC-3130

Change-Id: Iaa92d127aa6dddd6c6bc843cf3ee40e816d9e191
Suggested-by: Patrick Vacek <patrickvacek@gmail.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
4 years agolinux-agl: add pfifo patchset for fixing CAN failures 25/24225/2
Matt Ranostay [Wed, 11 Mar 2020 05:29:42 +0000 (07:29 +0200)]
linux-agl: add pfifo patchset for fixing CAN failures

Backported upstream patchset to fix CAN failures with SocketCAN

* net: sch_generic: Use pfifo_fast as fallback scheduler for CAN hardware

Additional patchset for 4.14 kernels to bring in needed if_afp.h header

Bug-AGL: SPEC-3171
Change-Id: I1ddb75d1aca64861cfc52f1df4ff810bd0367ab9
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agoaf-binder: fix bug in reconnection 50/24250/1
Jose Bollo [Fri, 13 Mar 2020 08:55:25 +0000 (09:55 +0100)]
af-binder: fix bug in reconnection

When the client reconnected, it used the wrong type
and reconnected as server leading to unexpected
state with faults.

Include:
 * b15edc1 afb-stub-ws: fix bug in reconnection

Bug-AGL: SPEC-3272

Change-Id: I3ad0987be094527f2a3a980a3a99f397b704f3ee
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
4 years agoaf-binder: bump and fixes 60/24160/2
Jose Bollo [Wed, 4 Mar 2020 09:06:40 +0000 (10:06 +0100)]
af-binder: bump and fixes

Includes:
 * 862fb68b Fix globset compilation warning
 * 00b0c28f Add gitreview file for icefish branch
 * 44c40eaa Improves compatibility with AddressSanitizers
 * ad15fdb2 Fix bug in session and token removal
 * 38c6516c Fix a tiny issue in the protocol
 * 591f9d33 Fix bug in C++ wrapper

Bug-AGL: SPEC-3040
Bug-AGL: SPEC-3134
Bug-AGL: SPEC-3162
Bug-AGL: SPEC-3220

Change-Id: I975d0130fe2ebefd75decf2ac84b9c5cee1fb622
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
4 years agoPost-release change of distro configuration 38/24238/1
Jan-Simon Moeller [Wed, 11 Mar 2020 22:57:53 +0000 (23:57 +0100)]
Post-release change of distro configuration

9.0.0 is out. Bump the distro configuration.

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

4 years agosystemd: add configurable can-termination option 51/24051/2
Matt Ranostay [Wed, 19 Feb 2020 20:28:03 +0000 (22:28 +0200)]
systemd: add configurable can-termination option

Some CANBus adapters allow turning off/on of the termination
resistor. This patchset allows .network scripts to select
this value with Termination=

Bug-AGL: SPEC-3171
Change-Id: Idb182a7c23196f77c65d38dec8a771a734810d86
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agosystemd: canbus: add RestartSec to network script 77/23877/3
Matt Ranostay [Tue, 11 Feb 2020 02:30:14 +0000 (04:30 +0200)]
systemd: canbus: add RestartSec to network script

Add RestartSec=0.1 to canbus-can.network to allow recovery
when bus-off error conditions occur.

Bug-AGL: SPEC-3171
Change-Id: I4dc7ca9bd58666dc7a4e4a40f89af8bd47158193
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agoPrepare Itchy Icefish 9.0.0 70/23970/1 9.0.0 icefish/9.0.0 icefish_9.0.0
Jan-Simon Moeller [Mon, 17 Feb 2020 18:08:00 +0000 (19:08 +0100)]
Prepare Itchy Icefish 9.0.0

Change the distro configuration for
Itchy Icefish 9.0.0

.

Change-Id: Ib9647c85cec34472aa1dc8b86cde0d9993981ea2
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agoagl-compositor: Update SRCREV (icefish) 57/23957/2
Marius Vlad [Fri, 14 Feb 2020 15:28:43 +0000 (17:28 +0200)]
agl-compositor: Update SRCREV (icefish)

This includes the following changes:

facb744f37e Update .gitreview file
ca5e2aec22c meson.build: Allow to build/install locally
ed4a9b0d9c5 meson.build: Enable Wextra and transform warning messages into errors
191dc29c7d0 main: Avoid warning on un-initialized display
b43a012824a shell: Add a black surface in the fullscreen layer
433edac095b desktop: Remove the surface in all cases
ab2e660c891 desktop: Reset the active surface
f8457f6d623 shell: Allow the client shell to unbind/rebind to agl-shell interface
08ea4a2fec7 layout: Do not delay mapping of desktop surface until commit time
3950b7e787c layout: Use the background's surface ivi_output when activating apps by default
ffd00ab3a05 ivi-compositor: Add systemd notify message
219a513fd95 shared: Add some regular helpers
e5027ce09a4 layout: Force a repaint of the entire output
0e47c84e348 layout: Print out when adding panels/background
2d7243208d3 src/: Add basic support for app switching

Change-Id: Icb133cd36f8f9842748d1aaa67404ff5d7cc582d
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
4 years agoaf-main: Fix setting of /run/user 96/23796/5
José Bollo [Tue, 11 Feb 2020 13:28:28 +0000 (14:28 +0100)]
af-main: Fix setting of /run/user

Includes:
 * ec6b0a7 system setup: Fix settings on /run/user
 * 381a097 Update .gitreview file

Bug-AGL: SPEC-3175

Change-Id: I41f7d3665ec161b7ae6bdbc19ad4ac3616b375c1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agocynagora: Fix protocol and start issues 74/23874/3
José Bollo [Fri, 7 Feb 2020 16:34:25 +0000 (17:34 +0100)]
cynagora: Fix protocol and start issues

Includes:
 * 384f2e7 Fix bug on unknown commands
 * 68ccab4 Fix a bug in protocol
 * 218dad2 Change cynagora service
 * d73ac5e Add .gitreview file

Bug-AGL: SPEC-3002
Bug-AGL: SPEC-3166
Bug-AGL: SPEC-3168

Change-Id: I671296d7f6512c1fcf2abda3bd707fbda1c63446
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agoSmack: Improve safety of signal policy 73/23873/3
José Bollo [Tue, 21 Jan 2020 16:06:11 +0000 (17:06 +0100)]
Smack: Improve safety of signal policy

This change enforce task to have `append` Smack's capacity
(instead of `write`) to send a signal to an other task.

Bug-AGL: SPEC-1780

Change-Id: I79687fcd0242db591255646d3b5c545badea3d47
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agosecurity-manager: Restrict socket accesses 72/23872/3
José Bollo [Thu, 30 Jan 2020 17:13:40 +0000 (18:13 +0100)]
security-manager: Restrict socket accesses

Ensure that only members of the group and the owner can access
the security manager.

Bug-AGL: SPEC-3146

Change-Id: Ia529be6b4ef425d03be31f0d2e2d623fa6ac091e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agoFix SOTA build for build other than qemu 40/23940/2
Ronan Le Martret [Thu, 23 Jan 2020 21:14:28 +0000 (22:14 +0100)]
Fix SOTA build for build other than qemu

- The meta-updater-qemux86-64 must be add only for qemu build.

Change-Id: Iebdeddd869b2fca88467acd6983826b4f7e49de1
Bug-AGL: SPEC-3097
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
4 years agoSet AGL_BRANCH to icefish
Jan-Simon Möller [Wed, 12 Feb 2020 17:18:58 +0000 (18:18 +0100)]
Set AGL_BRANCH to icefish

The icefish branch is live.

.

Change-Id: I839b919fcdfa9b58992e3ad154713369c630d619
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoAdd defaultbranch=icefish to gitreview file 99/23799/1
Jan-Simon Moeller [Tue, 11 Feb 2020 15:26:54 +0000 (16:26 +0100)]
Add defaultbranch=icefish to gitreview file

Update .gitreview to have the defaultbranch= tag.
This simplifies changing the branches.

.

Change-Id: I1b421c46039fede2be67a070632d5bd8ea437a3c
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agoChange distro-configuration after Icefish rc5 50/23750/1
Jan-Simon Moeller [Thu, 6 Feb 2020 20:12:06 +0000 (21:12 +0100)]
Change distro-configuration after Icefish rc5

.

Change-Id: I036bfbbce92d8d06f1774af110b3bf3c7d35d706
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agoBump afb-test 19/23719/2
Frederic Marec [Thu, 30 Jan 2020 07:55:40 +0000 (08:55 +0100)]
Bump afb-test

Update afb-test version to pick-up:

4d0948a afm-test target: change order of the script

Bug-AGL: SPEC-2795

Change-Id: Ib02a542121550ac5ec28834993170c03af6ee060
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
4 years agoChange distro config for Icefish rc5 17/23717/1 8.99.5 icefish/8.99.5 icefish_8.99.5
Jan-Simon Moeller [Wed, 29 Jan 2020 21:29:27 +0000 (22:29 +0100)]
Change distro config for Icefish rc5

Adapt the AGLVERSION.

.

Change-Id: I5474b033e2dcdd69a645e33e5f4260c2b9260ce3
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agoBump libappcontroller 54/23654/7
Frederic Marec [Mon, 27 Jan 2020 07:39:48 +0000 (08:39 +0100)]
Bump libappcontroller

Update SRCREV to pick up:

1bef31c Remove use of prefix
2a588b7 Add function to get config default search path
3dd9b37 Improve plugin search path

Bump app-afb-test version to pick up:

910326f Change functions following controller modification

Bug-AGL: SPEC-2795

Change-Id: I432c5fca85d5476840bd662f4fd6a1882b3103a6
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
4 years agotemplates/feature/agl-compositor: Allow to test experimental agl-compositor 13/23713/3
Marius Vlad [Tue, 28 Jan 2020 19:27:54 +0000 (21:27 +0200)]
templates/feature/agl-compositor: Allow to test experimental agl-compositor

Facilitates testing the client shell (homescreen) with the newer
agl-compositor, but only enabled when DISTRO_FEATURES has
'agl-compositor'. Uses a WIP branch for it.

Regular clients, like hvac, mediaplayer, launcher and navigation-demo
also use the WIP branch. This modifies the conf/local file so it either
needs a clean build directory or it requires an override of the
conf/local when sourcing the aglsetup script.

Bug-AGL: SPEC-3123, SPEC-3124

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Suggested-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ice650b5b61ebd1e1a35f045301c14e0bedda3a05

4 years agoaf-main: Improve Smack setup 12/23712/2
José Bollo [Tue, 28 Jan 2020 14:16:02 +0000 (15:16 +0100)]
af-main: Improve Smack setup

Improve setup for solving access issues

While developping the binding afb-test, the export of
the binding afm-test, using "provided-binding" feature
revealed to be broken because of security setup.

Bug-AGL: SPEC-2795

Change-Id: I0af4a46aaa191cad167a332ebb2d14ebbfe04c6a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
4 years agoaf-main: Use xdg-shell-v6 for agl-compositor 19/23619/2
Marius Vlad [Thu, 23 Jan 2020 16:49:23 +0000 (18:49 +0200)]
af-main: Use xdg-shell-v6 for agl-compositor

As we're using xdg-shell-v6 instead of ivi-shell for agl-compositor and
applications, make the transition much easier (that is, having a fully bootable
workable image) by making it default when the DISTRO_FEATURES specify it.

Bug-AGL: SPEC-3128

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I1bf1546d3cfab14b1b4b76199ba60207c984d69f

4 years agoBump libafb-help 55/23655/2
Frederic Marec [Mon, 27 Jan 2020 11:22:58 +0000 (12:22 +0100)]
Bump libafb-help

Update SRCREV to pick-up:

1d1c6ce timer: Fix stopping a running timer
6d828a1 Add 'GetRunningBindingDirPath' function
4480e19 Add 'GetAFBRootDirPath' function

Bug-AGL: SPEC-2795

Change-Id: Ia788cb99c84dd2bc5e62134447a9b26ae53a885e
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
4 years agoRemove systemtap from AGL 29/23629/2
Ronan Le Martret [Thu, 23 Jan 2020 16:30:14 +0000 (17:30 +0100)]
Remove systemtap from AGL

- systemtap is not compatible with SOTA build.

Change-Id: Ibdd7670b219b54f5c4243d0f67ce74e979f11db9
Bug-AGL: SPEC-3097
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
4 years agopackagegroup: agl-core-devel: add gcc-sanitizers package 33/23633/1
Matt Ranostay [Fri, 24 Jan 2020 03:18:35 +0000 (05:18 +0200)]
packagegroup: agl-core-devel: add gcc-sanitizers package

AddressSanitizers debugging requires shared libraries on runtime
to function.

Bug-AGL: SPEC-3040
Change-Id: Ibd7148f98f8ae9c9bd5989d4eeaef4256079955a
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agolibqtappfw: update SRCREV 00/23600/3
Scott Murray [Mon, 20 Jan 2020 23:03:39 +0000 (18:03 -0500)]
libqtappfw: update SRCREV

Update SRCREV to pick up:

cd1a7f3 libqtappfw: add initial HVAC support
cd5c8fe Add initial voice-capabilities binding support
68cb7fe voice: remove workarounds for broken vshl-core event JSON

Bug-AGL: SPEC-3084, SPEC-3110, SPEC-2984

Change-Id: I93bd9bf25e9f15cc163a2b531794369480265b6a
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agoExtend qemux86-64 images to support real hardware 91/23591/2
Paul Barker [Mon, 20 Jan 2020 15:54:30 +0000 (15:54 +0000)]
Extend qemux86-64 images to support real hardware

* Build wic images for qemux86-64 which can be written to a USB stick or
  SD card.

* Support both virtual and physical displays for all qemu targets.

* Use a wks file which works on both virtual and physical machines. EFI
  is now required to boot the VMDK image.

* Drop inclusion of `microcode.cpio` in the boot partition in the wic
  file `systemd-intel-corei7-64-bootdisk.wks`. This file is not
  available for qemux86-64 images and is not strictly necessary.

Bug-AGL: SPEC-2931

Change-Id: Ib3982906e52d3a964a921c9a2234cab697fe0551
Signed-off-by: Paul Barker <pbarker@konsulko.com>
4 years agoaf-binder: Upgrade 70/23570/1
Jose Bollo [Fri, 10 Jan 2020 09:23:25 +0000 (10:23 +0100)]
af-binder: Upgrade

This upgrade of the binder includes improvement in
event handling (SPEC-3069) and minor fixes.
Unscription should now be immediately effective
as expected, no matter how many subscribe was done.

Included commits:
 * 8828c6be main-afb-client-demo: Fix typo
 * f3d1f19a afb-apiset: Fix start of apis
 * 18d28239 AFB.js: pass event name
 * ca0f859d afb-proto-ws: Improve comment and names
 * f40979c7 afb-proto-ws: Add message for unexpected event
 * c6fcbec3 afb-evt: Improve name of listening functions
 * 36ed9d2e afb-evt: Ensure unsubscribe works
 * 164f1414 afb-ws-client: Improve direct URI
 * 65353dce Update copyright dates

Bug-AGL: SPEC-3066
Bug-AGL: SPEC-3069
Bug-AGL: SPEC-3087
Bug-AGL: SPEC-3094

Change-Id: I499643564a1026f54b7cfd68f73352561e1d8649
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
4 years agoUpdate dependencies of agl-service-can-low-level 07/23507/1
Jan-Simon Moeller [Mon, 30 Dec 2019 15:14:16 +0000 (16:14 +0100)]
Update dependencies of agl-service-can-low-level

The upcoming changes require a new dependency to be added
to the recipe.

Bug-AGL: SPEC-3078

.

Change-Id: Iaf1954075903fcbbf414f024fce7b521e00c9017
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
4 years agodev-mapping: Add RPROVIDES mechanism 99/23499/2
Scott Murray [Sun, 29 Dec 2019 23:16:54 +0000 (18:16 -0500)]
dev-mapping: Add RPROVIDES mechanism

Add RPROVIDES and PREFFERED_RPROVIDER definitions to define a new
virtual/low-can-dev-mapping runtime package dependency that will
enable providing a different device mapping configuration for demo
setups.

Bug-AGL: SPEC-3076

Change-Id: I73d253a0a1285dd4576bb3b5bf04568c3d05e60c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agolibqtappfw: update SRCREV 00/23500/1
Scott Murray [Mon, 30 Dec 2019 01:07:04 +0000 (20:07 -0500)]
libqtappfw: update SRCREV

Update SRCREV to pick up:

95e3f5a Merge "voice: add vendor name to voiceagent model"
68e84b1 radio: Make sure min/max frequency are initialized
edb90cd voice: add vendor name to voiceagent model

Bug-AGL: SPEC-2981, SPEC-3041

Change-Id: I30582015b13721c8bf54386404f7e67a978bc016
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
4 years agoUpdate distro configuration post-rc4 74/23474/1
Jan-Simon Möller [Sat, 28 Dec 2019 21:58:30 +0000 (22:58 +0100)]
Update distro configuration post-rc4

Itchy Icefish rc4 is out.
The merge window for rc5 is open.

Change-Id: I7cf6aee8b43db5fa7159d8fa0dbc1b9c97edced8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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>
5 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>
5 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>