AGL/meta-agl.git
8 years agoUse kernel_configure_variable in append for rpi 41/6941/3
Jan-Simon Möller [Fri, 28 Oct 2016 17:07:32 +0000 (19:07 +0200)]
Use kernel_configure_variable in append for rpi

This changeset simplifies the configuration of the rpi kernel
by using kernel_configure_variable in do_configure_append.
Due to an upstream bug, we need to repeat the final configuration call.

We also enable BLK_DEV_RAM, BLK_DEV_NBD and SMACK.

For this we also define an OVERRIDE for netboot.

v2: add conditional appends for netboot, sota, smack by using overrides.

Change-Id: I2a4a8fae6989246d715fc2fc71bb4c251f423bdb
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoMove machine-dependent sota configuration to machine templates 33/6933/3
Anton Gerasimov [Fri, 28 Oct 2016 10:45:15 +0000 (12:45 +0200)]
Move machine-dependent sota configuration to machine templates

Change-Id: Icb03b2163d7e36a54f27bee78570240c5d337107
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
8 years agoremove powervr service from generic weston service 25/6925/1
Ronan [Fri, 28 Oct 2016 08:32:23 +0000 (10:32 +0200)]
remove powervr service from generic weston service

 * rc.pvr.service is renesas porter board specific
   and should not be present into generic weston service

Change-Id: Id866dd57607d105260e0595bf297ec1b9da72047
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
8 years agoEnable smack, ramdisk and nbd in linux-staging-ti kernel 05/6905/2
Jan-Simon Möller [Thu, 27 Oct 2016 09:16:01 +0000 (11:16 +0200)]
Enable smack, ramdisk and nbd in linux-staging-ti kernel

This changeset enables the necessary features for AGL in the linux-ti-staging kernel
by using configuration fragments. These are additive to the configuration matrix
done by linux-ti-staging itself (per board).
Apply likewise for other needed options.

Change-Id: Iebd212ca81f1c6a7f65f1f413f2021aa11f8190e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agomove Bug-AGL fix from a bb to bbappend file. 03/6903/2
Ronan [Wed, 26 Oct 2016 14:46:24 +0000 (16:46 +0200)]
move Bug-AGL fix from a bb to bbappend file.

 * move Fix on weston "Launch without input devices" from a backport recipes,
   (weston 1.9.0) to a clean bbappend.

Change-Id: I8dab2928c3e291969548107e22fd8b29cabffc6b
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
8 years agoGeneralize EULA functions and apply to imx6qsabrelite 99/6899/1
Jan-Simon Möller [Wed, 26 Oct 2016 10:20:45 +0000 (12:20 +0200)]
Generalize EULA functions and apply to imx6qsabrelite

This change generalizes the *_setup_EULA*.sh scripts to work with custom layouts.
The 50_setup.sh of the machine template just needs to call
find_and_ack_eula <layerfolder> [<EULA_FILENAME_relative_to_layerfolder>]

The EULA_FILENAME is optional.

Also an optional EULA_FLAG_NAME can be exported which will be used
for the layer.conf.
If no EULA_FLAG_NAME is set, we'll default to the current
ACCEPT_EULA_$MACHINE.

Change-Id: I03a4551e1cf088dce0b13aa5e38f606d67e0fb29
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoAdd sabrelite template 83/6883/2
Jan-Simon Möller [Tue, 25 Oct 2016 12:41:47 +0000 (14:41 +0200)]
Add sabrelite template

This changeset adds the imx6qsabrelite board to the mix.
It will be used in snapshot builds and tests in the lava lab
provided by Andrew Murray / Witekio .

Change-Id: Iefc120beeaa14454779ae08c4cd0ff226ce64e73
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoAdd archiver and isafw as features 77/6877/1
Jan-Simon Möller [Tue, 25 Oct 2016 11:04:20 +0000 (13:04 +0200)]
Add archiver and isafw as features

This commit adds two new features agl-archiver which
includes and configures the source archiver (snapshot builds)
and agl-isafw which includes and enables the isafw.

Proposed by Stéphane.

Change-Id: I1b38f08ce6f2e936f284d44510c512bee105751f
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoweston: Launch even without input devices 71/6871/2
Leon Anavi [Mon, 24 Oct 2016 12:24:57 +0000 (15:24 +0300)]
weston: Launch even without input devices

Launch Weston even if there are no input devices
such a keyboard or a mouse.

Bug-AGL: SPEC-297

Change-Id: I3187b310b1024ef77d4696a06b325bface5de2b3
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoAdding support for systemd-boot (or ex-gummyboot) on top of grub 63/6863/4
Dominig ar Foll [Sun, 23 Oct 2016 16:04:53 +0000 (18:04 +0200)]
Adding support for systemd-boot (or ex-gummyboot) on top of grub

Change-Id: I3e3306ec9c8b2cd898beb779bbbade235a83901e
Signed-off-by: Dominig ar Foll <dominig.arfoll@fridu.net>
8 years agoMake weston variables machine-specific 61/6861/2
Jan-Simon Möller [Fri, 21 Oct 2016 15:12:36 +0000 (17:12 +0200)]
Make weston variables machine-specific

