summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-09-27Extend glob on meta-agl-bsp to support more boards.Jan-Simon Möller1-0/+5
rpi and fsl* use a BBFILE_COLLECTIONS value w/o meta. Extend the statement to include these cases. Change-Id: I2d01bd30b40a01df298b1842944596f588f77ae9 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-27mesa_%.bbappend: Remove dependency from libomxilLeon Anavi1-1/+1
Remove proprietary components such as libomxil which require setting LICENSE_FLAGS_WHITELIST = "commercial". Bug-AGL: SPEC-254 Change-Id: I93afadcaf70de8c0af23466efa7a4e3ef45d20b6 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-26Keep IMAGE_INSTALL_appends_porter concentrated in local.confJan-Simon Möller1-0/+6
This saves an extra bbappend file which is dangling when we do try to build for porter-nogfx. Change-Id: I519670f61da21ea7cd0bf40090d36934a83a56d6 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-26Fix layer name in template for rpiJan-Simon Möller2-2/+2
The layer name was wrong in the bblacers.conf.inc - fixed. Change-Id: I97cc7ba0de0c144180da070c0187259b2fac03e4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-26Update rpi templates after recipe updateJan-Simon Möller2-0/+36
This integrates the changes mentioned in the wiki https://wiki.automotivelinux.org/agl-distro/agl-raspberrypi?rev=1474470047 so we can simplify it to a simple '-m raspberrypi2' or '-m raspberrypi3'. The license whitelist is commented-out for now. Change-Id: I77a5bd97c9b671c3a4da78482ca70f68e08e4877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-26Fix meta-netboot build on Minnowboard Max after migration to KrogothStephane Desneux1-2/+3
The live images use now INITRD_IMAGE_LIVE and INITRD_LIVE variables to specify the name for the initramfs image to build and add to hdd image. Change-Id: I5593e0cb978db8e9cecb283804c9c6e65a34a57f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-09-26weston: Set XDG_RUNTIME_DIR for Raspberry PiLeon Anavi2-0/+12
Set environment variable XDG_RUNTIME_DIR and fix Weston on Raspberry Pi 2/3 through script /etc/profile.d/weston.sh. Change-Id: Ie561623641f287e1ec911a5813c2cff225af4977 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-25weston: Use drm-backend.so for Raspberry PiLeon Anavi2-0/+23
Replace weston.ini configration for Raspberry Pi and use drm-backend.so as a backend for Weston. Change-Id: I8acedd63fc0a124e4f369609270094c76b7e7f88 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-25meta-raspberrypi: AGL support for Raspberry PiLeon Anavi6-0/+209
Yocto/OE layer that extends the recipes for mesa and the supported Linux kernel for Raspberry Pi for successful build of AGL with Wayland, Weston and Qt. It is based on the existing ports of Tizen and GENIVI Development Platform for Raspberry Pi. Change-Id: Icfed9e888c2abaf26c14ab402d0a90215862afbd Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-09-24Update useradd overlays in meta-aglJan-Simon Möller3-57/+393
It turns out there is an escaping fix in yocto master not yet backported to krogoth. https://bugzilla.yoctoproject.org/show_bug.cgi?id=10062 Change-Id: Ia08fa024b3b5372e2fb792c4d0ab1a053e1f5745 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-21agl-devel: add less and lsofYannick Gicquel1-0/+2
Those tools can be useful while debugging on target. Change-Id: I6015985356c4c3d70866316ef3f9d4a70af717ab Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-09-14Set INITRAMFS_IMAGE instead of appending to itAnton Gerasimov1-1/+1
Bug-AGL: SPEC-250 Change-Id: I76fbc1d8674807c247bb4aaadd70d71a13097491 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-09-13Fix issue that pulseaudio freezes when pausing audioTadao Tanikawa2-0/+26
This patch is ported from Debian/Ubuntu. When using glibc-2.21 or later on linux kernel < 3.14.3, this issue should be reproduced. Original patch is here: https://sources.debian.net/patches/glibc/2.22-5/arm/local-arm-futex.diff/ AGL needs this patch because the version of kernel for porter board is 3.10 (later kernel is not supported). This patch and recipe is a provisional until upstream (poky) would be fixed. Thanks Isogai-san to find and test this patch. v2: changed bbappend to use SRC_URI_append_arm and used glibc_2.2%.bbappend as wildcard for glibc version (jsmoeller) Change-Id: I4a2a0ad8fe3927000b6826e0b1bcd214cf8c92b6 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-09aglsetup.sh: handle machines/features from any layerStephane Desneux1-12/+45
This patch allows the setup script called by scripts/aglsetup.sh to search for available machines and features in all repositories located in the meta directory (the directory where meta-agl has been cloned). In particular, this now allows to specify a machine or a feature located in meta-agl-devel. Important note: duplicate machines or features in different layers are detected and forbidden (script fails with error) to avoid any ambiguity. Change-Id: If55105a05889ca95da856d65986a86f4ef5f4b2c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-09-01Changes for building with YP 2.1.1 'krogoth'Jan-Simon Möller26-359/+199
Notable changes: - Update poky-agl.conf for YP 2.1 krogoth - change mesa bbappend to mesa_11 - TODO: check need for gallium, or replace with DRM see SPEC-237 - remote linux-yocto_3.14 as it is no longer shipped with YP 2.1 - rtl-sdr got a fix included for its packageconfig file - update 0001-disable-when-booting-over-nfs.patch - update checksums for ft2demo - TODO: check installation of test binaries - automotive-message-broker needed a workaround in the recipe - TODO: fix package and recipe - wayland-ivi-extension fix for use of autotools _AND_ cmake at the same time: only use cmake - port pulseaudio_6.0.bbappend to pulseaudio_8.0.bbappend - TODO: check patches and forward-port - agl-audio-plugin is currently disabled until ported to pulseaudio 8.0 - gstreamer1.0_1.2.3 is only used by meta-renesas, thus move it there - update dlt-daemon to 2.15 TODO: - check values in poky-agl.conf - check mesa for needed bbappends on other boards (tested qemux86 and qemux86_64) - check pulsaudio bbappend and forward-port patches (patches disabled!) - check agl-audio-plugin and forward-port (build disabled!) - check freetype bbappend wrt. installation path of test binaries - check automotive-message-broker wrt installation routines for libraries (QA failure) - check wayland-ivi-extension build and capabilities Change-Id: I553e03cc37348cba2fc4a022820157c78bb184d3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-01meta-netboot: add 256MB of extra space in generated rootfsStephane Desneux1-0/+3
By default, only 16MB are added but this is not sufficient for most test cases: for example, installing an application with its data bigger than 16MB is impossible. Change-Id: Ife6d7f09ea5acaadff5b54aaad15a31e26a35d31 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-09-01meta-agl: the feature 'agl-devel' depends on rsyncStephane Desneux1-0/+1
The rsync tool is required on the target for deploying applications or services easily through rsync and ssh from a host running the SDK. Change-Id: I042918ce1c14137519a878bc5bfa63e4e7f49fe6 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-08-16Fix use of version number in recipe to make it future-proof.Jan-Simon Möller1-1/+1
Instead of hardcoding 6.0, we can use ${PV} instead. Change-Id: I95c36058302c4f5d8dc0b8f0814d68270b17cf34 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-08-16nativesdk-dbus: fix spurious unpackaged filesStephane Desneux1-8/+10
When building agl-demo-platform-crosssdk, the package nativesdk-dbus is required. In the post-install step for the normal package dbus, some systemd files and symbolic links are added, but this shouldn't happen when building the nativesdk package, as those added files are not packaged, thus creating a QA Error (some files are installed in sysroot but not packaged) Bug-AGL: SPEC-235 Change-Id: Ib4894309355b807d52b34934a2f8a0bdebe3a01a Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-08-16Add folders for FSL/NXP bsp adaptions for AGLJan-Simon Möller3-0/+0
Change-Id: I70b28cb85cf99e37d45a567ec3479fcd1a99185f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-08-12Move adaptations specific to meta-ti into subfolder with conditional inclusionJan-Simon Möller2-0/+0
Change-Id: I826ce3d15d54098356ada353e155a21064560450 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-08-05Rewrite and restructure readme filesJan-Simon Moeller2-272/+569
This changeset updates the outdated README.md in meta-agl. We also introduce a split between the README.md which describes the layer itself and a README-AGL.md which contains the information on the AGL distribution. v2: Format in markdown editor - proper markdown now. Change-Id: I4cbe539ffd668c3e1d64df5c40092d5864c1d2ea Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2016-07-22Fix do_install issue for freetype-nativePhong Tran1-1/+1
The TOP_DIR is wrong in case native compile. The value of PN=freetype-native. It causes do_install error. This is error log of the issue install: cannot stat '...build/tmp/work/x86_64-linux/freetype-native/2.6-r0/ft2demos-2.6/bin/ftbench': No such file or directory (virtual:native: .../freetype_2.6.bb,do_install) failed with exit code '1' This will change to use BPN instead of PN. BPN=freetype in both native and cross compile. Tested OK with bitbake freetype freetype-native. Change-Id: I5a2b5bcc80755165ba026aedd177d03bc3f0e4a5 Signed-off-by: Phong Tran <tranmanphong@gmail.com>
2016-07-20Add PulseAudio server and systemd serviceManuel Bachmann2-0/+30
This commit adds the PulseAudio server to the image, and a related systemd service for automatic startup. This change is motivated by an Audio Routing model involving a PulseAudio plugin and a AudioManager interface, as described on: https://wiki.automotivelinux.org/ eg-ui-graphics-req-audiorouting . PulseAudio server is launched in user mode. ("paplay <file>.wav" may verify the functionality) Change-Id: I12e2bfb2af5494e530e29bda77b0d88999cf7b4b Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-07-20Bump DISTRO_VERSION to 2.0.0 for blowfishJan-Simon Möller2-10/+6
Change-Id: Ib97793045656b971741500a326cd244e313a9091 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-07-19vmdk images need harddisk drivers built-inJan-Simon Möller2-0/+11
This patch adds the disk drivers as to the kernel to be able to boot the vmdk images w/o initrd (only qemux86 and qemux86_64). v2: use _append as it is a parsed expression Change-Id: I3ebfe09079754fa29a008d14e1d0bcd3c7e98f84 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-07-19Change SRC_URI of wayland-ivi-extension to githubJan-Simon Möller1-1/+1
git.projects.genivi.org seems down for git:// clones, thus replace with github. v2: fix typo Change-Id: I40fa4d2c7c680685b7e68f748d9e087518ee857d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-07-15Add agl-audio-plugin (PulseAudio Routing plugin)Manuel Bachmann2-0/+25
agl-audio-plugin is a stripped-down version of the former Tizen IVI Audio Routing plugin (also known as "module- murphy-ivi"). This is stripped down is the sense that: - it does not require Murphy anymore; - it does not implement the most complex use cases anymore; - it is able to work standalone by using a JSON configuration file or its own embedded configuration. It still has the basic structure needed to interconnect an external policy engine (such as GENIVI AudioManager). Change-Id: I133916cada5cc928187f2aef6448fdaf7c03c3c6 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-07-15Add IVI-specific PulseAudio patches and development filesManuel Bachmann12-0/+8768
This is a stripped-down port of Tizen IVI PulseAudio 5.0 patches to AGL PulseAudio 6.0. These patches mainly: - provide a new "pulseaudio-module-dev" package, including headers and libraries for out-of-tree module development; - add generic helper functions; - add a helper "libvolume" library; - add helper functions for an efficient "volume ramp up/down" feature, so that a module does not need to track volume changes' timing and state in realtime. These patches are needed for the PulseAudio Routing Module described on: https://wiki.automotivelinux.org/ eg-ui-graphics-req-audiorouting (which is itself a stripped -down version of the Tizen IVI Audio Routing module). Change-Id: Ib826f3106b91ffdef639c2719a580373f84449c7 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-07-13Newline needed at end of template fileJan-Simon Möller1-1/+1
Change-Id: Iac0fab7b7fe7f5cc0b3c937fa02786088b173ca7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-07-12meta-agl: add cmake in nativesdk-packagegroup-sdk-host (used in ↵Stephane Desneux1-0/+2
agl-demo-platform-crosssdk) Change-Id: If208d23191dd0532a1548c4bf97d24877cbceeb6 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-12[jethro] Fix yocto bug in useradd callsJan-Simon Möller2-0/+374
This fixes https://jira.automotivelinux.org/browse/SPEC-212 . For jethro only, we provide a patched version of useradd*.bbclass. This fixes the deadlock found in the CI builds. Preference of this class is handled through bblayers.conf (meta-agl first). Change-Id: I4a010687fe587bbd300719a7ddad10f1669eb9cf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-07-11Remove proprietary dependencies from porter-nogfx templateJan-Simon Möller1-162/+2
This unbreaks the daily snapshots for porter (core-image-minimal). Enforce mesa. Change-Id: Ia12651c4d3e3953171ca066b42a668e0ee5a7fb5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-07-08aglsetup script: fix interactive execution of the script generated from ↵Stephane Desneux2-4/+3
fragments This fixes the problem with Qualcomm boards where EULA approval is required. See: https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-July/002279.html Change-Id: Ifad216bf559a246d6883e7c2828dacd7bd225075 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-08Enable ivi-input-controller.so in meta-aglTadao Tanikawa1-1/+2
This enable to deliver key events to applications running on ivi-shell. It requires ivi-input-controller.so and control keyboard focus explicitly. For that, wayland-ivi-extension should be configured with '-DWITH_ILM_INPUT=1' and built. Change-Id: Id1b521d789478ff31ac80460862fbe1fd09a93ff Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-07-07meta-agl: recipes-sota moved to meta-agl-extra, activated with new feature ↵Stephane Desneux5-259/+0
'agl-sota' Change-Id: Icd51138b41901bfd5f4f242e368700e92915b1cd Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-05new configuration templates based on fragmentsStephane Desneux56-2390/+1233
This is the application of the process proposed here: https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002232.html Bug-AGL: SPEC-180 Change-Id: I5a7015fa810547a9ecf4fb096367323af3cdc670 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-24Revert "add meta-app-framework to meta-agl"Stephane DESNEUX35-804/+3
This reverts commit 80f4d503fc5bb2564b72b72daedebf74612c30f3. Change-Id: I94605d4c0ef80433fa6eaa05e63a9c6cf69baea4 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-20tests: Add two Chromiums tests to packagegroup-ivi-common-test.bbYannick Gicquel1-0/+2
Change-Id: I764b8570398aef418834f48392e0390909937b08 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-06-19add meta-app-framework to meta-aglStephane Desneux35-3/+804
meta-app-framework is a layer containing the AGL App Framework recipes 4 new layers are added for application framework: * meta-intel-iot-security/meta-security-smack * meta-intel-iot-security/meta-security-framework * meta-agl/meta-agl-security * meta-agl/meta-app-framework In the templates files, the following changes were done: * activation of Smack and Cynara * modify the tar command to be used to support Smack extended attributes Change-Id: If369221ca7614fe0072f2a0f99a5051ef2af831d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-19meta-ivi-common: amend freetype recipe to package freetype-demosStephane Desneux2-0/+60
Binaries present in ft2demos source project are packaged in freetype-demos to satisfy JTA dependencies (job Functional.ft2demos) Change-Id: I0f2088c1d1e8586617f66292de652f3783f3f00f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-19rvi-sota-client: Add openssl as a dependencyLeon Anavi1-1/+1
Fix a potential issue when reusing sstate cache for building RVI SOTA client by adding openssl as a dependency. Bug-AGL: SPEC-176 Change-Id: I3fb3d5f0051aa56e44968fa71bc4a0cf6f39a250 Reported-by: Frederico Cadete <frederico.cadete@awtce.be> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-06-19meta-ivi-common: add recipe for fsfuzzer (JTA:Functional.fsfuzz)Stephane Desneux2-0/+29
fsfuzzer binary is needed in JTA functional test 'fsfuzz' Change-Id: Icb82fb82b8785d8ae2c784934fa9e32e2b520ef6 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-19tests: Add new recipe for linus_stressYannick Gicquel1-0/+22
Change-Id: Ia8661e982daa09da3e85287e8323690c1b079322 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-06-19tests: Add new recipe for ipv6connectYannick Gicquel1-0/+22
Change-Id: Ib1f68f6680452d194e4cb3ac642774fa58acf3a9 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-06-19ostree: Add OSTreeLeon Anavi1-0/+25
OSTree is a tool for managing bootable, immutable, versioned filesystem trees. Is will be used to apply updates downloaded by RVI SOTA client. Bug-AGL: SPEC-194 Change-Id: I286b9ce8631c6ef8632f134f89e85b462cb39fd3 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-06-19bblayers.conf.sample: Add layer meta-filesystemsLeon Anavi8-0/+8
Layer meta-filesystems provides a recipe for fuse which is required for building OSTree. Bug-AGL: SPEC-194 Change-Id: Ia41459a4ae78ede4dfcd57f709cd1e3b032d3d17 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-06-19libgsystem: Add LibGSystemLeon Anavi1-0/+21
LibGSystem is a GIO-based library. OSTree depends on it. Bug-AGL: SPEC-194 Change-Id: I42da04a5e332dc5121d0509b839ee289cfba23c7 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-06-19meta-netboot: generate appropriate resolv.conf from /proc/net/pnpStephane Desneux1-2/+5
Change-Id: I5867a08162b1d9405c769c25d066c2d1e813bca8 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-19meta-ivi-common: amend fontconfig recipe to package fontconfig-testStephane Desneux1-0/+17
Tests present in fontconfig sources are packaged in fontconfig-test*.rpm to satisfy JTA dependencies (job Functional.fontconfig) Change-Id: I0aed6f9718762995795d107e67bb7553b246232c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>