José Bollo [Fri, 13 Oct 2017 12:47:13 +0000 (14:47 +0200)]
weston: Create really shared files
Last time it was discussed, this patch was not upstreamable.
But it is needed for a reason that still have to be investigated.
Nevertheless the patch is enough simple to be maintained
while waiting for the full investigation/resolution.
Change-Id: I47b17c7aa9ca5c495267259a15caacef50b4b324
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 12 Dec 2018 13:27:48 +0000 (14:27 +0100)]
connman+bluez5: Update rights for smack systems
Reading the file /etc/resolv.conf that is linked to
/run/connman/resolv.conf is not possible for common users.
This changes add the setting of the directory /run/connman
that allows common applications to read that file.
To achieves this goal, that changes use the intended
tuning mechanism of systemd instead of using sed.
This is cleaner. Thus this as been adapted for bluez5 too.
Bug-AGL: SPEC-2006
Change-Id: I3d2a708be2a5c62664bfcf90757e9e5c080d6179
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 12 Dec 2018 13:24:11 +0000 (14:24 +0100)]
smack-system-setup: Update udev rules
Add rules to correctly tag devices with *.
The most general rule is that devices should be
protected using DAC rules (user and group).
Bug-AGL: SPEC-2006
Change-Id: Ie18f79353f8f7645c2b615a359c65ec3a6984958
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jan-Simon Möller [Fri, 14 Dec 2018 15:50:06 +0000 (16:50 +0100)]
Remove 4.9 patchqueue for new 4.14 kernel in meta-ti
We update meta-ti to 4.14, thus we do no longer need the 4.9 patch queue of smack.
Change-Id: I20d89c75029f29b0e6827979e70e85614d7a2e40
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
José Bollo [Thu, 13 Dec 2018 13:33:55 +0000 (14:33 +0100)]
systemd: Cleanup of recipe of meta-security
The recipe for systemd that belongs to meta-security
was carrying lot of history for probably no purpose.
If history is needed, curious people can still refer to
https://github.com/intel/meta-intel-iot-security
Change-Id: I8762da7feb2084de2a97025498eb47ef815c7954
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Wed, 12 Dec 2018 11:03:43 +0000 (12:03 +0100)]
systemd: Refactor build using smack-system-setup
This changes introduces the new recipe
meta-security/recipes-core/smack-system-setup/smack-system-setup_1.bb
The purpose is to split the recipe of systemd in two
parts:
- A part specific to systemd and only systemd
It actually includes Smack patches for systemd
and a renaming of udev-rules.
- A part more oriented on putting the system in
order to run with Smack activated.
At the end, it will probably save many rebuilds as
systemd recipe will evolve less in relation with the
setup of the system.
As example, the udev rule file "55-udev-smack-default.rules"
that setup udev rules specific to smack is no more brought
by systemd but by smack-system-setup.
Also at the same time, some cleanup and refactoring is
done. Note that the ".bbappend" file for systemd is
now fixed in version and is including a common file file
that records the several known versions. No cleanup was
made on the versioned patch for the sake of memory.
The cleanup of the history is to be achieved later...
Bug-AGL: SPEC-2045
Change-Id: Iacf772142a381729dfdbe98d133a3effc4d6cf68
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jan-Simon Möller [Thu, 13 Dec 2018 20:04:30 +0000 (21:04 +0100)]
Remove patch in newer ti-staging kernel
The pending BSP update already has this patch applied (can be reverse-applied).
Thus remove it.
Change-Id: If3172270f40b21bd448c7113c7ab6f2a8f82023c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
José Bollo [Wed, 12 Dec 2018 12:10:58 +0000 (13:10 +0100)]
af-binder: Upgrade
This upgrade includes 4 commits:
*
bc247d4 globset: Introduce globset for event handling
*
13a5afe Fix deprecation warnings for older GCC versions
*
3f2e3d9 afb-hook: Improve reentrancy of hooking
*
9295a52 afb-proto-ws: Add error report
Change-Id: I91a493f1a2288a27f311171dc8b9ebe29c8a24a2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Henrique Ferreiro [Fri, 23 Nov 2018 00:24:41 +0000 (01:24 +0100)]
Provide fallback time servers to connman
connman NTP client needs some fallback time servers in case it cannot
get one from the DHCP server.
Bug-AGL: SPEC-1925
Change-Id: I904f49f7d9428a2cc4e90ccea387bf4892f4d38e
Signed-off-by: Henrique Ferreiro <hferreiro@igalia.com>
(cherry picked from commit
803f03daebb58b3a26462df35f001637f2ddf9a0)
Scott Murray [Mon, 19 Nov 2018 13:45:27 +0000 (08:45 -0500)]
Tweak agl-profile-graphical packagegroups
To more easily allow using Weston in profiles derived from
agl-profile-graphical, rename packagegroup-agl-image-weston to
packagegroup-agl-graphical-weston and tweak the definitions of it and
packagegroup-agl-profile-graphical so that non-Weston related packages
are only included via from packagegroup-agl-profile-graphical. The
contents of agl-image-weston and agl-demo-platform remain unchanged
after these changes.
Bug-AGL: SPEC-1730
Change-Id: I4915bb896cc11ea49103400795a65c92b5889110
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit
4f7222e10cbe09ea3231eab912857fc7ba9d1c12)
Jose Bollo [Wed, 5 Dec 2018 09:24:07 +0000 (10:24 +0100)]
af-main: Upgrade
This upgrade includes 3 commits:
*
1b1399e Improve port allocation
*
61b0cc7 Landing page for all APIs
*
7ecf0c1 Fix: retrieve the 'appid' correctly
Change-Id: Ib59b46faf1ed69431e46b7ed5ef3b85cb38f2876
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jan-Simon Möller [Sun, 9 Dec 2018 10:10:11 +0000 (11:10 +0100)]
Post rc2 bump of distro config
we're heading towards rc3 now.
Change-Id: I294f40e5c6f779a6ee7db984c2d475e9e230f54d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Romain Forlot [Thu, 15 Nov 2018 16:57:20 +0000 (17:57 +0100)]
Add platform-info binding
Initiate a new binding development providing a simple way
to get platform information like hardware capabilities or
build informations.
Bug-AGL: SPEC-1917 SPEC-720
Change-Id: I89e0f802be407fda9f86d38d69f956e036a45016
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Tadao Tanikawa [Mon, 3 Dec 2018 06:12:32 +0000 (06:12 +0000)]
Fix missing ivi-id-agent
The ivi-id-agent was missing because its configuration wasn't
updated although it is changed by the following patch of
wayland-ivi-extension in meta-agl-demo.
22c9537 wayland-ivi-extension: Added ivi-id-agent by mtey
Change-Id: I6faf18735cc0a2b7caea97a77fab3e11eaedcc49
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Scott Murray [Wed, 14 Nov 2018 03:33:07 +0000 (22:33 -0500)]
Add weston-ivi-extension to meta-agl-profile-graphical
Add weston-ivi-extension recipe files removed from meta-agl-demo
repository to meta-agl-profile-graphical layer. This allows using
weston-ivi-extension in images other than agl-demo-platform.
Bug-AGL: SPEC-1730
Change-Id: I08a6101484ac52fc2530b61390b7bd0b1bfa8f80
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit
160b986d4afcccc47ee5e1c73ff4a57d6e341776)
Scott Murray [Tue, 4 Dec 2018 22:18:21 +0000 (17:18 -0500)]
weston-ini-conf: update gst-record logic
The logic to handle the "virtual-output" and "gst-record"
DISTRO_FEATURES seems to be unfinished, this update replaces the
"virtual-output" usage with just "gst-record", as the former does not
seem to exist in the AGL codebase. The virtualoutput.cfg file has been
updated with the arguments from the virtual output section in the
replacement .ini file from the mapviewer-demo recipe in meta-agl-demo,
but some further investigation is required into tweaking things to
produce a final .ini file that matches that one. These changes are a
first step to getting to that end goal.
Change-Id: Ib99e0717ed1e66016c6e936a3c398addcb6adfb7
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit
262b016588cb153520362cf0aed3715e43d86672)
Jan-Simon Möller [Fri, 30 Nov 2018 22:34:01 +0000 (23:34 +0100)]
Prepare 6.99.2 Guppy RC2
Change the distro configuration in preparation of GG RC2.
Change-Id: I2eb05adf8f4f909d90aed81b75ba04a0933ae02e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Anton Gerasimov [Wed, 5 Sep 2018 13:17:45 +0000 (15:17 +0200)]
Enable agl-sota for h3ulcb
Change-Id: I3c2d0df6e3afd4aa0671261f7d143ac15d88a836
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
Naoko Tanibata [Mon, 26 Nov 2018 06:50:10 +0000 (15:50 +0900)]
Bump waltham-transmitter src revision.
*
b84f948 - transmitter: Avoid multiple module load error
*
8d837e2 - transmitter: Fix the return value of transmitter_output_enable
Change-Id: I36648b7ec4a39620a6e67f7ac717e27a2b1cc4f8
Signed-off-by: Naoko Tanibata <tnaoko@jp.adit-jv.com>
Leon Anavi [Mon, 26 Nov 2018 20:50:31 +0000 (22:50 +0200)]
create-combined-dtb: Add dependency on virtual/kernel
Add a dependency to virtual/kernel:do_deploy to ensure that
the dtb and dtbo files needed for task compile will be present.
Bug-AGL: SPEC-1775
Change-Id: I2d5872fe6bbd9a40c3f4185eea0efc10e6100b8b
Reported-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Leon Anavi [Mon, 26 Nov 2018 14:40:33 +0000 (16:40 +0200)]
agl_raspberrypi3.inc: Add create-combined-dtb
Include the recently added Yocto/OE recipe create-combined-dtb
for combining dtb and dtbo to Raspberry Pi builds.
Bug-AGL: SPEC-1775
Change-Id: I4bb91d9e5d7f6f5b8fe6a9371d85b93aa26bff1e
Suggested-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Matt Ranostay [Thu, 29 Nov 2018 14:23:37 +0000 (16:23 +0200)]
udisk: automount: remove 'flush' from MOUNT_OPTIONS
Not all filesystems support 'flush' mount option and this was
preventing automounting.
Change-Id: I98d25ab58cc6683272cdd45783aa854bc54f53ba
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Jan-Simon Möller [Mon, 26 Nov 2018 13:49:52 +0000 (14:49 +0100)]
Post-RC1 bump
Change-Id: I39ef7dc1023c80ca313ad80d5bd10df0c4fbe0c9
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Stephane Desneux [Wed, 21 Nov 2018 22:04:28 +0000 (22:04 +0000)]
distro-manifest-generator: add support for JSON output format
Distro build manifest is easier to parse if output is made in a structured
format. Adding JSON output format will allow bindings to read information
more easily.
The files created are now:
On target:
* /etc/platform-info/build (shell format)
* /etc/platform-info/build.json (JSON format)
In image deploy dir (.../tmp/deploy/images/$MACHINE/):
* build-info (shell format)
* build-info.json (JSON format)
In sdk deploy dir (.../tmp/deploy/sdk/):
* poky-agl-<version details>.build-info (shell format)
* poky-agl-<version details>.build-info.json (JSON format)
Bug-AGL: SPEC-720, SPEC-1917
Change-Id: If45d2c5dd96b15ce790aa7f7f97c24f119ad117b
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Romain Forlot [Wed, 7 Nov 2018 09:24:20 +0000 (10:24 +0100)]
Bump cmake-apps-module revision.
This bump is mainly done to allow to select test verb to call
from the test widget on a board by improving the widget launcher
script and fix the installation in all build environment cross-compile
as well as native.
*
742695d - Fix crosscompile installation
*
81bd8f3 - Use target name as output name by default
*
8e59ed2 - Explain why add_subdirectory raise error
*
87b8529 - Fix indentation
*
ff77dd1 - doc: Fix sample of SET_TARGET_PROPERTIES
*
53db393 - Packaging: find version from command line argument
*
5bc5dc9 - Fix: find the cmake project files.
*
c38e321 - Fix: version variable detection.
*
b418056 - Missing mandatory variable in the CMake sample file
*
cf912a4 - Update docs
*
1156b45 - Reordering files inclusion by the module
*
5f06de0 - Adding packaging files
*
dcdff18 - Merge "Fix: missing files in test widget"
*
381098a - Fix: missing files in test widget
*
35d5206 - Upgrade the autobuild script
*
8c25030 - Install the module in the system cmake path
*
28dc5cc - Select the test set to run
Change-Id: Ie17d150a4756cc219e310a61590945128d7a0a90
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
José Bollo [Tue, 20 Nov 2018 10:11:46 +0000 (11:11 +0100)]
app-framework: Update versions
af-binder changes:
*
153a7c9 AFB.js: Tiny improvement and space fix
*
eca8f3d afb-socket: Fix address reuse
*
42099d3 afb-export: Fix error in event handling
*
83c9e99 main-afb-daemon: Export variables to connect to binder
af-main changes:
*
bceaf2c afm-system-daemon: Improve error message report
*
44c70fd Treat correctly running/not running status
*
94176d9 afm-unit: Export new variables
Change-Id: Ifdb631d8155032f72b4497400fdbd935547c7782
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Matt Ranostay [Tue, 20 Nov 2018 22:51:12 +0000 (00:51 +0200)]
profile-core: agl-service-telephony: remove useless RDEPENDS dep
Telephony service doesn't actual use the PBAP service so remove from
the RDEPENDS.
Change-Id: I026a00e34ffef6da8f15f7912c8f82cce70f497b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Kevin Hilman [Mon, 19 Nov 2018 19:29:12 +0000 (11:29 -0800)]
meta-agl-bsp: ptest-runner: v2.2 and LAVA support
Upgrade ptest-runner to v2.2 (first 6 patches), and add the
WIP support for LAVA signal (patch 7).
From branch:
https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=timo/lava-ptest-runner2
Commit:
https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=timo/lava-ptest-runner2&id=
11b29ce444610a07067a89b38e9e85c2162bbf67
Change-Id: Ic4ee5e3a9ab796fe7ccd1810b31e582370f99a25
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Matt Ranostay [Tue, 20 Nov 2018 16:21:43 +0000 (18:21 +0200)]
recipes-connectivity: bluez5: add dbus-org.bluez.obex.service symlink
To allow OBEX service to be requested by a user on demand there needs
to be a symlink /etc/systemd/user/dbus-org.bluez.obex.service to the
obex.service
Change-Id: If4b8a94790403cf7f8f2a53ce3365c5f8c9f3b2c
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Leon Anavi [Wed, 21 Nov 2018 11:06:51 +0000 (13:06 +0200)]
create-combined-dtb: Combine dtb and dtbo
Combine a number of device tree overlays to a base blob with a
specified filename in the deploydir only. This feature is
required only for netboot therefore the files are not included
in the image.
Bug-AGL: SPEC-1775
Change-Id: I16ff043ee0d44d4151e1fb2ba714bd1542854bd8
Suggested-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Leon Anavi [Wed, 21 Nov 2018 10:59:47 +0000 (12:59 +0200)]
fdtoverlay: Provide fdtoverlay-native
Add a recipe for building fdtoverlay native from the source
code of newer dtc without upgrading the version of the main
dtc recipe.
Bug-AGL: SPEC-1775
Change-Id: I251b22e0ecd4d2de088340daf19b602670668d55
Suggested-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Stephane Desneux [Tue, 20 Nov 2018 18:33:21 +0000 (18:33 +0000)]
distro-build-manifest: don't use BB_ENV_EXTRAWHITE
To keep the workflow compliant with upstream Yocto projects,
it's better to not use BB_ENV_EXTRAWHITE to pass variables
to recipes.
This commit updates aglsetup to generate the file agl-init-build-env
as 'before' (=before the addition of distro-build-manifest)
Bug-AGL: SPEC-720, SPEC-1741
Change-Id: I96df245e099c15a1d2425052c4d8cc64363042c8
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Jan-Simon Möller [Tue, 30 Oct 2018 12:45:39 +0000 (13:45 +0100)]
Add ptest to ci and snapshot builds
Now we are able to run the ptest's , thus add them to the build
Change-Id: I9779625065a893a03b87b913569ed0699d85ed5e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Romain Forlot [Tue, 13 Nov 2018 15:58:56 +0000 (16:58 +0100)]
Change default aglwgt build procedure
Warn about obsolete way of of build an agl app but keep them as fallback
methods.
Bug-AGL: SPEC-495
Change-Id: I225c811382e218ea90ce66287f4987a33f9ab5c5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Jan-Simon Möller [Thu, 15 Nov 2018 22:47:58 +0000 (23:47 +0100)]
Prepare Grumpy Guppy RC1
Modify the distro config to reflect the RC1 release.
Change-Id: If46096e12c0917ee517835e5803ec32b80a6a37a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Harunobu Kurokawa [Thu, 15 Nov 2018 12:31:15 +0000 (21:31 +0900)]
[RCAR][upstream] remove dts patch for SDIO frequency
Bug-AGL: SPEC-1945
Latest meta-rcar update SDIO frequency for TI's WLAN driver.
However, in M3 case, the this patch raise ti/wlcore driver WANING.
[ 107.009706] ------------[ cut here ]------------
[ 107.014342] WARNING: CPU: 0 PID: 4224 at /kernel-source//drivers/net/wireless/ti/wlcore/sdio.c:145 wl12xx_sdio_raw_write+0xb0/0x160 [wlcore_sdio]
[ 107.027375] Modules linked in: rfcomm 8021q garp stp mrp llc can_bcm can bnep nfc arc4 wl18xx wlcore mac80211 cfg80211 crc32_ce crct10dif_ce btwilink bluetooth ecdh_generic wlcore_sdio rcar_can st_drv rfkill can_dev vspm_if(O) vsp2(O) vspm(O) uvcs_drv(O) sllin(O) pvrsrvkm(O) mmngrbuf(O) mmngr(O) hdm_usb(O) hdm_i2c(O) hdm_dim2(O) aim_v4l2(O) aim_sound(O) aim_network(O) aim_cdev(O) mostcore(O) ipv6
[ 107.062537] CPU: 0 PID: 4224 Comm: wpa_supplicant Tainted: G O 4.14.35-yocto-standard #1
[ 107.071749] Hardware name: Renesas M3ULCB Kingfisher board based on r8a7796 (DT)
[ 107.079138] task:
ffff8005fc610e00 task.stack:
ffff000020bc8000
[ 107.085054] PC is at wl12xx_sdio_raw_write+0xb0/0x160 [wlcore_sdio]
[ 107.091316] LR is at wl12xx_sdio_raw_write+0x7c/0x160 [wlcore_sdio]
<snip>
[ 107.467808] ---[ end trace
0140d637a5afd50b ]---
[ 107.472613] wl1271_sdio mmc2:0001:2: sdio write failed (-84)
[ 107.478340] ------------[ cut here ]------------
[ 107.483008] WARNING: CPU: 0 PID: 4224 at /kernel-source//drivers/net/wireless/ti/wlcore/main.c:796 wl12xx_queue_recovery_work.part.26+0x58/0x60 [wlcore]
[ 107.496648] Modules linked in: rfcomm 8021q garp stp mrp llc can_bcm can bnep nfc arc4 wl18xx wlcore mac80211 cfg80211 crc32_ce crct10dif_ce btwilink bluetooth ecdh_generic wlcore_sdio rcar_can st_drv rfkill can_dev vspm_if(O) vsp2(O) vspm(O) uvcs_drv(O) sllin(O) pvrsrvkm(O) mmngrbuf(O) mmngr(O) hdm_usb(O) hdm_i2c(O) hdm_dim2(O) aim_v4l2(O) aim_sound(O) aim_network(O) aim_cdev(O) mostcore(O) ipv6
[ 107.531806] CPU: 0 PID: 4224 Comm: wpa_supplicant Tainted: G W O 4.14.35-yocto-standard #1
[ 107.541018] Hardware name: Renesas M3ULCB Kingfisher board based on r8a7796 (DT)
[ 107.548406] task:
ffff8005fc610e00 task.stack:
ffff000020bc8000
[ 107.554363] PC is at wl12xx_queue_recovery_work.part.26+0x58/0x60 [wlcore]
[ 107.561265] LR is at wl12xx_queue_recovery_work+0x1c/0x28 [wlcore]
Change-Id: I6f15251e6997f52892efd118e8941af5930c5ca9
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
raquel medina [Fri, 9 Nov 2018 17:15:36 +0000 (19:15 +0200)]
agl-service-nfc: remove libnfc dependency
Bug-AGL: SPEC-1921
- remove build-time dependency on libnfc
Change-Id: Id13d0f447ebcb47590466c6d9e9f34a58cf65bad
Signed-off-by: raquel medina <raquel.medina@konsulko.com>
Yuya Ono [Wed, 14 Nov 2018 07:36:31 +0000 (16:36 +0900)]
dragonboard-410c: change init sequence of the qcom kernel module
Since db410c's DSP is enabled from the rocko branch,
an error occurs at boot time.
This patch is workaround by change init sequence of kernel
module on booted with reference to the following discussion.
(https://lkml.org/lkml/2018/10/31/440)
Change-Id: I5e1b94a7b17889610b3beecccd3e99f4bc445226
Signed-off-by: Yuya Ono <Ono.Yuya@ap.MitsubishiElectric.co.jp>
Naoko Tanibata [Wed, 11 Apr 2018 07:15:33 +0000 (16:15 +0900)]
meta-agl: introduce transmitter plugin to weston
The waltham-transmitter is the plugin of weston to enable client apps
to share its surface between multiple domains.
v2 (jsmoeller): rebased to new layer structure
v3 (jsmoeller): squashed with previous commit
v4 (jsmoeller): merge with https://gerrit.automotivelinux.org/gerrit/#/c/16187
to keep addition together in one patch
v5 (jsmoeller): remove unneeded file
v6 (jsmoeller): merge with https://gerrit.automotivelinux.org/gerrit/#/c/17223/
to keep addition together in one patch
(cherry picked from commit
d3ebc4bf2eb0331226ef4eac79aaacd520ee5a60)
v7 (jsmoeller): After discussions during the integration session:
- fix hardcoded lib64 in source code
- reduce package to just transmitter (render is part of the transmitter)
- include waltham-transmitter in packagegroup (might not be final place)
v8 (tnaoko) : add missing dependency plugins.
Change-Id: I7e607ed183f147fc0078bef54639207cfca80c6e
Signed-off-by: Wataru Mizuno <wmizuno@jp.adit-jv.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Naoko Tanibata <tnaoko@jp.adit-jv.com>
Matt Ranostay [Mon, 12 Nov 2018 13:06:19 +0000 (15:06 +0200)]
agl-service-mediaplayer: add agl-service-bluetooth to RDEPENDS
To allow mediaplayer bindings to directly get AVRCP metadata and
control access require the agl-service-bluetooth at runtime.
Change-Id: Iab03d8c9c8c8400c4c4130ff1999b9662aac4c93
Bug-AGL: SPEC-1630
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Jan-Simon Möller [Thu, 8 Nov 2018 05:53:14 +0000 (06:53 +0100)]
Use sllin0 for agl-service-hvac for m3ulcb demo
The green demo machines use m3+kf and serial lin to communicate with the actuators.
Adapt the recipe.
Change-Id: Ia4afea115f16d633d2eeb16c0c662832f81dc438
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
José Bollo [Fri, 26 Oct 2018 08:19:47 +0000 (10:19 +0200)]
nss-localuser: Add the NSS plugin for localuser
`nss-localuser` is a plugin for the GNU Name Service Switch (NSS)
functionality of the GNU C Library (`glibc`) providing host name
resolution for *"localuser"* family of virtual hostnames.
The delivered NSS service defines one virtual host of name `localuser`
that resolves to an IP address of the localhost loopback that integrates
user ID.
Bug-AGL: SPEC-1833
Change-Id: I8ce87297a220e8c691cdbea00262d873b68ffd75
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Jan-Simon Möller [Sun, 4 Nov 2018 12:04:38 +0000 (13:04 +0100)]
Latest meta-altera supports wic IMAGE_FSTYPE
In preparation of the layer uprev, fix the IMAGE_FSTYPE.
Change-Id: Ic4c78fb27b0676383143b943d97a511b960e01b1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
José Bollo [Mon, 5 Nov 2018 17:28:38 +0000 (18:28 +0100)]
libmicrohttpd: Fix listening and epoll together
It appeared recently that libmicrohhtpd isn't able
to manage listening interfaces and at the same time
to manage in/out streams using epoll.
After discussion with maintainers of libmicrohttpd
this is a bug and is already corrected. See:
https://gnunet.org/git/libmicrohttpd.git/commit/?id=
3fc686e
While waiting for integration of this patched version
in poky/openembedded, it is needed to have that patch
integrated in AGL for running binders aware of listening
interfaces.
Upstream-Status: Accepted
Bug-AGL: SPEC-1896
Change-Id: Ib436f6b4be27e638fedbae22f690109fb064c8e7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 6 Nov 2018 08:57:03 +0000 (09:57 +0100)]
af-binder: Bump version
Includes
*
875007d afb-socket: Relax requirement of tcp ending slash
*
8754e33 afb-socket: Handle listening on all interfaces
*
f3048dc samples: Fix compiling error
*
68fb4de afb-hsrv: Adapt to next version of libmicrohttpd
*
dfe85ca Added an option to color out the ouput
*
61a0151 afb-session: Add language to session
*
c1c4973 monitoring: Fix naming of apis
*
6b0b904 Make profile.d file consistent between rpm and debian
*
5ee4995 afb-apiset: Reorder priority of messages
*
db0e684 AFB.html: Allow to call any verb of any API
*
6c9e231 afb-hsrv: Lower the "no handler" message
*
deaf209 APIv3: Allow to write application binding
*
86e4c17 afb-api-so-v3: Keep root API in all cases
*
fd57dbf genskel: Fix issues for C++ bindings v3
*
40fa7ea packaging/deb: install all headers
*
9ce66be Fix native deb pkg install dependency
*
195a03d afb-export: Emit a warning on bad 'afb_require_api' call
*
efd6d20 afb-socket: API name cares of abstract UDS
*
c19ce12 afb-session: Fix an issue in managing sessions
*
80c96d7 CMakeLists: Use AGLVERSION if set
Change-Id: Ie6a5efa651f5e9b9fab207f216514552993edfa5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Fri, 26 Oct 2018 13:59:19 +0000 (15:59 +0200)]
af-main: Bump version
This includes the following changes:
*
b2329b7 CMakeLists: Use AGLVERSION if set
*
2a0ac96 wgtpkg-install: Force uninstall
*
91baca1 doc: Changed doc to new format
*
f031387 afm-unit.conf: force symbolic link on update
*
43bc2e5 docs: Improve documentating 'required-binding'
*
9e1d25b Merge "docs: Improve documentating 'required-binding'"
*
0e0ae55 afm-unit.conf: Restrict service for APIs
*
24f0c20 Add the ability to access binding through tcp
*
375f481 afm-unit.conf: Enforce starting after network
*
19e745e Merge "afm-unit.conf: Restrict service for APIs"
*
73f3570 Merge "afm-unit.conf: Enforce starting after network"
*
d40fc40 afm-urun: Force scan of systemd units
*
dc0836f Install afm-user-daemon with correct rights
*
5f7901d afm-util: Fix report of error
It fixes:
Bug-AGL: SPEC-1863
Bug-AGL: SPEC-1846
Bug-AGL: SPEC-1836
Bug-AGL: SPEC-1650
Bug-AGL: SPEC-1800
Bug-AGL: SPEC-1230
Change-Id: Ifd1775448db4ebffa4bb656b5bcefaf891c4efa5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Stephane Desneux [Tue, 30 Oct 2018 15:41:13 +0000 (15:41 +0000)]
gpsd-kingfisher-conf: fix PREFERRED_RPROVIDER issue
virtual/gpsd-conf is a runtime dependency in packagegroup-agl-core-navigation.
So, PREFERRED_RPROVIDER must be used in place of PREFERRED_PROVIDER
Bug-AGL: SPEC-1861
Change-Id: I15b915c2e7a1410000f7527b13f3206242778bc0
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Stephane Desneux [Tue, 30 Oct 2018 14:09:59 +0000 (14:09 +0000)]
meta-app-framework/base-files: fix /usr/local symlink target path
/usr/local should point to ../var/local (and not ../../var/local)
Thanks to Vasyl Vavrychuk <vvavrychuk@gmail.com>
Bug-AGL: SPEC-1844
Change-Id: I700065290deff979db2e74cb68eae78ef55cda9c
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Romain Forlot [Tue, 9 Oct 2018 09:35:53 +0000 (11:35 +0200)]
Bump afb-test revision
Fix afm-test script installation
7b69512 Shellcheck: protect variable against whitespace
abede0f Improve exit output message
1a33ac2 Test the LockWait feature
52f416b Unify test launch between target and native
25903e6 Update documentation
cef21bd get rid of afb-definitions
02881ee Avoid to kill anything when no config file found
8de7f11 Separation between CB and classic test functions
d2fbdb5 Rename test service api to be more discriminant.
ca9049a Assert that an event hasn't been received
3db71f8 Script for both native and target launch
Change-Id: Ied4a6b704779a3176a0da60e15dee46a2021f54e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
José Bollo [Fri, 26 Oct 2018 14:00:22 +0000 (16:00 +0200)]
agl-service-telephony: Set depend of glib-2.0
Change-Id: I493d2836677cd105279d784f030f2d5fef36b5c3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Romain Forlot [Tue, 23 Oct 2018 12:22:26 +0000 (14:22 +0200)]
Add CMake Apps module recipe
Adds the cmake-apps-module in the SDK and the normal Yocto
builds.
Bug-AGL: SPEC-1682
Change-Id: Ib8b83dd9664a1566318eb0a140e043c5d82510ce
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
José Bollo [Tue, 23 Oct 2018 17:12:40 +0000 (19:12 +0200)]
aglsetup: Fix mix of spaces and tabs
Change-Id: I6579e0bc79e030b64bfbf936fc90d42298e73732
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
José Bollo [Tue, 23 Oct 2018 16:10:13 +0000 (18:10 +0200)]
distro-build-manifest: Improve diagnostic messages
Change-Id: I684e30562cfda80abddd16195ec378a5f3e2dfba
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Kevin Hilman [Thu, 18 Oct 2018 14:04:16 +0000 (14:04 +0000)]
meta-agl-bsp: kernel: fix can-bus.cfg
This config fragment for CAN bus had both an option for enabling as a
module:
CONFIG_CAN_C_CAN=m
and for disabling:
# CONFIG_CAN_C_CAN is not set
Since the disable came last, disable wins. This caused the C_CAN
driver and the C_CAN_PLATFORM driver (used by the TI dra7-evm) to be
disabled in the kernel.
To fix, remove the option to disable.
Change-Id: I5be0cee161318cdfe7deb9c5e9c9f15d79cda7ac
Fixes:
d870883e7b29d212dc3e2a0e6158d837d4356c6a
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Damian Hobson-Garcia [Mon, 15 Oct 2018 09:13:33 +0000 (18:13 +0900)]
rcar: gstreamer: Update vspfilter device files when using IMR devices
The meta-rcar-gen3-adas layer, active on m3ulcb and h3ulcb boards, enables
the Renesas IMR device, which takes the first few /dev/videoX device
file names, shifting the names of all of the other /dev/video devices.
This patch updates the vspfilter configuration files to reflect the change.
Change-Id: I326d3f5bb295f813e58d2318310cf86ad52744b3
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Romain Forlot [Tue, 9 Oct 2018 09:35:53 +0000 (11:35 +0200)]
Bump afb-test revision
Fix afm-test script installation
7b69512 Shellcheck: protect variable against whitespace
abede0f Improve exit output message
1a33ac2 Test the LockWait feature
52f416b Unify test launch between target and native
25903e6 Update documentation
cef21bd get rid of afb-definitions
02881ee Avoid to kill anything when no config file found
8de7f11 Separation between CB and classic test functions
d2fbdb5 Rename test service api to be more discriminant.
ca9049a Assert that an event hasn't been received
3db71f8 Script for both native and target launch
Change-Id: Ic2b3d68cdb2b57613a0a24e42e43f307b2cae399
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Frederic Marec [Tue, 18 Sep 2018 09:33:17 +0000 (11:33 +0200)]
Add dummy iiodevice support for test
Add new fragment iiodevice.cfg to enable dummy devices
For iiodevices test
Change-Id: I9f635334aec2f9cd675b522b86cdfa3ad8168f07
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Stephane Desneux [Wed, 10 Oct 2018 13:43:40 +0000 (13:43 +0000)]
Pull agl-audio-plugin and pulseaudio conditionnaly
If agl-pulseaudio feature is not set, pulseaudio (or agl-audio-plugin)
shouldn't be pulled in images.
Currently, agl-service-radio requires either 4a or pulseaudio. So a temporary
hack has to be made to remove it from core services packagegroup if dependencies are not met.
Bug-AGL: SPEC-1802, SPEC-1811
Change-Id: Ief7a88cc288aba5c818ea7e7cbfede0ffb87c639
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Michael Teyfel [Fri, 12 Oct 2018 13:50:26 +0000 (15:50 +0200)]
Clean-up of wayland-ivi-extension_1.13.0 related legacy stuff
Since the agl demo is now using wayland-ivi-extension
v2.0.2 everything related to v1.13.0 should be removed.
That means all bitbake recipes and also the used patch
files.
Change-Id: I326c8e13c6084ec2135d6f75d64db260d347491e
Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
Ronan Le Martret [Tue, 28 Aug 2018 06:57:55 +0000 (06:57 +0000)]
[RCAR] ADSP enable and add sound hardware abstraction in DT
The ADSP on Renesas SoCs required a reserved memory area to become
enabled, and this needs to be done manually.
This patch adds sound hardware abstraction information for the m3ulcb
and m3ulcb-kf (kingfisher) device trees. This is helpful on-board the
ADSP for dynamically determining sound hardware at runtime, allowing
single binaries to be used between the two boards.
Future work will incorporate the h3ulcb and Salvator boards into the
abstraction.
Bug-AGL: SPEC-1227
Bug-AGL: SPEC-1424
Bug-AGL: SPEC-1571
Change-Id: I78edc5854a95520276bdcd9fd9766a120d2c04d7
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Ronan Le Martret [Tue, 28 Aug 2018 06:52:13 +0000 (06:52 +0000)]
[RCAR] Enable Linux-based hypervisor execution in AGL
The upstream version of AGL boots Linux in EL1. This mode is not
privileged enough to put in place the correct configuration of
an hypervisor (e.g., KVM).
This patch leverages the ATF rcar platform configuration variables to
boot the Linux kernel in EL2, instead of EL1, allowing Linux-based
hypervisors such as KVM to configure all the necessary stubs to
properly run virtual machines.
This patch has been successfully tested with ATF, KVM and AGL rootfs
on the Renesas R-Car M3.
Changelog:
- Added arm-trusted-firmware patch, which makes this work easy
to be tested by the community
- This patch version does not contain Linux kernel modifications.
In fact, these resulted not necessary with the proposed ATF patch
and a recent kernel (higher than 4.6)
Bug-AGL: SPEC-497
Bug-AGL: SPEC-1571
Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I8d20e36a09be1dba35b10193643ea00e4f388e95
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Ronan Le Martret [Tue, 24 Jul 2018 13:51:57 +0000 (15:51 +0200)]
[RCAR] Update RCAR BSP to 3.9
Bug-AGL: SPEC-1571
Change-Id: Ieefd423b79faa220531a887ff167227044ab6064
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Ronan Le Martret [Tue, 28 Aug 2018 07:28:03 +0000 (07:28 +0000)]
[RCAR] Change RENESAS_DATADIR value
* AGL doesn't use /usr/local for system files.
All the Renesas libraries and binaries will be installed in /usr
instead of /usr/local.
Bug-AGL: SPEC-1571
Change-Id: Ibc40df5d492517773bf89e4e0f117a02d22d90cd
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Stephane Desneux [Fri, 21 Sep 2018 11:24:25 +0000 (11:24 +0000)]
packagegroup-agl-core-boot: add package distro-build-manifest
The purpose of distro-build-manifest is to generate and distribute build
manifests for a given AGL build (generally, an image build).
The recipe generates the build manifest 'platform-build-info' at each build
(no caching) and this manifest is then stored in 3 locations with different set
of data:
* image: in /etc/platform-build-info
* deploy dir: image/$MACHINE/platform-build-info
* sdk: generated but not packaged yet
Important Note: the 3 manifests contain at least the 'target manifest' but some
extra information are added depending on the target location:
* build host information are only available in the deploy dir manifest
* SDK specific data are only available in the SDK manifest
An example of generated build manifests (sorry for long lines):
in target (package distro-build-manifest):
------------------------------------------------------------------------------
DIST_MACHINE="h3ulcb"
DIST_FEATURES="agl-appfw-smack agl-audio-4a-framework agl-demo agl-devel agl-hmi-framework agl-netboot agl-profile-graphical agl-profile-graphical-qt5 agl-ptest agl-pulseaudio "
DIST_LAYERS="agl-manifest:
4f3b4e1 meta-agl-demo:
6.90.0-3-gfc32c5e meta-agl-devel:
6.90.0-3-gf4b12f5 meta-agl-extra:
6.90.0-0-ged8c0a7 meta-agl:
6.90.0-20-g46941e2 meta-gplv2:
f875c60 meta-intel:
8.1-rocko-2.4.2-21-g718bb38 meta-intel-iot-security:
v1.0.0-34-g20bbb97 meta-iot-bzh:
4.99.3-45-g1de6fff meta-oic:
70d5bec meta-openembedded:
3525310 meta-qt5:5.2.1+origin/
release-445-g682ad61 meta-raspberrypi:
8e4c537 meta-rcar:
a055159 meta-renesas-rcar-gen3:
6.90.0-0-gb3625d6 meta-security:
8f6969a meta-security-isafw:
489abdc meta-updater:
ff555e8 meta-updater-qemux86-64:
697632d poky:
rocko-18.0.3-0-g7e7ee66"
DIST_BUILD_HASH="
Fd30d961c-L91230d88"
DIST_BUILD_ID="AGL-h3ulcb-
Fd30d961c-L91230d88"
DIST_BB_MACHINE_ARCH="h3ulcb"
DIST_BB_MACHINEOVERRIDES="rcar-gen3:r8a7795:h3ulcb:aarch64:ulcb"
DIST_BB_MACHINE_FEATURES="biglittle agl-egvirt gsx multimedia rtc qemu-usermode"
DIST_BB_DISTRO_CODENAME="guppy"
DIST_BB_DISTRO_FEATURES="acl alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc libc-posix-wchar-io largefile systemd opengl wayland pam bluetooth bluez5 surroundview bluetooth netboot smack dbus-cynara xattr automount agl-audio-4a-framework agl-hmi-framework agl-devel pulseaudio sota pam use_eva_pkg h264dec_lib h264enc_lib aaclcdec_lib aaclcdec_mdw ptest gobject-introspection-data ldconfig"
DIST_BB_DISTRO_BRANCH_VERSION_TAG="guppy/6.90.0"
DIST_BB_AGLVERSION="6.90.0"
DIST_BB_AGL_BRANCH="master"
DIST_BB_AGLRELEASETYPE="agldevelopment"
------------------------------------------------------------------------------
in deploy dir:
------------------------------------------------------------------------------
[target manifest]
+
DIST_FEATURES_MD5="
d30d961c8981a7badc467aedafb0687b"
DIST_BUILD_HOST="devel@bsp-devkit-odin-0-sdx"
DIST_BUILD_OS="Debian GNU/Linux 8 (jessie)"
DIST_SETUP_TS="20181009_153656_UTC"
DIST_SETUP_MANIFEST="/xdt/build/h3ulcb/aglsetup.manifest"
DIST_BUILD_TS="20181009_153832_UTC"
DIST_LAYERS_MD5="
91230d88544a1ac1845d80ad5f083651"
DIST_BB_DISTRO="poky-agl"
DIST_BB_DISTRO_VERSION="6.90.0+snapshot-
20181009"
DIST_BB_DISTROOVERRIDES="poky-agl"
DIST_BB_TUNE_FEATURES="aarch64"
DIST_BB_TUNE_PKGARCH="aarch64"
DIST_BB_ALL_MULTILIB_PACKAGE_ARCHS="all any noarch aarch64 h3ulcb"
------------------------------------------------------------------------------
in SDK:
------------------------------------------------------------------------------
[target manifest]
+
DIST_BB_DISTRO="poky-agl"
DIST_BB_DISTRO_VERSION="6.90.0+snapshot-
20181009"
DIST_BB_DISTROOVERRIDES="poky-agl"
DIST_BB_TUNE_FEATURES="aarch64"
DIST_BB_TUNE_PKGARCH="aarch64"
DIST_BB_ALL_MULTILIB_PACKAGE_ARCHS="all any noarch aarch64 h3ulcb"
DIST_BB_HOST_SYS="aarch64-agl-linux"
DIST_BB_TARGET_SYS="aarch64-agl-linux"
DIST_BB_TARGET_VENDOR="-agl"
DIST_BB_SDK_ARCH="x86_64"
DIST_BB_SDK_VENDOR="-aglsdk"
DIST_BB_SDK_VERSION="6.90.0+snapshot"
DIST_BB_SDK_OS="linux"
------------------------------------------------------------------------------
Bug-AGL: SPEC-720, SPEC-1741
Change-Id: I934acc87e13d2f6ec867684af515b89a89a89338
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Stephane Desneux [Fri, 21 Sep 2018 11:12:22 +0000 (11:12 +0000)]
aglsetup: generate setup manifest file
This patch modifies aglsetup to output the execution context in a
"setup manifest" located in $builddir/aglsetup.manifest
This file can then be processed by another script (distro-manifest-generator.sh)
to generate a complete distro manifest at build time.
Bug-AGL: SPEC-720, SPEC-1741
Change-Id: I1f9bc8a6d8bc4c659e59ed0025f71ad9e1c86355
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Matt Ranostay [Thu, 27 Sep 2018 05:58:24 +0000 (08:58 +0300)]
agl-service: telephony: add telephony service recipe
Bug-AGL: SPEC-1757
Change-Id: I0dd0c80fc089ce18fce0325fbbe0f17d257418a6
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Stephane Desneux [Tue, 2 Oct 2018 20:58:48 +0000 (20:58 +0000)]
pulseaudio-dev included conditionnaly in -crosssdk images
As pulseaudio is now optional, agl-demo-platform-html5-crosssdk and
agl-image-graphical-qt5-crosssdk shouldn't include pulseaudio-dev
unconditionnaly.
This change duplicates in those two images what is done in
agl-demo-platform-crosssdk.
Bug-AGL: SPEC-1601
Change-Id: Ib75c6a8015567fa6b5acbc6afd98ac06b2550a87
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Ronan Le Martret [Sat, 22 Sep 2018 14:17:37 +0000 (14:17 +0000)]
Mutualizes code for ulcb card family conf file
Remove duplicate code between ulcb card configuration card.
Since more an more ulcb card and extention, it becomes difficult
to maintain the conf file of the ulcb family.
Change-Id: Id5648f4e75c464875d3b175c769e1fdd7f4312f5
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Ronan Le Martret [Fri, 28 Sep 2018 13:58:31 +0000 (13:58 +0000)]
Fix optee-client build
optee-client fails to compile when enabling FORTIFY_SOURCE=2 option.
Change-Id: I4e4a5fea098470f63a3d8b49b9bb4fc8b8c0bbbc
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Changhyeok Bae [Sun, 30 Sep 2018 14:28:43 +0000 (23:28 +0900)]
Use iperf3 instead of iperf2
iperf3 recipe is in meta-openembedded layer.
Change-Id: I1c4f7345615f4ab99b1405a9ed53569ced1bdabe
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Ronan Le Martret [Sun, 16 Sep 2018 19:34:38 +0000 (19:34 +0000)]
[RCAR] Fix ti-bt package name and revision
* ti-bt needs to have a correct PN and PR to be
compliant with dnf and so rpm.
Bug-AGL: SPEC-920
Change-Id: I1b83ce54340922a23a6f0de5873e48699c2e1101
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Ronan Le Martret [Fri, 20 Jul 2018 18:35:55 +0000 (20:35 +0200)]
Remove pulseaudio from AGL DISTRO_FEATURES
Bug-AGL: SPEC-1601
Change-Id: I5f6f82dad72cb5f1570c6354d360cebd056489a1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Ronan Le Martret [Wed, 1 Aug 2018 12:17:39 +0000 (12:17 +0000)]
Create a feature to activate pulseaudio in AGL
If pulseaudio is wanted you can use the feature
agl-pulseaudio, to add pulseaudio to DISTRO_FEATURES,
and so, add pulseaudio to AGL distribution.
Bug-AGL: SPEC-1601
Change-Id: Ic6fcad968428c9f337f318369eef822e5e9ff84d
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Ronan Le Martret [Mon, 1 Oct 2018 07:07:47 +0000 (07:07 +0000)]
Fix image build with PR timestamp
* If we using _append with PKGR the image creation failed.
The _append action is done twice and so corrupt the PKGR
value.
Change-Id: Ia549e83a33ed667cd246a24f9a83a89d9c3f97a9
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Leon Anavi [Tue, 25 Sep 2018 17:51:28 +0000 (20:51 +0300)]
weston-ini-conf.bbappend: Set 720p for Raspberry Pi
Reduce the screen resolution for Raspberry Pi from Full HD to
HD Ready (1280x720) to reduce the memory consumption and
improve the behaviour of the whole system. This change is
applied only for HDMI display on Raspberry Pi due to the
limited hardware resources.
Bug-AGL: SPEC-1745
Change-Id: Id2fb571b0822f8166086f5ad6a7fcf8ea25c933a
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Ronan Le Martret [Fri, 21 Sep 2018 13:57:01 +0000 (13:57 +0000)]
Change SDKPATH for something more stable in time
* The SDKPATH must be fix to be used with YoMo.
Inside rpm nativesdk file all the path is prefed by
SDKPATH/sysroots/${HOSTARCH}-${SDK_VENDOR}-${OSHOST}/
* have a (day) time stamp in ${DISTRO_VERSION} force the rebuild of
the package every day.
eg:
At runtime /etc becomes:
(old value):
/opt/agl-sdk/6.90.0+snapshot-
20180921-aarch64/sysroots/x86_64-aglsdk-linux/etc
(new value):
/opt/agl-sdk/6.90.0+snapshot-aarch64/sysroots/x86_64-aglsdk-linux/etc
in native sdk
Bug-AGL: SPEC-921
Bug-AGL: SPEC-1667
Change-Id: I28d7f8d140ba75d9d8c68c84ba5fc697e6011836
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Ronan Le Martret [Tue, 18 Sep 2018 08:13:39 +0000 (08:13 +0000)]
Add an AGL revision to the RPM package
* To update a rpm file (with dnf) we need to have a valid rpm revision.
Let 2 packages pkg_1 and pkg_2 (built in yocto).
If pkg_2 is newer than pkg_1, and one wants to be able to update it
with dnf, it must respect some rpm naming rules.
if ${pkg_2_name} > ${pkg_1_name}
-> pkg_2 is newer than pkg_1
elif ${pkg_2_name} = ${pkg_1_name} and ${pkg_2_revision} > ${pkg_1_revision}
-> pkg_2 is newer than pkg_1
else
-> pkg_2 is equal or older than pkg_1
Currently, the Yocto build process (used by AGL, so whithout special service)
doesn't change revisions for a build. So packages are not updatable from a repository
with dnf.
* This patch adds an option -r|--rpm-revision <schema> to aglsetup.sh so that RPMs
produced by bitbake will have correct revisions suitable for binary publishing.
<schema> can be:
'prservice[:<address>]' : Use a PR service daemon.
if <address> is not specified, the default value 'localhost:0'
is used (shortcut for a PR service started by bitbake)
'timestamp' : Use a generated time stamp (UTC).
'value:<revision>' : Use <revision> explicitly.
'none' : Do nothing.
p16: change --rpm-revision options parsing, use UTC timestamps, refactor code
p19: remove smart parsing of host:port for prservice option - back to dumb option
Bug-AGL: SPEC-920
Change-Id: I1f4c9fd093fa350d19450a12ac1847885740596d
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Johann CAHIER <johann.cahier@iot.bzh>
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Matt Ranostay [Thu, 27 Sep 2018 04:06:39 +0000 (07:06 +0300)]
agl-service: hvac: add HVAC service recipe
Bug-AGL: SPEC-1757
Change-Id: I4a47f10747eb7221b828957ca4f511bc4a541c2f
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Anton Gerasimov [Fri, 31 Aug 2018 16:56:21 +0000 (18:56 +0200)]
Move security manager database under /var/local
It is critical for agl-sota feature
Bug-AGL: SPEC-1717
Change-Id: Ia4060721e3a092d13934d3af575199e67e356e71
Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
Romain Forlot [Fri, 14 Sep 2018 14:25:40 +0000 (16:25 +0200)]
Bump agl-service-can-low-level revision
*
3e6d3fa - Reach fixture files in all cases.
*
0171561 - Cleaning, set up binding version in config.cmake
Change-Id: I68878acbb1e737edbdf88afc5eac83248e56c52d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Fri, 14 Sep 2018 14:20:16 +0000 (16:20 +0200)]
afb-test: Set version from AGLVERSION
Change-Id: I2bc00d49e0712523e1d7a65d802adc2e492b479a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Fri, 14 Sep 2018 14:19:59 +0000 (16:19 +0200)]
signal-composer: Set version from AGLVERSION
Change-Id: I48497b6a737b0d080bf429764eb0a6a6806a1651
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Fri, 14 Sep 2018 14:19:38 +0000 (16:19 +0200)]
can-low-level: Set version from AGLVERSION
Change-Id: I7b4da62501ffdce89c76fdc66094410cb52412a3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Matt Ranostay [Wed, 19 Sep 2018 01:20:07 +0000 (04:20 +0300)]
recipes-multimedia: lightmediascanner: save database to /tmp/$UID/lightmediascannerd.db
To prevent using a corrupted SQLite3 database that is possible with cheap USB media it is
better to generate on every bootup.
Bug-AGL: SPEC-1744
Change-Id: I2da9f71697ecf04f37f6f0141a46c57c059169b6
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Leon Anavi [Wed, 19 Sep 2018 15:54:57 +0000 (18:54 +0300)]
linux-firmware_%.bbappend: Avoid rpi file duplication
In releases based on Yocto/OE Rocko firmware files for bcm43430
and bcm43455 are provided by linux-firmware-raspbian. This fix
avoids duplication of firmware files for Raspberry Pi 3 Model B
and B+ while building agl-demo-platform-crosssdk.
Bug-AGL: SPEC-1729, SPEC-1652
Change-Id: Ic9e918f4ffd915b148530bb8e6bf9a6dc6a61c02
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Leon Anavi [Fri, 14 Sep 2018 15:11:58 +0000 (18:11 +0300)]
agl_raspberrypi3.inc: WiFi on Raspberry Pi 3 B & B+
Use linux-firmware-raspbian packages for bcm43430 and bcm43455.
Bug-AGL: SPEC-1729, SPEC-1652
Change-Id: Ib634ee3351fa91d8d1704656f4a40d1b40cd05e3
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Jose Bollo [Mon, 10 Sep 2018 12:13:41 +0000 (14:13 +0200)]
af-main & af-binder: Set version from AGLVERSION
Change-Id: Ie1ff83f007d9d8d819829540d51e576f088c97eb
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Jan-Simon Möller [Wed, 12 Sep 2018 17:05:22 +0000 (19:05 +0200)]
Uprev the nogfx machine include to the same state
as the ordinary m3 build.
Change-Id: If07a26f1cb253b9863ea658e6cd122450f03a38b
Bug-AGL: SPEC-1640
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Wed, 12 Sep 2018 21:47:40 +0000 (23:47 +0200)]
Move master to guppy
We move master to guppy and development.
Change-Id: If6fc9f1e89298f604e94055b75362df7a7cbdde0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Tadao Tanikawa [Fri, 27 Jul 2018 03:54:43 +0000 (03:54 +0000)]
Fix do_rootfs eats huge time on docker environment
RPM is causing a serious performance regression on Docker.
Docker can set ulimit -n to
1048576 but it causes huge time
consumption when thousands of packages are installed like
bitbake agl-demo-platform.
This issue is already resolved in upstream of RPM and
yocto follows it at sumo, so backporting it into Flounder.
(From OE-Core rev:
6ecb10e3952af4a77bc79160ecd81117e97d022a)
Bug-AGL: SPEC-1622
Change-Id: Ia8d97daea663f9682928a14ab84199ed6fda6d61
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Jan-Simon Möller [Sun, 9 Sep 2018 14:59:01 +0000 (16:59 +0200)]
Prepare Flounder rc6
Change the distro config for the RC6.
Change-Id: I174d28086f7b9de8d94840f7451b65f8ba06c347
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
José Bollo [Sun, 9 Sep 2018 09:37:12 +0000 (11:37 +0200)]
agl-services: Add missing dependencies to glib2
The dependecy to glib-2.0 was missing in the services
- agl-service-geofence
- agl-service-iiodevices
- agl-service-mediascanner
Change-Id: I303a2968ecbc3c497fa34545eaf768cfd5e7b0bd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Matt Ranostay [Sat, 8 Sep 2018 03:20:49 +0000 (20:20 -0700)]
profile-graphical: agl-service-mediaplayer: add agl-audio-4a-framework DISTRO_FEATURES check
EXTRA_OECMAKE needs to set a flag if 4A is enabled to playback audio via the 'multimedia' role
via gstreamer.
Bug-AGL: SPEC-1705
Change-Id: Iabdc8c4d623e2a0df312c0b6e036781a68a33647
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Stephane Desneux [Thu, 6 Sep 2018 21:53:26 +0000 (21:53 +0000)]
agl-profile-core/packagegroup-agl-core-boot: add rng-tools
On some boards (typically Minnowboard Max), the kernel's random number entropy
pool may fill too slowly. As a consequence, if many processes ask for random
data at the same time, the reads on /dev/random are blocked until the entropy
pool has been filled.
This patch adds rng-tools in the core images: the rngd daemon will start at boot
and fill the entropy pool.
Bug-AGL: SPEC-1655
Change-Id: Icbcf6a9ea685774dd13e33597689a3fd05aaadf4
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
José Bollo [Fri, 7 Sep 2018 07:46:55 +0000 (09:46 +0200)]
af-binder & af-main: Update to version 5.99.FFRC6
This includes the following binder changes (from newer to older):
*
29f544b afb-apiset: fixed the error message upon api open.
*
8647a34 afb-session: Use ad-hoc pseudo-random uuid
*
d3edd5f VERSION 5.99.FFRC6
*
72385ab main-afb-daemon: Export API after initialization
*
408acbd app-framework-binder doc: Changed doc to fit new format.
*
a02a162 Allow choice to trap or not program faults
*
5dd7df3 main-afb-daemon: Set AFB_ROOTDIR and AFB_WORKDIR in environment
*
8706522 afb-hook-flags: Fix a compilation warning
Bug-AGL: SPEC-1655
Bug-AGL: SPEC-1724
Bug-AGL: SPEC-1694
Change-Id: I3d7b191322e6fbea94ea7345979f3b80da988d8c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Romain Forlot [Fri, 7 Sep 2018 11:18:29 +0000 (13:18 +0200)]
Update low-can, signal-composer version label
Change-Id: I6639128b0942ee2218a897a3128bbb1e3218a9f3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Romain Forlot [Fri, 7 Sep 2018 11:18:02 +0000 (13:18 +0200)]
Update afb-test revision for FF.RC6
This includes the following changes:
*
bba4bef Use controller new behavior that add objects
*
a826da1 Silence all outputs of kill command
*
2f768ef Reset context functions between test files
Change-Id: I0329bdd9f5e04423558057ce0a55adbf086dd366
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Stephane Desneux [Thu, 6 Sep 2018 11:25:27 +0000 (11:25 +0000)]
scripts/mkefi-agl.sh: fix cleanup
This patch fixes the removal of the huge file
/tmp/TMP-AGL-wic-image.wic
Change-Id: I8858109dca62eb20d4bdabab3d7a593205a30ea6
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Jan-Simon Möller [Sat, 1 Sep 2018 13:15:35 +0000 (15:15 +0200)]
Post FF rc5 merge window open
Adapt the distro config.
Change-Id: I216fc5071e8f7a6ff5df221224bd065698ee5a8d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Jan-Simon Möller [Sat, 1 Sep 2018 11:24:50 +0000 (13:24 +0200)]
Cut Flounder RC5
Adapt distro conf.
Change-Id: Ic4f5463967870d9caebdc0a1a47f5811faf3b60d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>