These variables need to be conditional to qemu* (intel-corei7??) and
should not pollute other targets.

Use OVERRIDES here to avoid cut-n-paste.

Change-Id: I6eec3de2da0143c0a3ee40beaf73ba77acfe0a3d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoagl-audio-plugin: move sources to AGL staging repository 37/6837/1
Yannick Gicquel [Thu, 20 Oct 2016 12:23:11 +0000 (14:23 +0200)]
agl-audio-plugin: move sources to AGL staging repository

Change-Id: Ic7f55de6b1cdaa5cb2daa627905ee7e35f847dfb
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoFix u-boot bbappend for vayu board 19/6819/1
Jan-Simon Möller [Wed, 19 Oct 2016 18:59:21 +0000 (20:59 +0200)]
Fix u-boot bbappend for vayu board

Change-Id: Ic6d76c389b6eadb2d31f91593a927baefb1cd819
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agorecipes-automotive: move hvacplugin package to meta-agl-demo 97/6797/2
Stephane Desneux [Tue, 18 Oct 2016 16:46:56 +0000 (16:46 +0000)]
recipes-automotive: move hvacplugin package to meta-agl-demo

hvacplugin is used only for demos using legacy AMBd

Change-Id: Ifc3e6523b6f5a1a45e1d29c5a7b45fc5690f3d36
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agoAdd shortcut to enable all features 03/6803/2
Jan-Simon Möller [Tue, 18 Oct 2016 20:50:48 +0000 (22:50 +0200)]
Add shortcut to enable all features

This change introduces an  agl-all-features  flag.
It is basically a feature that will enable a list of
'known-good' features from an included file.

It is meant to serve two purposes:
- simplify automation scripts
- ease-of-use for users building the whole set of features

Change-Id: Ia962d6ec8a6c6345fb27e303cabbf805e729a8ca
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoFix bug of himeno recipe 77/6777/3
NuoHan Qiao [Fri, 14 Oct 2016 08:45:06 +0000 (16:45 +0800)]
Fix bug of himeno recipe

The Makefile hardcods gcc as compiler, then it will be
compiled into wrong format. SO remove it.

Change-Id: I3ab4271d26b4e8cdd2b38aa05421a3dde002297c
Signed-off-by: NuoHan Qiao <qiaonuohan@cn.fujitsu.com>
8 years agoRename meta-yocto to meta-poky as done in upstream 05/6805/2
Jan-Simon Möller [Tue, 18 Oct 2016 20:52:15 +0000 (22:52 +0200)]
Rename meta-yocto to meta-poky as done in upstream

Upstream renamed meta-yocto to meta-poky.
Thus rename it in our bblayers.conf.sample file, too.

Change-Id: I8d88592ef6e4ca8d673cef4592a21de0326d2807
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoFix aglsetup always succeeded regardless of whether errors or not 07/6807/2
Tadao Tanikawa [Tue, 18 Oct 2016 23:01:53 +0000 (01:01 +0200)]
Fix aglsetup always succeeded regardless of whether errors or not

The aglsetup is always succeeded regardless of whether
got errors while executing sub scripts or not.

This is caused by following script.
  call_func 2>&1 | tee xxxx.log

The result of this line always becomes 0 (succeeded) by
result of command 'tee'.

The '$PIPESTATUS[]' should be used for this case.

Change-Id: I67bf0dbc86331ec7858bd8edb4739a5e7729275b
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years ago50_local.conf.inc: Create rpi-sdimg for agl-sota 23/6723/1
Leon Anavi [Sat, 8 Oct 2016 00:03:47 +0000 (03:03 +0300)]
50_local.conf.inc: Create rpi-sdimg for agl-sota

Ensure that rpi-sdimg is created for Raspberry Pi
2 and 3 if feature agl-sota is enabled.

Bug-AGL: SPEC-254

Change-Id: I03ccf0851bdefdbd4e279b979163c225d2be9500
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoFix freetype recipe to build ft2demos again 21/6721/3
Jan-Simon Möller [Thu, 6 Oct 2016 22:11:35 +0000 (00:11 +0200)]
Fix freetype recipe to build ft2demos again

This changeset fixes SPEC-261 [1]

The recipe relies on ${B} = ${S} and
ft2demos needs to find the right libtool.

Therefore we remove the hardcoded LIBTOOL in the makefile.
LIBTOOL is already set and imported through config.mk

v2: replaced sed with patch

[1] https://jira.automotivelinux.org/browse/SPEC-261

Change-Id: I25f472a1774b0e7922828271117e96bf254e4b59
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years ago50_local.conf.inc: Fix agl-sota feature for rpi2 19/6719/1
Leon Anavi [Thu, 6 Oct 2016 13:47:31 +0000 (16:47 +0300)]
50_local.conf.inc: Fix agl-sota feature for rpi2

Use "+=" instead of "=" for setting IMAGE_CLASSES
in Raspberry Pi 2 template for local.conf to
prevent failure while building images with
enabled agl-sota feature. The same fix has been
already applied to the Raspberry Pi 3 template.
Unfortunately, although with this fix the build
passes successfully, rpi-sdimg image is not
created.

