summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-connectivity
AgeCommit message (Collapse)AuthorFilesLines
2020-12-17SPEC-3723: restructure meta-aglJan-Simon Moeller27-562/+0
Goal is to reach a minimal meta-agl-core as base for IVI and IC work at the same time. Trim dependencies and move most 'demo' related recipes to meta-agl-demo. v2: changed to bbapend + .inc , added description v3: testbuild of all images v4: restore -test packagegroup and -qa images, compare manifests and adapt packagegroups. v5: rebased v6: merged meta-agl-distro into meta-agl-core, due to dependency on meta-oe, moved -test packagegroup and -qa images to own layer meta-agl-core-test v7: Fixed comments from Paul Barker v8: Update the markdown files v9: restore wayland/weston/agl-compositor recipes/appends, reworked to move app f/w specific changes to bbappends in meta-app-framework and only demo specific weston-init changes to meta-agl-demo v10: fix s/agldemo/aglcore/ missed in weston-init.bbappend Description: This patch is part 1 out of 2 large patches that implement the layer rework discussed during the previous workshop. Essentially meta-agl-core is the small but versatile new core layer of AGL serving as basis for the work done by the IC and IVI EGs. All demo related work is moved to meta-agl-demo in the 2nd patchset. This should be applied together as atomic change. The resulting meta-agl/* follows these guidelines: - only bsp adaptations in meta-agl-bsp - remove the agl-profile-* layers for simplicity -- the packagegroup-agl(-profile)-graphical and so on have been kept in meta-agl-demo - meta-agl-profile-core is now meta-agl-core - meta-agl-core does pass yocto-check-layer -- therefore use the bbappend + conditional + .inc file construct found in meta-virtualization - meta-agl/meta-security has been merged into meta-agl/meta-app-framework - meta-netboot does pass yocto-check-layer - meta-pipewire does pass yocto-check-layer Migration: All packagegroups are preserved but they're now enabled by 'agl-demo'. Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia6c6e5e6ce2b4ffa69ea94959cdc57c310ba7c53 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25769
2020-07-08facilitate start up without bluetooth controllerRaquel Medina1-1/+1
Add prefix '-' in the bluetooth service ExecStartPre directive, to allow for errors: hciconfig will return an error if there's no controller in the system. Bug-AGL: SPEC-3301 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Id4d5de549e73fe8f744681b33debd6043e1bc9ba Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24952 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2020-04-27meta-agl-profile-core: update bluez5 for dunfellScott Murray2-27/+0
Remove patch now present in bluez5 5.54 in dunfell. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ief1048638cad9f9d57738830ced91c0d828be79f
2020-03-18Fix build issue in bluez5 bbappend fileJan-Simon Möller1-1/+1
The commit b1c5541c2 introduced a 'mkdir -p ${systemd_system_unitdir}' which should be prefixed with ${D}. It produces a build error (permission denied on do_install). Fix it. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ife8b374379937e87cf3c045f105c3eb121f0941d
2020-03-12bluez: workaround aclmtu issue on OBEX transfersMatt Ranostay2-0/+24
Default MTU of 310 causes PBAP/OBEX transactions to timeout before completing the entire transfer from coming from paired iOS device. Change this to 930 to avoid timeouts. This is a workaround till a better solution is devised. Bug-AGL: SPEC-3206 Change-Id: I48bdc6107ac9176397bc0137496946c42b1c95d7 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-02-27bluez5: change obexd --root path to avoid SMACK issuesMatt Ranostay2-0/+13
On startup obexd attempts to read from %HOMEDIR%/.cache/obexd or create the respective directory. Which is really not needed but causes failure to start with SMACK failures, and so workaround this by setting the parameter --root=/var/volatile/tmp Bug-AGL: SPEC-3206 Change-Id: I8b39a91d8d095d94b903a6607f6960f38ed08b5d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-01-27meta-agl-profile-core: update neardal recipeScott Murray1-3/+4
Update neardal recipe to not use a github archive URL in its SRC_URI, as this now triggers a QA warning due to such URLs being unstable. Instead the git repository is used with the corresponding SRCREV for version 0.14. Bug-AGL: SPEC-2932 Change-Id: I56eaf984d573df5314ffb982c517aec66ae2f115 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-22meta-agl-profile-core: update rtl-sdr recipe for zeusScott Murray1-1/+1
Update pkg-config CFLAGS tweaking in rtl-sdr to avoid failing updated QA check in zeus. Bug-AGL: SPEC-2932 Change-Id: I4a60c16050736f0c92f91f3804342fdaacf713ee Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-22meta-agl-profile-core: remove libnfc recipeScott Murray1-18/+0
Remove libnfc recipe, as oe-core now has a recipe pointing at a newer git commit. Bug-AGL: SPEC-2932 Change-Id: Ib98a9ef5ae65b3aa533a5266ef72466aa73d934c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-22meta-agl-profile-core: remove connman backportScott Murray8-853/+0
Remove backported connman 1.36 recipe, as oe-core has a newer 1.37 recipe. Bug-AGL: SPEC-2932 Change-Id: I7bf60571f687a717f9f7841b7caa62ff21dbce3d Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-10-07bluez-alsa: update to latest masterGeorge Kiagiadakis1-2/+2
This adds, among others, the d-bus interface that is necessary for the pipewire gstreamer helper from meta-pipewire to work. The LICENSE file was changed to not include the contributors list, but otherwise the license is unchanged. Bug-AGL: SPEC-2792 Change-Id: I7d9e954691e617b3c8ba8165864b32f3831e28b7 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> (cherry picked from commit 9beae08be831b7ba23121a68caa5604499530698)
2019-08-26connman: add session-policy-local PACKAGECONFIG optionMatt Ranostay1-0/+3
Bug-AGL: SPEC-2772 Change-Id: Id7fe16216bce7e9cf50188a504182aa79a70f9ed Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-07-30bluez5: add obex.service.d conf to fix smack label issuesMatt Ranostay2-0/+7
All data transfer from obexd need to be located in a direcory that has a User::App-Shared label for bindings to be able to access them. This is done by moving the TMPDIR to /run/user/UID/usrshr Bug-AGL: SPEC-2695 Change-Id: I076eb89d0ed14af67811d497217db583e4f5902b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-26rtl-sdr: Install tweaked udev rulesScott Murray1-2/+8
To enable agl-service-radio to access the RTL-SDR USB devices, install the provided rtl-sdr.rules file in /etc/udev/rules.d, modifying it to tweak the device permissions, group, and SMACK label to meet the requirements for the new application framework audio permission. Bug-AGL: SPEC-2573 Change-Id: I22e2c624b8c57df0b5932ba7f8a377ae2c0d9566 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-19meta-agl-profile-core: recipes-connectivity: ofono: add SYSTEMD_AUTO_ENABLE ↵Matt Ranostay1-0/+2
to bbappend Re-enable ofono to be started on system bootup. Bug-AGL: SPEC-2512 Change-Id: Ia6638a3f4baf5e491e960c0c6e9ec414a6baee0b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-19meta-agl-profile-core: recipes-connectivity: bluez: add notification statusMatt Ranostay2-1/+30
Add 'notfication' reporting for the Status property via the org.bluez.obex.Message1 interface. Bug-AGL: SPEC-2512 Upstream-Status: PENDING Change-Id: Idce51acdc6f0718f07cc2bb669c4bc71686588ee Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-06-19meta-agl-profile-core: recipes-connectivity: bluez: remove outdated patchMatt Ranostay2-30/+0
Remove compiler fix for version 5.22 which is no longer within the tree. Bug-AGL: SPEC-2512 Change-Id: I8ffc73ba108016214dab5da744339fc4e3da7c54 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-04-04Upgrade to thudScott Murray3-13/+11
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Remove now unnecessary SECURITY_*FLAGS over-rides from distro configuration - Set intel-corei7-64 preferred kernel version to 4.19 to match latest linux-intel kernel available in meta-intel - Update qemuarm preferred kernel version to 4.18 to match latest linux-yocto - Update firmware package and devicetree file names for raspberrypi3 - Remove linux-firmware bbappend specific to raspberrypi, it seems no longer required and breaks the cross SDK build - Update linux-intel bbappend to 4.19, remove now unnecessary patch - Remove now unnecessary lttng-modules backport - Update linux-raspberrypi bbappend to 4.14 kernel - Added kernel configuration fragment for raspberrypi to disable Kprobes. This is required until linux-raspberrypi is updated to greater than 4.14.104 to avoid a build failure in lttng-modules related to a check for known breakage in the kernel CONFIG_OPTPROBES code. - Replace obsolete base_conditional usage with oe.utils.conditional - Add gstreamer1.0-plugins-bad bbappend for raspberrypi3 to disable faad PACKAGECONFIG to avoid commercial license issues - Remove unused and unbuildable Vayu gstreamer recipes - Update linux-ti-staging bbappend for new BSP kernel - Regen dcan2_pinmux_enable.patch for linux-ti-staging to remove fuzz warning, and remove upstreamed fix_dcan_addresses.patch - Remove ipumm-fw from meta-agl-bsp/meta-ti, as newer version is available in the upstream BSP - Update meta-agl-bsp/meta-ti weston patch to apply against 5.0.0 - Update meta-agl-bsp/meta-ti wayland-ivi-extension patch to apply against 2.2.0 - Add ti-sgx-ddk-km patch to add AGL toolchain configuration file - Remove now unnecessary fdtoverlay recipe - Update core.cfg and ivishell.cfg in weston-ini-conf recipe to handle move of ivi-controller.so configuration in Weston 5.0.0 - Update connman-ncurses patch to remove fuzz warning - Add installation of systemd over-ride file for run-postinsts.service in run-postinsts bbappend to workaround race condition between ldconfig.service and the /sbin/ldconfig invocations in the post-install scripts run by run-postinsts.service. The observed failure was cynara's post-install script failing and its database not being created. - Remove now unnecessary valgrind backport - Add patches to fix most driver compilation against newer kernels - Update libmicrohttpd bbappend - Remove libssp-dev from agl-image-graphical-qt5-crosssdk and agl-demo-platform-html5-crosssdk, upstream have removed it from non-mingw32 platform SDKs - Update wayland-ivi-extension recipe to build 2.2.0, and update local patches - Update weston patches for 5.0.0. Patches: 0016-ivi-shell_add_screen_remove_layer_api.patch 0017-ivi-shell-register-ivi_layout_interface.patch have been removed as they have been applied upstream and are no longer necessary. Patches: 0018-compositor-add-output-type-to-weston_output.patch 0019-compositor-drm-introduce-drm_get_dmafd_from_view.patch (both related to Waltham) have been disabled for now as they need significant rework. - Remove weston-conf RRECOMMENDS in weston bbappend to avoid conflict with weston-ini-conf - Add OECMAKE_GENERATOR = "Unix Makefiles" to aglwgt.bbclass to work around CMake+ninja issue in cmake-apps-module - Update dbus cynara patches for 1.12.10 - Add do_install_append in cynara recipe to remove /var/cynara from cynara package so the directory creation and labelling in the post-install scriptlet will function as intended - Remove now unnecessary e2fsprogs backport - Remove now unnecessary libcap-ng backport - Update pulseaudio patches to remove fuzz warnings - Update neardal patch to remove fuzz warning - Update freetype patch to remove fuzz warning - Rename opencv bbappend to 3.% to handle 3.x backports in upstream - Updated qtwayland patch to remove fuzz warning Changes from Stephane Desneux <stephane.desneux@iot.bzh>: - Remove wayland-ivi-extension PREFERRED_VERSION - Remove now unnecessary nativesdk-cmake patch - Remove now unnecessary ptest-runner patches - Remove now unnecessary harfbuzz patches - Disable waltham-transmitter as it does not build against weston 5.0.0 - Update af-main, cynara, and security-manager to use pkg_postinst_ontarget - Bump connman-ncurses revision to avoid deprecated ncurses functions - Update libva package usage with new intel-vaapi-driver name - Add patches to security-manager to fix compilation with gcc8 - Updated systemd bbappend Changes from Jan-Simon Möller <jsmoeller@linuxfoundation.org>: - Remove meta-agl-bsp/ROCKO.FIXMEs - Remove linux-yocto_4.12.bbappend and now unnecessary associated patch - Remove now unneeded kern-tools-native patch - Bump gstreamer PREFERRED_VERSIONs to 1.14.x - Remove latencytop from packagegroup-agl-core-devel, it has been dropped by upstream - Remove now unnecessary rpm patches - Update pulseaudio bbappend to 12.2 - Update opencv bbappend to 3.4 - Update freetype bbappend to 2.9.1 - Update dbus bbappend to 1.12.10 - Update weston bbappend to 5.0.0 - Update cynara patches to remove fuzz warnings - Add patch to cynara to fix compilation with gcc8 - Add xmlsec1 bbappend to clear EXTRA_OECONF to fix compilation on sumo or newer Changes from Ronan Le Martet <ronan.lemartet@iot.bzh>: - Update meta-rcar-gen3-adas layer gstreamer1.0-plugin-vspfilter bbappend to version 1.0.1 Known issues (marked with FIXME): - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR - waltham-transmitter and the patches to weston related to it have been disabled - Currently unclear if patch to libcap-native is actually required or not Bug-AGL: SPEC-1837 Change-Id: I7b8b9ef667aec2d229952eace6663dfc761654d0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-03-05meta-agl-profile-core: recipes-connectivity: ofono: add patch to allow ↵Matt Ranostay2-1/+31
multiple APN lookups Change-Id: I409a08ded90cc17d8bcbca7c131e240f1db0bdee Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-18recipes-connectivity: connman: upgrade to 1.36Matt Ranostay8-0/+853
Backport from openembedded-core layer because needs the respective WiFi improvements: Fix issue with WiFi background scanning handling. Fix issue with WiFi disconnect+connect race condition. Fix issue with WiFi scanning and tethering operation. Fix issue with WiFi security change handling. Fix issue with missing signal for WPS changes. Bug-AGL: SPEC-1165 Change-Id: Ibf2b2039b39c2b7096f9549d569b83e86fa759bc Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-13neard: cancel empty record processing on tag detectionraquel medina2-1/+37
neard service clients registered for tag interface call a series of getter methods via dbus. In the case of a tag programmed with a valid NDEF containing an empty record (D0 00 00) no valid dbus string type is associated with the record and the get_type_property call results in a dbus error and neard service exit. This commit offers a workaround to avoid this particular situation while a more comprehensive solution is found (there are other record types that would fall in this same scenario). Bug-AGL: SPEC-2123 Change-Id: I1b6d639bdc2aea0a331e8c06d6eac18da21482f5 Signed-off-by: raquel medina <raquel.medina@konsulko.com>
2019-02-06bluez-alsa: fix FTBS caused by change #19721 (c456406)Stephane Desneux1-0/+5
Some files have been removed from packaging by error. This patch just adds back the missing files. Change-Id: I1c3d44f62d6193f5814d18454e3b2c5e6391c85e Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-02-05bluez-alsa: bump to master version of 2019-01-17Thierry Bultel1-6/+1
Fix version has a fix for a crash when PCM are released Also, no longer populate the PCM and control plugins in the recipe, because it is done by the "install" rule of the package makefile. BUG-AGL:SPEC-2126 Change-Id: Iff582a3c7dec7f215a109673582f210ef40f1903 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-01-18meta-agl-profile-core: recipes-connectivity: ofono: change dbus policy to ↵Matt Ranostay2-0/+36
enable modem events To detect modem addition and removal in the agl-service-telephony binding the interface needs to be enabled in the dbus policy Bug-AGL: SPEC-2117 Change-Id: Ib610188d72404e338c59d64c4b84a183632efb1f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-01-04neardal: lib: fix random memory corruptionraquel medina2-2/+61
This commit includes a neardal patch to fix the random segfault seen on agl-service-nfc. The problem (random memory corruption) was due to invalid access to freed memory on neardal library. The proposed fix has been submitted upstream and this commit is only a temporary measure while the solution is not provided directly from neardal repo. Bug-AGL: SPEC-1976 Change-Id: I21984cb8135537ff1232a4387a31688e1a140642 Signed-off-by: raquel medina <raquel.medina@konsulko.com>
2018-12-20bump bluez-alsa to master (brings Ofono support)Thierry Bultel2-5/+10
This takes the mandatory commits to have HFP support over Ofono (56fcc3 from 2018-12-04) Also adds the needed options to the daemon in the service file The license changed due to change of year and author list It was bogus to have hcitop in PACKAGECONFIG. Namely, this is not a feature in yocto, but only an optional feature of bluez-alsa (that helps to perform bandwith measures) However, Ofono is one. This also adds hcitop and rfcomm tools in development images. Those tools help to diagnose bt issues. Change-Id: I426dbee5aa8911c9c64f4ec7399528d149dc651b Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-20connman: Ignore MOST ethernet interfacesScott Murray2-1/+2
On systems like the CES demo units with MOST adapters, the virtual ethernet interface created by MOST interferes with connman's management of the shared connection of the Wi-fi and main ethernet interface, eg. the MOST ethernet being present results in the Wi-fi not auto-connecting at boot. To avoid this, ignore the "meth" interfaces by adding them to the blacklist. This seems reasonable, as they are unlikely to be used for internet connectivity. Change-Id: I9b56333df4b4d7e128a765855065efce58abb734 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-20connman: Tweak main.conf for cluster demo supportScott Murray1-0/+5
When running the cluster demo, we do not want the second ethernet interface managed by connman, as it will be used for a separate connection to the cluster board, and should not be considered part of the shared connection pool. To do this, NetworkInterfaceBlacklist is tweaked if agl-cluster-demo-support is enabled. Change-Id: Iab8c17662bb7f5b06b5eda6c97dd32a6c5ef3f5a Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-12Provide fallback time servers to connmanHenrique Ferreiro2-1/+12
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)
2018-11-22recipes-connectivity: bluez5: add dbus-org.bluez.obex.service symlinkMatt Ranostay1-0/+5
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>
2018-07-11neard: systemd: changes to allow enablement of neard.service on bootMatt Ranostay2-0/+29
Bug-AGL: SPEC-1554 Change-Id: Iec2bb77e3f4a5a729298b57a50fb40fb49dba400 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-11recipes-connectivity: neardal: add recipeOleg Zhurakivskyy4-0/+84
Bug-AGL: SPEC-1554 Link: https://patchwork.openembedded.org/patch/88673/ Change-Id: Id0287d8cd6bc75b03ec06d0445938a7c27304620 Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com> Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller14-0/+253
This is the last larger commit in this series and deals with the graphical part. We introduce the graphical profiles: - meta-agl-profile-graphical -- meta-agl-profile-graphical-html5 -- meta-agl-profile-graphical-qt5 Notable changes: - weston-ini-conf moved to the meta-agl-bsp layer. Most BSPs have bbappends, so we need to have the recipes present (but unused) even in the console images. - new image: agl-image-boot = terminal-only + network + package-manaager. Ready for using package-feeds - new image/sdk: agl-image-minimal-crosssdk - agl-service-mediaplayer has a dependency on weston, thus it cannot be in the 'core'. Moved it to profile-graphical. - The wayland-ivi-extension moved to the agl-demo-platform. - The app-framework layer included and pulled 'web-runtime' as dependency. This broke console-only images. This has been moved to be in meta-agl-demo only for now. - added and massaged the agl-features. - found and added a useful script 'oe-depends-dot' that helps to work with the dot files (produced with bitbake -g) Todo: - we'll need another pass through the packagegroups. The dependencies for the layers/profiles are now sorted-out but we might have to add/shuffle a few packages. For further details, see meta-agl/docs/profiles.md. v2: fix meta-agl/meta-security/conf/layer.conf - the immediate expansion previously used in there caused some recipes not being added to BBFILES. v3: fix packagegroup renaming (packagegroup-agl-devel -> packagegroup-agl-core-devel) v4: fix missing packagegroup inclusion (tnx Jose, Scott, Stephane) v5: fix missing packagegroup inclusion v6: explicitely put profile-graphical-qt5 on-top of profile-graphical v7: re-add 'procps' when agl-devel feature is on Bug-AGL: SPEC-145 Change-Id: I24cdcd1118932758d0c55d333338238f2a770877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>