AGL/meta-agl.git
7 years agodra7xx-evm: u-boot: Add custom uenv.txt 33/7233/1
Karthik Ramanan [Thu, 17 Nov 2016 09:10:29 +0000 (14:40 +0530)]
dra7xx-evm: u-boot: Add custom uenv.txt

dra7xx-evm supports multiple LCD panels, to boot the board
successfully, the uenv.txt has to specify the correct dtb
file. This patch adds the default dtb and specifies one of
the LCD panels in it.

NOTE:
It could happen that the panel that you have is a different
panel, in that case you would have to manually edit the same.

Change-Id: I0fdbe0ce48ca0654604a5808de684558308582c5
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agometa-rcar-gen3: gles: support for AGL toolchain 05/7205/2
Yannick Gicquel [Wed, 16 Nov 2016 14:31:01 +0000 (15:31 +0100)]
meta-rcar-gen3: gles: support for AGL toolchain

As TARGET_VENDOR is defined in AGL, the toolchain has a
different name.
The gles recipe contains hardcoded toolchain name, this
add support to custom one.

Change-Id: Ie4e768d0570c6a07f92067e39079e6e063d59451
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agoAdd support for CES 2017 demo hardware 97/7197/4
Scott Murray [Tue, 15 Nov 2016 17:27:02 +0000 (12:27 -0500)]
Add support for CES 2017 demo hardware

Add kernel config fragments to enable support for the TP-Link TL-W722N
USB Wifi adapter on both Turbot and Porter, and RTL2832U DVB USB adapter
on Porter.

v2 (jsmoeller): Adapt linux-yocto bits and add rpi3 + vayu
    - moving linux-yocto appends catches all the linux-yocto boards
    - adding the fragments to the other boards likewise
    - yet todo: sabre, wandboard
v3 (jsmoeller): remove leftover file://

Change-Id: Ic2c3255d9383ccfe8b24d034ef43779d120c5ee1
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd feature shortcuts matching ci system 95/7195/2
Jan-Simon Möller [Mon, 14 Nov 2016 08:35:45 +0000 (09:35 +0100)]
Add feature shortcuts matching ci system

These features (shortcuts) do activate the feature set for:
 - the changeset builds (agl-ci-change-features)
 - the snapshot builds (agl-ci-snapshot-features)

Change-Id: I4972f61b070836fedef8e06d32deaf07b8978dfb
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agodra7xx-evm: ti-ipc: get rid of local patches 07/7207/1
Karthik Ramanan [Wed, 16 Nov 2016 15:19:20 +0000 (20:49 +0530)]
dra7xx-evm: ti-ipc: get rid of local patches

The patch that was submitted to meta-agl has been upstreamed.
Remove and reuse from meta-ti.

Change-Id: I269b40fc29913bc192a4d0417b5f6c1af4458d81
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agoREADME-AGL.md: Update links to AGL wiki 91/7191/2
Leon Anavi [Mon, 14 Nov 2016 15:21:52 +0000 (17:21 +0200)]
README-AGL.md: Update links to AGL wiki

Update links to AGL wiki for the getting started
guidelines for QEMU, Renesas Porter board and
Raspberry Pi 2/3.

Change-Id: I39a557d790951232195b369c1b29550a37495ed4
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
7 years agoAdd newlines at end of fragment 87/7187/2
Jan-Simon Möller [Mon, 14 Nov 2016 08:35:45 +0000 (09:35 +0100)]
Add newlines at end of fragment

These are required for proper parsing.

Change-Id: I8ade2d0f96ad73f954cd4fd9908c47088def4d8a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agotemplates: add R-Car M3 starter kit (w/o gfx) 57/7157/2
Yannick Gicquel [Thu, 10 Nov 2016 15:12:02 +0000 (16:12 +0100)]
templates: add R-Car M3 starter kit (w/o gfx)

Introduce a new template for "m3ulcb" reference design.
This machine is intended to be used in CI process, and does _not_
activate Hw acceleration for graphics or multimedia.

Change-Id: Ia780dee9a4d75133dfe7f98f09d3e876723d05f6
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agometa-agl-bsp: meta-rcar-gen3: initial integration 55/7155/2
Yannick Gicquel [Thu, 10 Nov 2016 15:04:19 +0000 (16:04 +0100)]
meta-agl-bsp: meta-rcar-gen3: initial integration