Change-Id: I9a6e3e4742b0226d962b295b43bbc467d3f0fc77
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoUpdate recipe for LTP to 20160920 from 20160510 13/6713/1
Kotaro Hashimoto [Thu, 6 Oct 2016 01:38:34 +0000 (10:38 +0900)]
Update recipe for LTP to 20160920 from 20160510

Update recipe for LTP as bbappend.
The LTP version is changed to 20160920 from 20160510.

Change-Id: Ic4ab308910aaafa37ee52504d419646512609351
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
8 years agoadding mkefi-agl.sh create boot devices from AGL images for UEFI boot 05/6705/3
Dominig ar Foll [Wed, 5 Oct 2016 09:27:34 +0000 (11:27 +0200)]
adding mkefi-agl.sh create boot devices from AGL images for UEFI boot

Change-Id: I0e89fc869c048d6bd1b49904a683f645ca51ebec
Signed-off-by: Dominig ar Foll <dominig.arfoll@fridu.net>
8 years ago50_local.conf.inc: Fix agl-sota feature for rpi3 09/6709/1
Leon Anavi [Wed, 5 Oct 2016 16:03:00 +0000 (19:03 +0300)]
50_local.conf.inc: Fix agl-sota feature for rpi3

Use "+=" instead of "=" for setting IMAGE_CLASSES
in Raspberry Pi 3 template for local.conf to
prevent failure while building images with
enabled agl-sota feature.

Bug-AGL: SPEC-254

Change-Id: I5384376908b7ceac1e03a4afff7b9d617e8a379b
Suggested-by: Anton Gerasimov <anton@advancedtelematic.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agopackagegroup: agl-audio-plugin ported to pulseaudio-8.0 99/6699/2
Yannick Gicquel [Mon, 3 Oct 2016 15:05:57 +0000 (17:05 +0200)]
packagegroup: agl-audio-plugin ported to pulseaudio-8.0

Change-Id: Ia987b1e5fa8f16faaf6b3b9e69524a793c935cf3
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoEnable the DRM backend for Weston on QEMU-x86/x86-64 83/6683/3
Tadao Tanikawa [Mon, 3 Oct 2016 12:18:52 +0000 (21:18 +0900)]
Enable the DRM backend for Weston on QEMU-x86/x86-64

The DRM backend is the native Weston backend for systems that
support the Linux kernel DRM, kernel mode setting(KMS), and evdev
input devices.

This patch set the DRM backend as default and also enable bochs
display vga interface for qemu std vga.

To use the DRM backend for Weston, the option "-vga std" should be
set into qemuparams for runqemu script, like below:

    qemuparams="-vga std"

Change-Id: I04591999a0a3f7205e42585150e8f50e7414f9ac
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years agoagl-audio-plugin: update for pulse 8.0 97/6697/2
Yannick Gicquel [Mon, 3 Oct 2016 15:00:36 +0000 (17:00 +0200)]
agl-audio-plugin: update for pulse 8.0

Change-Id: I72b8d8c7e31205e40665ff63be1c31c085da1816
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoRemove backport for useradd classes 93/6693/2
Jan-Simon Möller [Mon, 3 Oct 2016 22:09:14 +0000 (00:09 +0200)]
Remove backport for useradd classes

The krogoth branch has the fix backported now.

Change-Id: I8f6ad125ef4614b02cd8f10c5c29eec0fd2fd53c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agopulseaudio: add volumeramp patchset 95/6695/1
Yannick Gicquel [Mon, 3 Oct 2016 14:57:59 +0000 (16:57 +0200)]
pulseaudio: add volumeramp patchset

Those patchs are a rebased version of patchset:
https://lists.freedesktop.org/archives/pulseaudio-discuss/2016-August/026797.html

Change-Id: I367686217a2af409c46c2aab0be62c01a058d2f1
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoconf/layer.conf: Update meta-agl-bsp priority 51/6651/2
Leon Anavi [Wed, 28 Sep 2016 13:26:54 +0000 (16:26 +0300)]
conf/layer.conf: Update meta-agl-bsp priority

Increase the priority of Yocto/OE layer
meta-agl-bsp to 10 because meta-raspberrypi has
priority 9.

Bug-AGL: SPEC-254

Change-Id: Ibd020b432b2865c5bb00fb2d7a56840a2c1e2cef
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agowandboard/50_bblayers.conf.inc: Fix typo 55/6655/2
Leon Anavi [Wed, 28 Sep 2016 15:11:07 +0000 (18:11 +0300)]
wandboard/50_bblayers.conf.inc: Fix typo

Fix typo by replacing "meta-fsm-arm-extra" with
"meta-fsm-arm-extra".

Bug-AGL: SPEC-256

Change-Id: I7fdb84dc92d19a1d585bae6660accf106b5c4512
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoAdd bbappend file for available glmark2 on wayland 47/6647/2
Yuta Doi [Wed, 28 Sep 2016 07:39:28 +0000 (16:39 +0900)]
Add bbappend file for available glmark2 on wayland

