summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-09aglsetup: generate setup manifest fileStephane Desneux2-0/+195
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>
2018-10-08agl-service: telephony: add telephony service recipeMatt Ranostay1-0/+18
Bug-AGL: SPEC-1757 Change-Id: I0dd0c80fc089ce18fce0325fbbe0f17d257418a6 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-08pulseaudio-dev included conditionnaly in -crosssdk imagesStephane Desneux2-2/+2
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>
2018-10-08Mutualizes code for ulcb card family conf fileRonan Le Martret5-106/+52
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>
2018-10-08Fix optee-client buildRonan Le Martret1-0/+1
optee-client fails to compile when enabling FORTIFY_SOURCE=2 option. Change-Id: I4e4a5fea098470f63a3d8b49b9bb4fc8b8c0bbbc Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-08Use iperf3 instead of iperf2Changhyeok Bae5-97/+1
iperf3 recipe is in meta-openembedded layer. Change-Id: I1c4f7345615f4ab99b1405a9ed53569ced1bdabe Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2018-10-05[RCAR] Fix ti-bt package name and revisionRonan Le Martret1-0/+3
* 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>
2018-10-02Remove pulseaudio from AGL DISTRO_FEATURESRonan Le Martret1-1/+1
Bug-AGL: SPEC-1601 Change-Id: I5f6f82dad72cb5f1570c6354d360cebd056489a1 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-02Create a feature to activate pulseaudio in AGLRonan Le Martret2-0/+3
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>
2018-10-02Fix image build with PR timestampRonan Le Martret1-2/+2
* 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>
2018-09-29weston-ini-conf.bbappend: Set 720p for Raspberry PiLeon Anavi2-0/+11
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>
2018-09-28Change SDKPATH for something more stable in timeRonan Le Martret1-1/+1
* 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>
2018-09-28Add an AGL revision to the RPM packageRonan Le Martret2-17/+97
* 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>
2018-09-28agl-service: hvac: add HVAC service recipeMatt Ranostay1-0/+18
Bug-AGL: SPEC-1757 Change-Id: I4a47f10747eb7221b828957ca4f511bc4a541c2f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-09-28Move security manager database under /var/localAnton Gerasimov3-6/+6
It is critical for agl-sota feature Bug-AGL: SPEC-1717 Change-Id: Ia4060721e3a092d13934d3af575199e67e356e71 Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
2018-09-27Bump agl-service-can-low-level revisionRomain Forlot1-1/+1
* 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>
2018-09-27afb-test: Set version from AGLVERSIONRomain Forlot1-1/+1
Change-Id: I2bc00d49e0712523e1d7a65d802adc2e492b479a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-27signal-composer: Set version from AGLVERSIONRomain Forlot1-1/+1
Change-Id: I48497b6a737b0d080bf429764eb0a6a6806a1651 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-27can-low-level: Set version from AGLVERSIONRomain Forlot1-1/+1
Change-Id: I7b4da62501ffdce89c76fdc66094410cb52412a3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-25recipes-multimedia: lightmediascanner: save database to ↵guppy_6.90.0guppy/6.90.06.90.0Matt Ranostay1-1/+1
/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>
2018-09-20linux-firmware_%.bbappend: Avoid rpi file duplicationLeon Anavi1-0/+5
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>
2018-09-18agl_raspberrypi3.inc: WiFi on Raspberry Pi 3 B & B+Leon Anavi5-119/+1
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>
2018-09-14af-main & af-binder: Set version from AGLVERSIONJose Bollo7-0/+8
Change-Id: Ie1ff83f007d9d8d819829540d51e576f088c97eb Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-09-13Uprev the nogfx machine include to the same stateJan-Simon Möller1-0/+3
as the ordinary m3 build. Change-Id: If07a26f1cb253b9863ea658e6cd122450f03a38b Bug-AGL: SPEC-1640 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-09-12Move master to guppyJan-Simon Möller1-5/+5
We move master to guppy and development. Change-Id: If6fc9f1e89298f604e94055b75362df7a7cbdde0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-09-10Fix do_rootfs eats huge time on docker environmentTadao Tanikawa4-0/+304
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>
2018-09-09Prepare Flounder rc6flounder_5.99.6flounder/5.99.65.99.6Jan-Simon Möller1-3/+3
Change the distro config for the RC6. Change-Id: I174d28086f7b9de8d94840f7451b65f8ba06c347 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-09-09agl-services: Add missing dependencies to glib2José Bollo3-3/+3
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>
2018-09-09profile-graphical: agl-service-mediaplayer: add agl-audio-4a-framework ↵Matt Ranostay1-0/+2
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>
2018-09-09agl-profile-core/packagegroup-agl-core-boot: add rng-toolsStephane Desneux1-0/+1
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>
2018-09-09af-binder & af-main: Update to version 5.99.FFRC6José Bollo2-2/+2
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>
2018-09-09Update low-can, signal-composer version labelRomain Forlot2-2/+2
Change-Id: I6639128b0942ee2218a897a3128bbb1e3218a9f3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-07Update afb-test revision for FF.RC6Romain Forlot1-2/+2
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>
2018-09-06scripts/mkefi-agl.sh: fix cleanupStephane Desneux1-1/+1
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>
2018-09-01Post FF rc5 merge window openJan-Simon Möller1-2/+2
Adapt the distro config. Change-Id: I216fc5071e8f7a6ff5df221224bd065698ee5a8d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-09-01Cut Flounder RC5flounder_5.99.5flounder/5.99.55.99.5Jan-Simon Möller1-3/+3
Adapt distro conf. Change-Id: Ic4f5463967870d9caebdc0a1a47f5811faf3b60d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-31meta-agl-bsp: meta-ti: amx3-cm3: Add a fix for security_flags.incTom Rini1-0/+3
The way that the PM firmware for these devices is built takes very specific steps to only get the cross-compiler provided by OE and almost nothing else. Unfortunately when we build with the security_flags.inc file in our distro this changes some of the default behavior of the compiler and in turn we need to make sure to disable this and go back to the default behavior. Change-Id: I1ab8e20f77d7ab6a3c786437e9a9422b24f0e159 Bug-AGL: SPEC-1341 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-08-31Update afb-test revisionRomain Forlot1-2/+2
3c1dab4 - Update gitignore 39f65fa - Lower CMake version requirement 82c8c5f - Make afTest test itself correctly e681815 - Don't crash if lua test files aren't found d54d2b7 - afb-test doc: Updated doc. a7fecc2 - Native test script launcher improvments fd49db6 - afb-test doc: Changed doc to new format Change-Id: I3877322929824f489c288feb51d71ee732abb6b4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-08-28wayland: Remove unrecognised option "--enable-ivi-shell"Leon Anavi1-1/+0
Remove the unrecognised option "--enable-ivi-shell" from wayland_%.bbappend and get rid of the following warnings while building AGL: WARNING: wayland-native-1.13.0-r0 do_configure: QA Issue: wayland-native: configure was passed unrecognised options: --enable-ivi-shell [unknown-configure-option] WARNING: wayland-1.13.0-r0 do_configure: QA Issue: wayland: configure was passed unrecognised options: --enable-ivi-shell [unknown-configure-option] Bug-AGL: SPEC-1703 Change-Id: I9532aef824e3e4780894f7ffc66c3701449a9513 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2018-08-27Bump distro post-rc4Jan-Simon Möller1-3/+3
Open up development for rc5/final. Change-Id: I8a724aec556e4020c60dc6e920c97ed776cf7499 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-24Prepare FF RC4flounder_5.99.4flounder/5.99.45.99.4Jan-Simon Möller1-12/+24
Change the distro vars for RC4. Change-Id: I74af40b74fd55bae4c0779c055ba97499c354e75 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-24Signaling bindings: Bump for version FF.RC4Romain Forlot4-6/+12
Changes of agl-service-can-low-level: * 0171561 Cleaning, set up binding version in config.cmake * efa12f0 Use TEST app-templates labels * e17d3ee Specify the API name to be tested * ac574c3 Use dedicated API name for the test Changes of agl-service-signal-composer: * 8264bd8 - Missing API_NAME for the test widget * fbdf29b - Fix: segfault at object addition * 3d09d0c - Bump submodules * 7697648 - Setup the project for afb-test framework Depends-On: I9b4da627485ad16bc4ed925e97b3a8a320dd7238 Change-Id: Ic399f97ccfdaeec392f829f406222e8c955c19f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-08-24Add the afb-test binding in the devel AGL imageRomain Forlot5-1/+42
This will build afb-test binding and tests it using PTest. Bug-AGL: SPEC-1439 Change-Id: I75d1bbb0a780ca036ab0d653fdcbacda883122f9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-08-24af-binder & af-main: Bump to version FF-rc4José Bollo2-2/+2
It include for the binder 3 important fixes: SPEC-1668, SPEC-1669 and SPEC-1681. Changes of app-framework-binder: * jobs: Abort when systemd's event loop lost * afb-stub-ws: Add reconnection of ws-clients on need * afb-stub-ws: Safe handling of deconnections * afb-stub-ws: Process error on call to remote * Send error replies on disconnection * afb-wsj1: Split 'wsj1_on_text' in 2 * afb-stub-ws: Clean up * afb-api-ws: Use afb-socket features * afb-socket: Improvement * afb-stub-ws: Improve naming * hello3: Add mutebug * Set version to 5.99.FFRC4 * Provide functions afb_service_call[_sync]_legacy Changes of app-framework-main: * Set version to 5.99.FFRC4 Bug-AGL: SPEC-1668 Bug-AGL: SPEC-1669 Bug-AGL: SPEC-1681 Change-Id: I99b129a1722f1d3182205bc07de449b6ed034002 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-08-23Change the default sdk install pathJan-Simon Möller1-0/+5
Installing 2 SDKs of the same version but different arch results in broken compilation due to a bug in the meta-qt5 sdk environment scripts. Mitigate it by adding the DEFAULTTUNE to the SDK installation folder until the issue can be addressed in SPEC-1686. Bug-AGL: SPEC-1667, SPEC-1686 v2 (jsmoeller): rewrite to use /opt and SDKPATH Change-Id: Id7e6c919631fc0bcc630a6b813a714f83adaf148 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-23Add lua-dev and lua-staticdev to minimal crosssdk imageJan-Simon Möller1-0/+13
Change-Id: I28d58ec2096531e6db008f8417c47fde23768994 Bug-AGL: SPEC-1678 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-23Bump post releaseJan-Simon Möller1-6/+6
Change-Id: Ibb43e5499ebc2c271843dad4ba0162b6cce9bf9c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-23Make it possible to use systemd-coredump for developmentTadao Tanikawa3-0/+5
For development, systemd-coredump should be enabled especially for meta-agl/meta-agl-demo because all applications which compatible with agl appfw are running on systemd. This patch make systemd-coredump available when agl-devel is set on (run aglsetup.sh with 'agl-devel'). The core dump files are stored in /var/lib/systemd/coredump/ and 'coredumpctl' is helpful to use dump files. Change-Id: Ic8a011e96fe36be0266389c03d761d1b8e78bf68 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-23[Work-around] Update recipe for ImageMagick to avoid bitbake errorTadao Tanikawa1-7/+4
At www.imagemagick.org/download, tarball archives of old patchsets are deleted when a new patchset is created. This causes error when do_fetch(). Offical source repository is in github, so SRC_URI can be set to pull from there. Unfortunately, github repository has tags only after 6.9.5-4. Therefore, updated to the latest stable, 6.9.10-10. For meta-agl/meta-agl-demo, ImageMagick is not mandatory component, but optee inside Renesas BSP requires it (and python-wand). Upstream optee already remove these dependency, so this is just work-around until meta-renesas-rcar-gen3 will be updated. Change-Id: I1767e2d7588a35d75009843312c484d3d63553ae Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-23Port the latest version of valgrindRonan Le Martret26-0/+1656
Some issues appear with the current version of valgrind on aarch64. (valgrind exits due to an unhandled instruction) An update of valgrind solves this problem. I guess other platform need a update on valgrind too, so this port is not gen3 exclusive. This port uses the yocto recipes(poky:7e7ee662f5dea4d090293045f7498093322802cc): * with some fix on the patch. * remove patch already merged in valgrind git. Bug-AGL: SPEC-1677 Change-Id: Ibf467bee03487252f24ef046b9fe4e4ff6d389da Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>