Note: optee-os recipe is disable for the moment.

Change-Id: I8881fcc3c794b1cbb479b8e7d61bb86688f78bf9
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agometa-agl-bsp: backport: gstreamer1.0 v1.4.5 recipes 53/7153/3
Yannick Gicquel [Thu, 10 Nov 2016 13:55:11 +0000 (14:55 +0100)]
meta-agl-bsp: backport: gstreamer1.0 v1.4.5 recipes

This is a backport from Jethro as meta-rcar-gen3 append on following:

- gstreamer1.0-libav_1.4.5
- gstreamer1.0-omx_1.2.0
- gstreamer1.0-plugins-bad_1.4.5
- gstreamer1.0-plugins-good_1.4.5

v2 (jsmoeller): Move into meta-rcar-gen3 subfolder as it only affects that layer.

Change-Id: Iefc9a2c10e76c172f1cb1f8d3babf3544828310e
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agometa-agl-bsp: backport: mesa v10.6.3 recipe 51/7151/3
Yannick Gicquel [Thu, 10 Nov 2016 13:40:14 +0000 (14:40 +0100)]
meta-agl-bsp: backport: mesa v10.6.3 recipe

This is a backport from Jethro as meta-rcar-gen3 append on this package.

v2 (jsmoeller): Move underneath meta-rcar-gen3 as it only affects that layer.

Change-Id: I1c9f94346da919530c359b471429fad9b1b2c661
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agometa-agl-bsp: backport: linuxptp v1.4 recipe 49/7149/3
Yannick Gicquel [Thu, 10 Nov 2016 13:38:48 +0000 (14:38 +0100)]
meta-agl-bsp: backport: linuxptp v1.4 recipe

This is a backport from Jethro as meta-rcar-gen3 append on this package.

v2 (jsmoeller): move to meta-rcar-gen3 subfolder as it only affects that layer

Change-Id: Ic5755342beae2b02a6072d40fc7e8d41596d5b2b
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd firmware for wifi on rpi3 83/7183/1
Jan-Simon Möller [Sun, 13 Nov 2016 20:16:05 +0000 (21:16 +0100)]
Add firmware for wifi on rpi3

This changeset add the firmware files for the wifi to the image.

Change-Id: I3557a50acc3eb80add605fdbdc32fa4af3a747bb
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agodra7xx-evm: switch to different kernel 69/7169/3
Karthik Ramanan [Fri, 11 Nov 2016 14:24:45 +0000 (19:54 +0530)]
dra7xx-evm: switch to different kernel

Also renamed the append file to make it kernel specific.
This kernel will enable more automotive specific usecases
like radio and other adapter boards that will be required
for AGL.

Change-Id: I2259724061f8b47f79fa43a5b65d43c8e025fd3a
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: switch to new u-boot 71/7171/4
Karthik Ramanan [Fri, 11 Nov 2016 14:26:40 +0000 (19:56 +0530)]
dra7xx-evm: switch to new u-boot

This u-boot version will enable specific usecases for
AGL and in general to support additional peripheral
boards

Change-Id: Id08dd74e299a2fc7a28df88c4417e94c06a19293
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: Fix the kernel provider 73/7173/3
Karthik Ramanan [Fri, 11 Nov 2016 14:28:20 +0000 (19:58 +0530)]
dra7xx-evm: Fix the kernel provider

Change-Id: I8f0c1188e268b938c51b1c1eb0272ce6a9f2951d
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: add cmem to enable radio functionality 75/7175/3
Karthik Ramanan [Fri, 11 Nov 2016 14:28:50 +0000 (19:58 +0530)]
dra7xx-evm: add cmem to enable radio functionality

Change-Id: I3c788409f2b8c40abf3ddba48deae999f4a30954
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: add platform specific GStreamer plugins 67/7167/3
Karthik Ramanan [Fri, 11 Nov 2016 08:22:46 +0000 (13:52 +0530)]
dra7xx-evm: add platform specific GStreamer plugins

This patch add the GStreamer plugins for hardware acclerated
multimedia and video post processing functionality.