Add bbappend file of glmark2 for using it on wayland.
If you want to use glmark2, please see the following step:
  1. Add IMAGE_INSTALL_append in conf/local.conf
     >      IMAGE_INSTALL_append = " \
     >          glmark2 \
     >      "

  2. Bitbake image such as agl-demo-platform.

  3. Power up the board with created image in step 2.

  4. [on board] Modify /etc/xdg/weston/weston.ini
                for switching ivi-shell to desktop-shell
     >      [core]
     >      shell=ivi-shell.so
              ↓
     >      [core]
     >      shell=desktop-shell.so

  5. [on board] Restart weston.service
     >      # systemctl restart weston.service

  6. [on board] Execute glmark2
     >      # glmark2-es2-wayland

Change-Id: I8c6c839f4a1e0099b118f33fe3aa824a6c922e8b
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
8 years agoExtend glob on meta-agl-bsp to support more boards. 45/6645/2
Jan-Simon Möller [Tue, 27 Sep 2016 13:26:46 +0000 (15:26 +0200)]
Extend glob on meta-agl-bsp to support more boards.

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>
8 years agomesa_%.bbappend: Remove dependency from libomxil 39/6639/1
Leon Anavi [Mon, 26 Sep 2016 09:54:56 +0000 (12:54 +0300)]
mesa_%.bbappend: Remove dependency from libomxil

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>
8 years agoKeep IMAGE_INSTALL_appends_porter concentrated in local.conf 31/6631/2
Jan-Simon Möller [Mon, 26 Sep 2016 02:24:01 +0000 (04:24 +0200)]
Keep IMAGE_INSTALL_appends_porter concentrated in local.conf

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>
8 years agoFix layer name in template for rpi 29/6629/1
Jan-Simon Möller [Mon, 26 Sep 2016 02:16:29 +0000 (04:16 +0200)]
Fix layer name in template for rpi

The layer name was wrong in the bblacers.conf.inc - fixed.

Change-Id: I97cc7ba0de0c144180da070c0187259b2fac03e4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoUpdate rpi templates after recipe update 07/6607/3
Jan-Simon Möller [Fri, 23 Sep 2016 18:22:54 +0000 (20:22 +0200)]
Update rpi templates after recipe update

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>
8 years agoFix meta-netboot build on Minnowboard Max after migration to Krogoth 01/6601/3
Stephane Desneux [Fri, 23 Sep 2016 15:21:57 +0000 (15:21 +0000)]
Fix meta-netboot build on Minnowboard Max after migration to Krogoth

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>
8 years agoweston: Set XDG_RUNTIME_DIR for Raspberry Pi 91/6591/2
Leon Anavi [Thu, 22 Sep 2016 13:29:09 +0000 (16:29 +0300)]
weston: Set XDG_RUNTIME_DIR for Raspberry Pi

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>
8 years agoweston: Use drm-backend.so for Raspberry Pi 89/6589/2
Leon Anavi [Thu, 22 Sep 2016 13:23:55 +0000 (16:23 +0300)]
weston: Use drm-backend.so for Raspberry Pi

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>
8 years agometa-raspberrypi: AGL support for Raspberry Pi 87/6587/2
Leon Anavi [Thu, 22 Sep 2016 12:00:46 +0000 (15:00 +0300)]
meta-raspberrypi: AGL support for Raspberry Pi

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>
8 years agoUpdate useradd overlays in meta-agl 25/6625/2
Jan-Simon Möller [Sat, 24 Sep 2016 14:23:42 +0000 (16:23 +0200)]
Update  useradd overlays in meta-agl

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>
8 years agoagl-devel: add less and lsof 73/6573/1
Yannick Gicquel [Wed, 21 Sep 2016 08:35:12 +0000 (10:35 +0200)]
agl-devel: add less and lsof

Those tools can be useful while debugging on target.

Change-Id: I6015985356c4c3d70866316ef3f9d4a70af717ab
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoSet INITRAMFS_IMAGE instead of appending to it 55/6555/1
Anton Gerasimov [Wed, 14 Sep 2016 10:11:37 +0000 (12:11 +0200)]
Set INITRAMFS_IMAGE instead of appending to it

Bug-AGL: SPEC-250

Change-Id: I76fbc1d8674807c247bb4aaadd70d71a13097491
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
8 years agoFix issue that pulseaudio freezes when pausing audio 39/6339/3
Tadao Tanikawa [Wed, 10 Aug 2016 11:55:25 +0000 (20:55 +0900)]
Fix issue that pulseaudio freezes when pausing audio

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>
8 years agoaglsetup.sh: handle machines/features from any layer 51/6551/1
Stephane Desneux [Fri, 9 Sep 2016 13:53:37 +0000 (13:53 +0000)]
aglsetup.sh: handle machines/features from any layer

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>
8 years agoChanges for building with YP 2.1.1 'krogoth' 35/6535/2
Jan-Simon Möller [Thu, 1 Sep 2016 21:22:37 +0000 (23:22 +0200)]
Changes for building with YP 2.1.1 'krogoth'

    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>
