aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core
AgeCommit message (Collapse)AuthorFilesLines
2020-09-30meta-agl-profile-core: update low-level-can-generatorScott Murray1-1/+1
Update low-level-can-generator SRCREV to pick up changes: 6fc3a6d Update to match current binding expectations Bug-AGL: SPEC-3551 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4c973fe53a14173beac48d61fcc525ef051be4e6 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25361 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: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-02-20systemd: add configurable can-termination optionMatt Ranostay2-0/+98
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>
2020-02-19systemd: canbus: add RestartSec to network scriptMatt Ranostay1-0/+1
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>
2020-02-04Bump afb-testFrederic Marec1-1/+1
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>
2020-01-29Bump libappcontrollerFrederic Marec2-2/+2
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>
2020-01-28Bump libafb-helpFrederic Marec1-1/+1
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>
2020-01-27Remove systemtap from AGLRonan Le Martret2-1/+1
- systemtap is not compatible with SOTA build. Change-Id: Ibdd7670b219b54f5c4243d0f67ce74e979f11db9 Bug-AGL: SPEC-3097 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2020-01-24packagegroup: agl-core-devel: add gcc-sanitizers packageMatt Ranostay1-0/+1
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>
2019-12-30Update dependencies of agl-service-can-low-levelJan-Simon Moeller1-1/+1
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>
2019-12-30dev-mapping: Add RPROVIDES mechanismScott Murray2-5/+5
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>
2019-12-20Add cloc to hosttools and use patched sourcesJan-Simon Möller1-1/+5
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>
2019-12-13Change the URL to gerritJan-Simon Moeller1-1/+1
to stay inline with all other recipes, change this to use gerrit. . Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If68c42c2dcda0b8c19fc6ed9d634789ae06448c7
2019-12-12agl-service-signal-composer: switch to AGL_APP_REVISIONScott Murray1-3/+2
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>
2019-12-11json-c: add --enable-threading to EXTRA_OECONFMatt Ranostay1-0/+1
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>
2019-12-04Move packages from agl-core to agl-iviRonan Le Martret5-43/+1
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>
2019-12-01afb-test: add missing jq package to RDEPENDSMatt Ranostay1-1/+1
Bug-AGL: SPEC-3005 Change-Id: I4d28c2bb7b97ddf8aedbfedf1519362c27327b10 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-28can-low-level: bump version to get latest changesRomain Forlot1-1/+1
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>
2019-11-26agl-service-hvac: add low level canbus service in RDEPENDSMatt Ranostay1-1/+1
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>
2019-11-20low-level-can-generator: update to latest revisionScott Murray1-1/+1
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>
2019-11-19agl-service-hvac: rework configuration file packagingScott Murray3-10/+30
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>
2019-11-19systemd: Install canbus network script in nonarch_base_libdirMax Tomago1-1/+1
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>
2019-11-19Bump afb-test & libappcontrollerFrederic Marec2-2/+2
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>
2019-11-07Cynagora: Replace cynara with cynagoraJosé Bollo3-3/+3
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>
2019-10-31Replace tab by 4 spacesRonan Le Martret1-17/+17
- 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>
2019-10-16agl-service-navigation: remove outdated HOMEPAGEMatt Ranostay1-1/+0
Remove outdated HOMEPAGE uri from recipe. Bug-AGL: SPEC-2880 Change-Id: I9eb679f6fc6ffe9aabdc045b81487a8366944760 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-10-15libafb-helpers: bump to latest revisionStephane Desneux1-1/+1
The following commits are added: * 5b9cce9 Add function to add one json array to another one * 25bb451 Pkg config files: use CMAKE_INSTALL_LIBDIR var Bug-AGL: SPEC-2846,SPEC-2867 Change-Id: I1dfbfb841afb1313222360fbc646490946f34079 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-10-11lightmediascanner.service: Fix for the first bootLeon Anavi1-0/+4
Fix lightmediascanner systemd service to avoiding a race condition with /var/volatile/tmp on the first boot by running it after run-agl-postinsts.service. Furhtermore, for extra safety, a restart on failure has been added. Bug-AGL: SPEC-2869 Change-Id: Ib0cadfaa3b4da2a15ac3cfc04cf6d8174e63eb63 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2019-10-10agl-service-navigation: add RDEPENDSScott Murray1-0/+2
Add RDEPENDS definition to indicate libjson-c and libdbus-c++ runtime dependency. This fixes a startup problem if libdbus-c++ is not pulled into an image by something else, which will then cause the POI app to crash. Bug-AGL: SPEC-2707 Change-Id: I02b6c120c0fefae972874284c10b6606bab5f647 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
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-10-01agl-devel.inc: Add modetestLeon Anavi1-0/+2
Add modetest if the agl-devel feature is enabled in images with graphical user interface (GUI), aka wayland. Modetest is part of libdrm and libdrm-tests. It is useful for verification of the DRM/KMS driver functionality. Bug-AGL: SPEC-2465 Change-Id: Iaee906a97b3ee38214b04f603322298fa7adb4c5 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2019-09-30meta-agl-profile-core: update curl and nghttp2Scott Murray4-0/+144
Backport newer curl and nghttp2 recipes, and bbappend curl to enable nghttp2 support by default when building for target. In concert with a change to mask out the curl bbappend in meta-aac, this should provide the requirements for alexa-voiceagent-service and avoid significant rebuilds when the agl-voiceagent-alexa feature is enabled/disabled. The curl recipe backport is from commit 0b7320b in upstream oe-core master branch, the nghttp2 recipe backport is from commit 5a9b6d3 in meta-networking in meta-openembedded master branch. Bug-AGL: SPEC-2839 Change-Id: Id1ec872dfcb4ecc7a9ba68bdefb114ceeff066c3 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-09-13udisks: remove unneeded execute bit on automount.shMatt Ranostay1-0/+0
On do_install() the correct execute bits are set and shouldn't be in the repo version of automount.sh Bug-AGL: SPEC-2774 Change-Id: Ic66707f9e9367ed02c523f11cb6d6ba360e6fe9f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-09agl-service-navigation: Switch to AGL GerritScott Murray1-4/+4
Update agl-service-navigation recipe to switch to using AGL Gerrit for the source repository. Bug-AGL: SPEC-2787 Change-Id: I9a494adb8972b8cf20681ab37d2756459448e13d Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-08-29freetype: add pixmap to PACKAGECONFIGMatt Ranostay1-0/+3
To allow rendering of color emojis the pixmap/libpng support needs to be enabled. Bug-AGL: SPEC-2701 Change-Id: I7f0dc2cf54f0cf587d72a81fbf06c5750bbdeefb Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-26packagegroups: agl-core-connectivity: add connman pluginMatt Ranostay1-1/+2
Add connman-plugin-session-policy-local package to respective packagegroup. Bug-AGL: SPEC-2772 Change-Id: I9808fd66d25bfbe1d395f0c2be471d2584ebfab2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
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-08-20Add recipe for agl-service-unicens-controllerTobias Jahnke1-0/+19
Bug-AGL: SPEC-2738 Change-Id: I9612036c9bd35f4d1fe4fa00cb25f899b100e435 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
2019-08-16dbus-cynara: Simplifies build recipeJosé Bollo2-5/+4
Simplifies the way of building dbus-cynara by removing the specific recipes in favour of a recipe for dbus that handles the class-target build feature. It requires to remove fake dependencies of cynara. This is a suggestion of Tom Rini. Bug-AGL: SPEC-1839 Change-Id: Id7a736eb4b73cdb679fa9dde30e9ad8e56c2894e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-08-01Change user/group id for xuserRonan Le Martret2-2/+2
1002 uid/gid is already used by an other user/group. Bug-AGL: SPEC-2500 Change-Id: I4000fb019b1aa72d509510e2998f3f3d5d349bf9 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-08-01Add default value for passwd and group tableRonan Le Martret1-1/+2
If someone want to add a value to USERADD_UID_TABLES , USERADD_GID_TABLES, the default value must be set. If not the AGL table won't be scan. Bug-AGL: SPEC-2500 Change-Id: I2325acdc61f6a5f840476b4c96734aed0a5c5744 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
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-07-29lightmediascanner: remove user media directories scanningMatt Ranostay1-1/+1
Since lightmediascanner is now a system service it shouldn't scan user directories of the running user. For any demo uses of preloaded media it should be put in a directory under /media Bug-AGL: SPEC-2655 Change-Id: Ib62527f0742673081e1f225e98fe7eff90738e0e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-07-26recipes-multimedia: lightmediascanner: move database to globally accessible areaMatt Ranostay1-2/+1
On runtime the agl-service-mediaplayer needs to access the sqlite3 database from lightmediascanner. Thus the database needs to be in an accessible location, and with the correct permissions. Bug-AGL: SPEC-2655 Change-Id: Ia1fc9ce7fa2f782ebc1784e130152baebb441cad Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-07-24Bump cmake-apps-module revisionFrederic Marec1-1/+1
Bump revision following gerrit review 21859 bd9e1c9 Fix new target test-tree d9af887 Add automatic test tree creation 5a26df7 02-variables.cmake: Fix wrong variable tested 7593f0f Recurse path when using fallback zip tool 4e1d47b CMake Nav Panel: Changed configuration title afba79c CMake project arch: Fixed title to match nav panel c26a064 CMake Configuring: Updated topic title. b99684d CMake Overview: Added TOC links and edits. 0c10393 Book manual updates for CMake Templates f46dcf2 02-variables.cmake: project options for 3.12.4 1e0f297 02-variables.cmake: project options for 3.12.4 3490ab7 02-variables.cmake: warns - unset project options 9ad5e65 02-variables.cmake: fix project cmake-commands 74fd1a5 Fix cmake-apps-module document typo. 2345e80 CMake: Complete re-write of the CMake topic. 9c07127 CMake Topic book: Updated for the new file names. 2710740 CMake Section: Complete re-write. 16829a3 cmake-apps-module: New file names. a6daa45 autobuild: fix warnings due to cp command exit code bcdefaf docs: add yaml book f3ce787 Avoid a target to link against itself Bug-AGL: SPEC-2040 Change-Id: I51d60cf572eb2a9a49ed25d3bb162c4f70b0b316 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-07-24recipes-multimedia: lightmediascanner: switch from user dbus session to systemMatt Ranostay4-15/+69
To avoid multiple instances of lightmediascanner from being created it should run only once in the system dbus session. Bug-AGL: SPEC-2655 Change-Id: I6c9510926f82ec9eb5625d63d08998a145504227 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-07-24agl-service-steering-wheel: update SRCREVRaquel Medina1-2/+1
The SRCREV update brings in the following commits: 6d5d619 autobuild: set execute permission for autobuild scripts 932a226 Fix build warning of typecast e47b473 Change markdown syntax 07f4c99 autobuild: add autobuild scripts c404f25 Revert "Change steering to systemd service for ces2019" 1fed2c5 Change steering to systemd service for ces2019 Bug-AGL: SPEC-2164 Change-Id: Ic9e47595cb2a76084d9cd60fffb21c36a338a8cb Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-07-16distro-build-manifest: add DIST_BUILD_TS in all manifestsStephane Desneux1-1/+5
The build timestamp is added to build manifests deployed in target images and SDK. Also, this patch adds a new option '-t|--timestamp' to distro-manifest-generator.sh to let the recipe pass the same timestamp as the one used for the image suffix (in Yocto 2.6/Thud, DATETIME is used). So DIST_BUILD_TS should have the same value as the image version suffix. Bug-AGL: SPEC-2649 Change-Id: I2a9d11b2ce59753bca31ebb8e82d46c224110d68 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-07-09agl-service-hvac: Install hvac.json into /etcHarunobu Kurokawa1-0/+4
agl-service-hvac has hvac.json file to set LED and CAN_DEV parameter, however this file is not installed. v2 move to main bb recipe file. fix wrong discription from WORKDIR to {S}. Bug-AGL: SPEC-2600 Change-Id: I8c0a416b3196b67cbb131d9351a1d20cc2dfe74f Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2019-07-03agl-core-connectivity: add avahi-daemon when agl-devel feature is setStephane Desneux1-0/+3
Accessing the boards using .local addresses is convenient. But avahi-daemon is not pulled explicitely in images. This patch adds packagegroup-base-zeroconf (containing avahi-daemon) in the core image only when agl-devel feature is set and zeroconf is enabled in DISTRO_FEATURES Bug-AGL: SPEC-2592 Change-Id: Iea899d98cd0d8628f9533641f7b42c04f4580c64 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-28recipes-core: systemd: move canbus-can.network scriptMatt Ranostay2-0/+9
Move canbus network script from meta-agl-profile-telematics to meta-profile-core. Since this is useful for more than just telematics Bug-AGL: SPEC-2580 Change-Id: I93666d87f1fb3eb037743d2858a8757d6939c5e3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>