Change-Id: I4ebed2e183f46f1d7cf1fb47ccec37dc64a026b6
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: platform specific additions for gst-bad 65/7165/3
Karthik Ramanan [Fri, 11 Nov 2016 08:20:02 +0000 (13:50 +0530)]
dra7xx-evm: platform specific additions for gst-bad

This patch introduces certain allocators and sinks that will
use the platform specific components and provide the base
functionality for the GStreamer accelerator plugins.

Change-Id: Iad16f61eefb8c71933efb9109652aed008939203
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: add support for multimedia acceleration 63/7163/3
Karthik Ramanan [Fri, 11 Nov 2016 08:12:19 +0000 (13:42 +0530)]
dra7xx-evm: add support for multimedia acceleration

TI Jacinto 6 has hardware multimedia acceleration capability.
This patch introduces the firmware and IPC components that
are needed to control the hardware accelerators.

Change-Id: I795c820f9bb87dd77ad227ce7c80f879dd935e54
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agoFix Weston crash on touchscreen input 77/7177/3
Dennis Field [Fri, 11 Nov 2016 16:10:04 +0000 (11:10 -0500)]
Fix Weston crash on touchscreen input

Check for touch->focus before using it, as some touchscreens will generate
out-of-screen coordinates and cause touch->focus to be NULL. (e.g. Raspberry Pi
display, some displays after weston-calibrator)

Bug-AGL: SPEC-309