8 years agometa-netboot: add 256MB of extra space in generated rootfs 19/6519/2
Stephane Desneux [Thu, 1 Sep 2016 07:16:26 +0000 (07:16 +0000)]
meta-netboot: add 256MB of extra space in generated rootfs

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>
8 years agometa-agl: the feature 'agl-devel' depends on rsync 17/6517/1
Stephane Desneux [Thu, 1 Sep 2016 08:13:32 +0000 (10:13 +0200)]
meta-agl: the feature 'agl-devel' depends on rsync

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>
8 years agoFix use of version number in recipe to make it future-proof. 65/6365/1
Jan-Simon Möller [Tue, 16 Aug 2016 07:11:02 +0000 (09:11 +0200)]
Fix use of version number in recipe to make it future-proof.

Instead of hardcoding 6.0, we can use ${PV} instead.

Change-Id: I95c36058302c4f5d8dc0b8f0814d68270b17cf34
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agonativesdk-dbus: fix spurious unpackaged files 61/6361/2
Stephane Desneux [Sun, 14 Aug 2016 18:12:34 +0000 (18:12 +0000)]
nativesdk-dbus: fix spurious unpackaged files

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>
8 years agoAdd folders for FSL/NXP bsp adaptions for AGL 55/6355/2
Jan-Simon Möller [Fri, 12 Aug 2016 13:37:18 +0000 (15:37 +0200)]
Add folders for FSL/NXP bsp adaptions for AGL

Change-Id: I70b28cb85cf99e37d45a567ec3479fcd1a99185f
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoMove adaptations specific to meta-ti into subfolder with conditional inclusion 57/6357/1
Jan-Simon Möller [Fri, 12 Aug 2016 13:38:53 +0000 (15:38 +0200)]
Move adaptations specific to meta-ti into subfolder with conditional inclusion

Change-Id: I826ce3d15d54098356ada353e155a21064560450
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoRewrite and restructure readme files 09/6309/5
Jan-Simon Moeller [Wed, 3 Aug 2016 20:27:33 +0000 (22:27 +0200)]
Rewrite and restructure readme files

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>
8 years agoFix do_install issue for freetype-native 65/6165/2
Phong Tran [Thu, 21 Jul 2016 16:18:33 +0000 (23:18 +0700)]
Fix do_install issue for freetype-native

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>
8 years agoAdd PulseAudio server and systemd service 23/6023/3
Manuel Bachmann [Wed, 20 Jul 2016 15:52:27 +0000 (15:52 +0000)]
Add PulseAudio server and systemd service

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>
8 years agoBump DISTRO_VERSION to 2.0.0 for blowfish 55/6155/2
Jan-Simon Möller [Tue, 19 Jul 2016 21:49:53 +0000 (23:49 +0200)]
Bump DISTRO_VERSION to 2.0.0 for blowfish

Change-Id: Ib97793045656b971741500a326cd244e313a9091
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agovmdk images need harddisk drivers built-in 45/6145/3
Jan-Simon Möller [Tue, 19 Jul 2016 09:07:23 +0000 (11:07 +0200)]
vmdk images need harddisk drivers built-in

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>
8 years agoChange SRC_URI of wayland-ivi-extension to github 49/6149/2
Jan-Simon Möller [Tue, 19 Jul 2016 10:37:05 +0000 (12:37 +0200)]
Change SRC_URI of wayland-ivi-extension to github

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>
8 years agoAdd agl-audio-plugin (PulseAudio Routing plugin) 75/6075/2
Manuel Bachmann [Wed, 8 Jun 2016 13:41:49 +0000 (13:41 +0000)]
Add agl-audio-plugin (PulseAudio Routing plugin)

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>
8 years agoAdd IVI-specific PulseAudio patches and development files 73/6073/2
Manuel Bachmann [Mon, 18 Apr 2016 12:42:12 +0000 (12:42 +0000)]
Add IVI-specific PulseAudio patches and development files

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>
8 years agoNewline needed at end of template file 19/6119/1
Jan-Simon Möller [Tue, 12 Jul 2016 22:24:02 +0000 (00:24 +0200)]
Newline needed at end of template file