Upstream-Status: Backport [https://cgit.freedesktop.org/wayland/weston/commit/src/input.c?id=2c40d1d30eabe46706822a8b5c94579aeba58e84]

Change-Id: I01b5cf7fd95275290544dffba2771619b1488dff
Signed-off-by: Dennis Field <dennisf@radiosound.com>
7 years agoAdd ota draft for ota image 79/7179/1
Jan-Simon Möller [Sat, 12 Nov 2016 09:54:46 +0000 (10:54 +0100)]
Add ota draft for ota image

Change-Id: I953bca77105e5470362baa97e4e5ae0061b4d2ae
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoweston: Set XDG_RUNTIME_DIR for fsl-arm 29/7129/4
Dennis Field [Wed, 9 Nov 2016 20:55:05 +0000 (15:55 -0500)]
weston: Set XDG_RUNTIME_DIR for fsl-arm

Without this environment variable, Weston fails to start on Wandboard

Bug-AGL: SPEC-318

Change-Id: I42696f45d9a9b78dfeea905d3c5066845056894e
Signed-off-by: Dennis Field <dennisf@radiosound.com>
7 years agometa-agl-bsp/meta-renesas: weston.ini for Reneses 47/7147/3
Leon Anavi [Thu, 10 Nov 2016 14:49:21 +0000 (16:49 +0200)]
meta-agl-bsp/meta-renesas: weston.ini for Reneses

Add weston.ini with preconfigured but commented
out screen resolutions in the output section.
Weston 1.9 with DRM backend on Renesas Porter
board is known to be picky about monitors and
screen resolutions. This way the developer can
quickly switch to another configuration if the
default fails on the current monitor. This patch
should be considered as a temporary work around
until there is a generic solution.

Bug-AGL: SPEC-298

Change-Id: I772945a083ef4cab240c49e03c5f0cf1172a6ab2
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
7 years agooic: Rebase on iotivity maintenance branch for aarch64 59/7159/2
Philippe Coval [Thu, 10 Nov 2016 18:04:18 +0000 (19:04 +0100)]
oic: Rebase on iotivity maintenance branch for aarch64

To pick:

    yocto: Add aarch64 for DragonBoard-410c
    Reviewed-on: https://gerrit.iotivity.org/gerrit/14185
    Forwarded, to meta-oic maintainer

Even if meta-oic is not a BSP,
 meta-agl-bsp  will include this recipe's fix
 everywhere meta-oic is used (ie: meta-agl-demo).

Bug-AGL: SPEC-158

Change-Id: Ic2cb1b7ff757118d1b535d91649c361831be5f60
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
7 years agodra7xx-evm: add support for graphics acceleration 37/7137/2
Karthik Ramanan [Thu, 10 Nov 2016 11:21:08 +0000 (16:51 +0530)]
dra7xx-evm: add support for graphics acceleration

TI Jacinto 6 has a 3D GPU that can used to accelerate the graphics
processing requests. This patch replaces the default graphics
drivers and user space libraries only for the dra7xx-evm MACHINE

Change-Id: I1a53594f0fa4dc8fabd16f9ce2c765dd32b9e142
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agoFTBS: himeno - remove from packagegroup until fixed 17/7117/2
Jan-Simon Möller [Wed, 9 Nov 2016 11:01:18 +0000 (12:01 +0100)]
FTBS: himeno - remove from packagegroup until fixed

Change-Id: I62ddb3b512862301f8ff94fcec3fa9d7bbd50a93
Bug-AGL: SPEC-316
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAllow .bb files in meta-agl-bsp/meta-layername 19/7119/1
Jan-Simon Möller [Wed, 9 Nov 2016 11:36:34 +0000 (12:36 +0100)]
Allow .bb files in meta-agl-bsp/meta-layername

This change allows hosting full recipes in the bsp adaptation layers
if needed.

Required by meta-ti until recipes are moved to meta-ti proper.

Change-Id: I91a050405f2be314c0eb988ba932dae88d4e624d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoallow dependency between agl feature 59/6959/5
Ronan [Tue, 1 Nov 2016 13:24:33 +0000 (14:24 +0100)]
allow dependency between agl feature

  * you can add included.inc file for each feature
  * if features is include into an other feature,
    they are print during the --help command

  #source meta-agl/scripts/aglsetup.sh -h
   ...
  Available features:
   [meta-agl]
       agl-all-features :( agl-demo  agl-appfw-smack  agl-devel  agl-netboot  agl-sota )
       agl-archiver
       agl-devel
       agl-isafw
       agl-netboot
   [meta-agl-devel]
       agl-renesas-kernel
   [meta-agl-extra]
       agl-appfw-smack
       agl-demo :( agl-appfw-smack agl-devel)

Change-Id: I4a72abd48f70a9262203acba84fac24d9dd4dce0
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
7 years agoFix packagegroup as hvacplugin was moved to meta-agl-demo 81/7081/1
Jan-Simon Möller [Tue, 8 Nov 2016 11:25:05 +0000 (12:25 +0100)]
Fix packagegroup as hvacplugin was moved to meta-agl-demo

This updates the packagegroup after changeset 6797
(git commit 81e54e7ff9f51b4c3f4d66e748e92959e28351fe)
which moves hvacplugin to meta-agl-demo.

Change-Id: I420bc101cde668713830347e07cca5ed0c41bdb3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd u-boot image class when sota feature is enabled 01/7001/1
Anton Gerasimov [Fri, 4 Nov 2016 11:08:46 +0000 (12:08 +0100)]
Add u-boot image class when sota feature is enabled

Change-Id: I7ad6fc95f4252424ded09bc1d6d5ab18bf6733fd
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agoGenerate OTA-enabled live image when building with agl-sota 73/6973/2
Anton Gerasimov [Wed, 2 Nov 2016 11:07:22 +0000 (12:07 +0100)]
Generate OTA-enabled live image when building with agl-sota

Bug-AGL: SPEC-307

Change-Id: I5ac3c3dad370545a33ce81071a4a15cdb261fa7a
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agoBugfix: conditional append instead of appending to override 91/6991/1
Anton Gerasimov [Wed, 2 Nov 2016 16:59:45 +0000 (17:59 +0100)]
Bugfix: conditional append instead of appending to override

Change-Id: I337876d9d5311618efd3e5a627724801de0acd6c
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agoAutoload uEnv.txt when agl-sota is enabled 79/6979/1
Anton Gerasimov [Wed, 2 Nov 2016 14:24:51 +0000 (15:24 +0100)]
Autoload uEnv.txt when agl-sota is enabled

Bug-AGL: SPEC-307

Change-Id: Ide9d4ba013c65cd8162d005006ffe59b0dacddcd
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agoMove RPi specific bbappends to meta-agl-bsp 55/6955/2
Anton Gerasimov [Mon, 31 Oct 2016 17:09:20 +0000 (18:09 +0100)]
Move RPi specific bbappends to meta-agl-bsp

Bug-AGL: SPEC-254

Change-Id: I1904b7e9ec09d5e9f5acc7a3d4671da9e2dccbb3
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>