Change-Id: Iac0fab7b7fe7f5cc0b3c937fa02786088b173ca7
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agometa-agl: add cmake in nativesdk-packagegroup-sdk-host (used in agl-demo-platform... 67/6067/4
Stephane Desneux [Fri, 8 Jul 2016 14:01:22 +0000 (14:01 +0000)]
meta-agl: add cmake in nativesdk-packagegroup-sdk-host (used in agl-demo-platform-crosssdk)

Change-Id: If208d23191dd0532a1548c4bf97d24877cbceeb6
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years ago[jethro] Fix yocto bug in useradd calls 91/6091/2
Jan-Simon Möller [Mon, 11 Jul 2016 01:51:33 +0000 (03:51 +0200)]
[jethro] Fix yocto bug in useradd calls

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>
8 years agoRemove proprietary dependencies from porter-nogfx template 83/6083/2
Jan-Simon Möller [Sun, 10 Jul 2016 21:58:49 +0000 (23:58 +0200)]
Remove proprietary dependencies from porter-nogfx template

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>
8 years agoaglsetup script: fix interactive execution of the script generated from fragments 77/6077/1
Stephane Desneux [Fri, 8 Jul 2016 18:25:05 +0000 (18:25 +0000)]
aglsetup script: fix interactive execution of the script generated from 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>
8 years agoEnable ivi-input-controller.so in meta-agl 53/6053/2
Tadao Tanikawa [Wed, 6 Jul 2016 11:01:30 +0000 (20:01 +0900)]
Enable ivi-input-controller.so in meta-agl

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>
8 years agometa-agl: recipes-sota moved to meta-agl-extra, activated with new feature 'agl-sota' 37/6037/2
Stephane Desneux [Tue, 5 Jul 2016 16:34:38 +0000 (16:34 +0000)]
meta-agl: recipes-sota moved to meta-agl-extra, activated with new feature 'agl-sota'

Change-Id: Icd51138b41901bfd5f4f242e368700e92915b1cd
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agonew configuration templates based on fragments 29/6029/5
Stephane Desneux [Tue, 28 Jun 2016 21:27:38 +0000 (21:27 +0000)]
new configuration templates based on fragments

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>
8 years agoRevert "add meta-app-framework to meta-agl" 91/5991/2
Stephane DESNEUX [Fri, 24 Jun 2016 10:15:26 +0000 (10:15 +0000)]
Revert "add meta-app-framework to meta-agl"

This reverts commit 80f4d503fc5bb2564b72b72daedebf74612c30f3.

Change-Id: I94605d4c0ef80433fa6eaa05e63a9c6cf69baea4
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agotests: Add two Chromiums tests to packagegroup-ivi-common-test.bb 41/5641/3
Yannick Gicquel [Mon, 20 Jun 2016 09:15:59 +0000 (11:15 +0200)]
tests: Add two Chromiums tests to packagegroup-ivi-common-test.bb

Change-Id: I764b8570398aef418834f48392e0390909937b08
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoadd meta-app-framework to meta-agl 75/5775/5
Stephane Desneux [Wed, 1 Jun 2016 17:52:10 +0000 (17:52 +0000)]
add meta-app-framework to meta-agl

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>
8 years agometa-ivi-common: amend freetype recipe to package freetype-demos 95/5895/2
Stephane Desneux [Fri, 17 Jun 2016 14:35:16 +0000 (14:35 +0000)]
meta-ivi-common: amend freetype recipe to package freetype-demos

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>
8 years agorvi-sota-client: Add openssl as a dependency 93/5893/2
Leon Anavi [Fri, 17 Jun 2016 12:47:32 +0000 (12:47 +0000)]
rvi-sota-client: Add openssl as a dependency

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>
8 years agometa-ivi-common: add recipe for fsfuzzer (JTA:Functional.fsfuzz) 91/5891/2
Stephane Desneux [Thu, 16 Jun 2016 17:55:29 +0000 (17:55 +0000)]
meta-ivi-common: add recipe for fsfuzzer (JTA:Functional.fsfuzz)

fsfuzzer binary is needed in JTA functional test 'fsfuzz'

Change-Id: Icb82fb82b8785d8ae2c784934fa9e32e2b520ef6
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agotests: Add new recipe for linus_stress 39/5639/3
Yannick Gicquel [Tue, 10 May 2016 10:08:10 +0000 (12:08 +0200)]
tests: Add new recipe for linus_stress

Change-Id: Ia8661e982daa09da3e85287e8323690c1b079322
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agotests: Add new recipe for ipv6connect 37/5637/3
Yannick Gicquel [Tue, 10 May 2016 10:03:57 +0000 (12:03 +0200)]
tests: Add new recipe for ipv6connect

Change-Id: Ib1f68f6680452d194e4cb3ac642774fa58acf3a9
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoostree: Add OSTree 13/5813/5
Leon Anavi [Wed, 15 Jun 2016 13:13:42 +0000 (13:13 +0000)]
ostree: Add OSTree

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>
8 years agobblayers.conf.sample: Add layer meta-filesystems 11/5811/4
Leon Anavi [Fri, 3 Jun 2016 12:53:15 +0000 (12:53 +0000)]
bblayers.conf.sample: Add layer meta-filesystems

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>
8 years agolibgsystem: Add LibGSystem 09/5809/4
Leon Anavi [Fri, 3 Jun 2016 12:49:05 +0000 (12:49 +0000)]
libgsystem: Add LibGSystem

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>
8 years agometa-netboot: generate appropriate resolv.conf from /proc/net/pnp 79/5879/5
Stephane Desneux [Tue, 14 Jun 2016 17:04:44 +0000 (17:04 +0000)]
meta-netboot: generate appropriate resolv.conf from /proc/net/pnp

Change-Id: I5867a08162b1d9405c769c25d066c2d1e813bca8
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agometa-ivi-common: amend fontconfig recipe to package fontconfig-test 77/5877/3
Stephane Desneux [Tue, 14 Jun 2016 16:08:36 +0000 (16:08 +0000)]
meta-ivi-common: amend fontconfig recipe to package fontconfig-test

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>
8 years agometa-ivi-common: add recipe for 'dung' scripts required by some JTA tests 73/5873/2
Stephane Desneux [Tue, 14 Jun 2016 10:34:12 +0000 (10:34 +0000)]
meta-ivi-common: add recipe for 'dung' scripts required by some JTA tests

The following tests use dung-3.4.25-m2 scripts:
* Functional.arch_timer
* Functional.scifab
* Functional.cmt
* Functional.sdhi_0

Change-Id: Ibcd4267b6b2025e0e615fcb6af2bbaa3b2011712
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agometa-ivi-common: add recipe for aiostress (JTA:Functional.aiostress) 69/5869/2
Stephane Desneux [Tue, 14 Jun 2016 09:20:32 +0000 (09:20 +0000)]
meta-ivi-common: add recipe for aiostress (JTA:Functional.aiostress)

aio-stress binary is needed in JTA functional test 'aiostress'

upstream version found here: https://oss.oracle.com/~mason/aio-stress/
NB: the version referenced in JTA is 0.21 but the new recipe points to 0.22.

Change-Id: I382ca2ea843f2367010677c463df2a1b9d02aba7
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agometa-netboot: enable NBD and Ramdisk support in kernel config 29/5829/3
Stephane Desneux [Wed, 8 Jun 2016 15:31:21 +0000 (15:31 +0000)]
meta-netboot: enable NBD and Ramdisk support in kernel config

NBD and Ramdisk support are required in the kernel to have
the root filesystem mounted as an NBD device:

* ramdisk is required to load the initrd (not an initramfs)
* NBD is required to mount the root device from a remote NBD server

Change-Id: Ib726714adfb549eaeb21f96e7bf874290e700a8b
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agometa-netboot: mount remote filesystem with 'noatime' option 55/5855/1
Stephane Desneux [Fri, 10 Jun 2016 10:07:55 +0000 (10:07 +0000)]
meta-netboot: mount remote filesystem with 'noatime' option

Change-Id: I7486c7b785673f0833409267f52db5c09663fcba
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agoFix QEMU compilation with security flags 23/5823/4
Manuel Bachmann [Sun, 5 Jun 2016 15:35:31 +0000 (15:35 +0000)]
Fix QEMU compilation with security flags

Since we added compilation security flags (https://gerrit.
automotivelinux.org/gerrit/#/c/5631/), QEMU builds break
when compiling llvm3.3, which is a Mesa dependency.
(most hardware boards do not complain because they do not
rely on Mesa, but on specific graphics drivers instead)

Problem was reported on the mailing list :
https://lists.linuxfoundation.org/pipermail/
automotive-discussions/2016-June/002091.html

This a local backport of the following upstream patch :
http://lists.openembedded.org/pipermail/openembedded-devel/
2016-June/107727.html

Change-Id: Idd378802b303c16de5c0410d533d1680fcef4bb7
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
8 years agoFix typo in local.conf samples 17/5817/1
Manuel Bachmann [Sat, 4 Jun 2016 10:16:46 +0000 (10:16 +0000)]
Fix typo in local.conf samples

Fix small typo, which can be obvious as it copied in the
user's build directory.

Change-Id: Idf7d6381b27264ad074387c4283e4f9f325c77c4
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
8 years agoadd layer meta-netboot to enable network boot over NBD (Network Block Device) 33/5633/7
Stephane Desneux [Mon, 23 May 2016 15:53:36 +0000 (17:53 +0200)]
add layer meta-netboot to enable network boot over NBD (Network Block Device)

To enable the build of network bootable images, the following line must be
added to conf/local.conf:

   INHERIT += "netboot"

This layer contains recipes for the following components:
* busybox: activate the built-in NBD client
* initramfs-netboot: contains the init script started by the kernel,
  responsible for mounting the remote root filesystem then pivoting and
  exec'ing systemd
* initramfs-netboot-image: image to specify for building the initrd

More details are available in meta-netboot/README.

Bug-AGL: SPEC-175

Change-Id: Id2328dd9233d238cde77311e64e58344be244988
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agoUpdate recipe for LTP to 20160510 from 20150420 97/5697/1
Kotaro Hashimoto [Wed, 25 May 2016 05:02:54 +0000 (14:02 +0900)]
Update recipe for LTP to 20160510 from 20150420

Update recipe for LTP as bbappend.
The LTP version is changed to 20160510 from 20150420.

Change-Id: Ic7b0b7eb0ee550622341119bdb998235535145af
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
8 years agoAdd lmbench to packagegroup for QA 59/5659/2
Jan-Simon Möller [Tue, 17 May 2016 10:20:23 +0000 (12:20 +0200)]
Add lmbench to packagegroup for QA

lmbench v3 is available in OE.

Change-Id: I3754a395e29b21dfe7bfd60f8544e093a218f139
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agotemplates: fix the path of meta-rust 65/5665/2
Phong Tran [Wed, 18 May 2016 14:42:09 +0000 (21:42 +0700)]
templates: fix the path of meta-rust

The meta-rust is not in meta-openembedded.

Change-Id: Ic0ef7d8cde472b236cb02a652d7080b29d0b298f
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
8 years agoaglbsp: use shared recipes from this layer 63/5663/2
Philippe Coval [Tue, 17 May 2016 16:18:25 +0000 (18:18 +0200)]
aglbsp: use shared recipes from this layer

This change will makes weston pull mesa-megadriver

As I observed that weston was crashing on intel-corei7-64
because there were no dri backend available in default image.

This change has been successly tested on Minnowboard Max
where /usr/lib/dri/i915_dri.so is loaded correctly

Bug-AGL: SPEC-186

Change-Id: I6bdd6d8a0d330e607ccc031ba0d2da17137a5635
Origin: https://github.com/TizenTeam/meta-agl
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
8 years agorvi-sota-client_git: Fix openssl and hyper version 35/5635/2
Leon Anavi [Mon, 9 May 2016 12:45:39 +0000 (12:45 +0000)]
rvi-sota-client_git: Fix openssl and hyper version

Set specific versions of crates openssl and hyper
which are known to be compatible with this version
of RVI SOTA client.

Bug-AGL: SPEC-176

Change-Id: I38c982963b88507ddc6d40cce1145af54886a0e1
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoEnable compiler flags to enhance security 31/5631/1
Jan-Simon Möller [Sat, 7 May 2016 22:00:23 +0000 (00:00 +0200)]
Enable compiler flags to enhance security

From the original included file:

  Setup extra CFLAGS and LDFLAGS which have 'security' benefits. These
  don't work universally, there are recipes which can't use one, the other
  or both so a blacklist is maintained here. The idea would be over
  time to reduce this list to nothing.

It is likely that:
- some packages in the included layers don't compile with these flags
- bad recipes do not obey these flags
- binary drivers might expose issues at runtime

We need to check and extend the blacklist/whitelist or fix the code or recipe.

Change-Id: Ie4b80abd010eab438567923dea85aac23a565d23
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agorvi-sota-client_git: add RVI SOTA client 79/5579/4
Leon Anavi [Wed, 4 May 2016 12:35:03 +0000 (12:35 +0000)]
rvi-sota-client_git: add RVI SOTA client

Build and deploy sota_client and a systemd
service. The application is written in the Rust
programming language and depends on Cargo
therefore the recipe requires on meta-rust. It is
using crate dbus-rs version 0.1.2 with fixed
casts of c_char raw pointers for ARM.

Bug-AGL: SPEC-176

Change-Id: Ic8f24ae3dd2e62297e303be23a40759b0b919b86
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoProvide updated Wayland-IVI-Extension. 19/5619/6
Andre Moreira Magalhaes (andrunko) [Wed, 13 Apr 2016 02:58:54 +0000 (23:58 -0300)]
Provide updated Wayland-IVI-Extension.

This change adds support for Wayland IVI Extension 1.9.1 (latest stable release).

Wayland-IVI-Extension provides an additional shell plugin for IVI-Shell, along with
command-line tools and demonstration applications.

More info at http://projects.genivi.org/wayland-ivi-extension.

Change-Id: Icd193af70b226745b9316d18dc239909703d7bda
Signed-off-by: Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>
8 years agoAdd support for GENIVI Audio Manager. 17/5617/6
Andre Moreira Magalhaes (andrunko) [Wed, 13 Apr 2016 02:13:40 +0000 (23:13 -0300)]
Add support for GENIVI Audio Manager.

More info at http://projects.genivi.org/audio-manager/.

Change-Id: I557a6f69e80e5d3a784d89dbb0584c925ce47545
Signed-off-by: Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>
8 years agoAdd support for GENIVI Diagnostic Log and Trace (DLT). 15/5615/2
Andre Moreira Magalhaes (andrunko) [Wed, 13 Apr 2016 01:57:52 +0000 (22:57 -0300)]
Add support for GENIVI Diagnostic Log and Trace (DLT).

More info at http://projects.genivi.org/diagnostic-log-trace/.

Change-Id: I2eab825c9aba9d56795d89b1fab84151e570c423
Signed-off-by: Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>
8 years agoAdd DragonBoard-410c as target board 89/5589/5
Kotaro Hashimoto [Mon, 25 Apr 2016 01:30:09 +0000 (10:30 +0900)]
Add DragonBoard-410c as target board

This patch adds the dragonboard-410c as DragonBoard-410c target.

There are instructions to write image into eMMC and boot system at:
https://github.com/96boards/documentation/wiki/Dragonboard-410c-Installation-Guide-for-Linux-and-Android#flash-the-bootloader-into-on-board-emmc

v2: Rebase after merge conflict (jsmoeller)
v3: Generalize the eula script into function to be reuseable (jsmoeller)

Depends-On: Idcad2c27539af130704a3c66efe6b91868eef534
Change-Id: I52e5d732c865989796158016758e6e745c74cac8
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>