summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-12-11Add VCAN=y to renesas kernel for demoJan-Simon Möller1-0/+1
This is needed for the CAN support. Change-Id: Ib29a98c554588468e7ed96041f7773e0ab020530 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2015-12-05Fix errors in setup scriptsJan-Simon Möller2-4/+4
- return is never negative in bash - add exit value 1 to copy_mm_software_lcb.sh Change-Id: I36f39927967709f23543426da95a66da68c86143 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2015-12-01Set count of legacy pseudo terminal to 8José Bollo1-0/+1
The default value (256) is very huge. Reducing this count makes administration easier. However, is it really needed to have this legacy? Change-Id: I72e39dde799bd0872ce2af03e1f71e6496e46109 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2015-11-26kernel: enable namespaces supportYannick Gicquel1-0/+8
As per section 7.3.1 of AGL spec v1.0, namespaces kernel are required to support containers: "AGL shall provide OS-level mechanisms for running multiple isolated instances (containers) that have its own directory structure, network devices, IP addresses and process table. The processes running in other containers shall not be visible from inside a container." This patch deliver: - Mount namespaces (natively supported), - PID namespaces, - Network namespace, - IPC namespaces, - UTS namespaces (disabled), - User namespaces. Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2015-11-20kernel: defconfig updatesYannick Gicquel1-0/+14
enable some kernel features: EXT4_FS, FANOTIFY: alignment on agl-spec section 7.4.1., POSIX_MQUEUE: standard efficient Posix ipc mechanism, TUN: useful for a VPN link establishment on V2I use-case, when distro is built with debug-tweaks: LOOP: for LTP testcase better coverage, Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2015-11-13r-car m2: preconfigure Porter/Koelsch sound mixerManuel Bachmann5-2/+174
Sound is inaudible when starting a Porter/Koelsch board, because default state of their sound mixer is muted. Add a "alsa-utils-config" recipe which will be commented out, but available in local.conf, to preconfigure their mixer. Sound volume will be approximately 25% of maximum. Change-Id: Iaf60f612f8e01e7aa51f8a0558de00f26d36aee8 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-11-12Removed QtWebkit (To reduce build time for development CES2016-demo)Tadao Tnikawa1-0/+3
Because we currently don't use QtWebkit for DEMO apps, QtWebkit has been removed from packages to be installed into agl-demo-platform to reduce build time. Change-Id: I8368041224fe420b2a9583c81aa3ab21466ac059 Signed-off-by: Tadao Tnikawa <tanikawa.tadao@jp.panasonic.com>
2015-11-06kernel: smack security backport from kernel 4Yannick GICQUEL58-0/+9839
Here is the backport of all patches relating to smack support on kernel side. For more details, see file: meta-rcar-gen2/recipes-kernel/linux/linux-renesas/smack/README Please note that patches are applied only if "smack" is in the ditro features. Here are the 2 lines to add in the local.conf OVERRIDES .= ":smack" DISTRO_FEATURES_append = " smack" Change-Id: I147a3532aec531f977d6ec34c576261835711f1e Signed-off-by: Yannick GICQUEL <yannick.gicquel@iot.bzh> Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2015-11-06weston: workaround to avoid segfault on hotplug eventYannick Gicquel2-0/+82
This is for CES demo hardening and may be reworked or removed for a product. Change-Id: I45d708e873cbe8ce7d454ebcae31f24d51055736 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh> Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-11-05Add kernel-modules to local.conf.sample .Yannick Gicquel1-0/+18
Change-Id: I4bd0478dd881bc557e2d64bb06693f4d011f9010 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2015-10-30kernel: activate kernel feature for systemdYannick Gicquel1-0/+5
IPv6 and autofs4 are required by systemd. Schedstats are required by systemd-bootchartd. (...) systemd[1]: Your kernel apparently lacks built-in autofs4 support. Might be a good idea to compile it in. We'll now try to work around this by loading the module... systemd[1]: could not find module by name='autofs4' systemd[1]: Failed to insert module 'autofs4' systemd[1]: Your kernel apparently lacks built-in ipv6 support. Might be a good idea to compile it in. We'll now try to work around this by loading the module... systemd[1]: could not find module by name='ipv6' systemd[1]: Failed to insert module 'ipv6' (...) Change-Id: Ieb53a0f6ae21f5787854d045fb7ca4c5c6e4d17f Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2015-10-30kernel: disable logo and framebuffer consoleYannick GICQUEL1-0/+4
Psplash already use the display during boot sequence. No need to display logo nor console. Change-Id: I487332a27e1870ba9bcb68ccb98a61f02a3eb862 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2015-10-27Add .gitreview template.Jan-Simon Möller1-0/+4
Change-Id: Iab131e1d4784b3c08b593f6119d3c68d7f441116 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2015-10-26Merge "r-car m2: support Bluetooth hardware" into agl-1.0-bsp-1.8.0Walt Miner2-0/+30
2015-10-22r-car m2: support Bluetooth hardwareManuel Bachmann2-0/+30
In order to have Bluetooth hardware detection, and to make BlueZ commands (such as "hciconfig", "hcitool"...) work, we need to enable kernel functionalities. Some of them are designed to be run as modules. We also make sure that all images include them, since it does not depend on a specific board's hardware. PS : we will only build them if "bluetooth" has been specified in DISTRO_FEATURES, hence saving time. Change-Id: I14e1bdd7e4e63a7484bb1516dda601e3c03fd58f Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-10-21r-car m2: support recent USB touchscreensYannick GICQUEL1-0/+3
We need HID_MULTITOUCH for modern external USB touchscreens on Silk/Koelsch/Porter boards. Change-Id: Ie0aea64ca7d0dd79a25da17b861502c1b70235df Author: Yannick GICQUEL <yannick.gicquel@iot.bzh> Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-10-15[AGL] Merge genivi-7.0-bsp-1.8.0 into agl-1.0-bsp-1.8.0Tadao Tanikawa3-29/+6
* agl/genivi-7.0-bsp-1.8.0: r-car e2 (alt/silk): mesa: Temporary workaround to upstream Mesa build issue multimedia: Remove unnecessary do_install_append from omx-user-module multimedia: gstreamer1.0-* fix configure for out of tree build on git recipes r-car m2: set PREFERRED_VERSION_gstreamer1.0-omx* to 1.0.% when h/w acceleration enabled multimedia: add RPROVIDES for multimedia kernel modules Configure linux-renesas to build uinput Conflicts: meta-rcar-gen2/recipes-multimedia/omx-module/omx-user-module.bb Change-Id: Id8bf7749e75fa2cf5e418b81a33659285e46532c Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-10-14r-car e2 (alt/silk): mesa: Temporary workaround to upstream Mesa build issueStephen Lawrence1-3/+3
This commit generalises an earlier workaround for the Alt board to all R-Car E2 based boards. Temporarily disable Cortex A7 optimisation to avoid upstream build issue between YP 1.7 gcc toolchain and Mesa 10.1,x releases. The build goes away and never returns. Graphics acceleration makes no use of Mesa so there should be no performance impact. This should be removed once upstream is fixed.
2015-10-12multimedia: Remove unnecessary do_install_append from omx-user-moduleStephen Lawrence1-27/+1
Remove do_install_append that did processing for Porter/Silk that is no longer required with the current deliverables.
2015-10-12multimedia: gstreamer1.0-* fix configure for out of tree build on git recipesStephen Lawrence5-15/+20
Integrate upstream Poky meta fix 6ede9224f82a [1] to the Poky Gst .bb recipes into the R-Car .bbappends.This fixes a do_config build error when building with multimedia acceleration enabled. Thank you to Tadao Tanikawa and his work on this within AGL: https://gerrit.automotivelinux.org/gerrit/#/c/4061/1 [1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-multimedia/gstreamer?h=dizzy&id=6ede9224f82a37dc1cfb48837c40d28996892652
2015-10-12r-car m2: set PREFERRED_VERSION_gstreamer1.0-omx* to 1.0.% when h/w ↵Stephen Lawrence1-0/+1
acceleration enabled The R-Car M2 multimedia acceleration provides acceleration support for GStreamer 1.2.3 and OMX 1.0, so set the preferred version to 1.0.% when acceleration is enabled. Required for meta-ivi which supports both Gst 1.2.3/OMX 1.0 and 1.4.x/1.2 but defaults to 1.4.x/1.2. Thank you to Tadao Tanikawa and his work on this within AGL: https://gerrit.automotivelinux.org/gerrit/#/c/4061/1
2015-10-12multimedia: add RPROVIDES for multimedia kernel modulesStephen Lawrence6-6/+18
Add the multimedia acceleration kernel modules to the RPROVIDES variable of the appropriate recipes. This fixes build errors of the following form at do_roofs time when RPM packaging is used: error: Can't install <foo>@MACHINE: no package provides <bar> Thank you to Tadao Tanikawa for his work on this within AGL [1] [1] https://gerrit.automotivelinux.org/gerrit/#/c/4061/1
2015-10-06Add shell script for copying gfx drivers & multimedia packagesTadao Tanikawa1-0/+56
This copying script is used from meta-agl/scripts/envsetup.sh when integrate AGL Distribution with repo. This script copy gfx drivers & multimedia packages for R-Car2 M2 Porter board. IMPORTANT NOTE: Before running this scripts, proprietary binaries should be downloaded manually, because they require click-though license agreement to download and use them. There are 2 tarballs to be downloaded and stored into your $XDG_DOWNLOAD_DIR (e.g. $HOME/Downloads) You can check where your XDG_DOWNLOAD_DIR is by this command: $ test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs $ echo ${XDG_DOWNLOAD_DIR:-$HOME/Downloads} Ideally, they should be able to download automatically by recipes in meta-renesas, but we cannot use this way for now. Change-Id: I50831855e95b81f4f702f52ce78b79b4b5c837e6 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-10-01Merge pull request #1 from jonathanmaw/jonathanmaw/add-uinputStephen Lawrence1-0/+3
Configure linux-renesas to enable INPUT_UINPUT
2015-09-30r-car m2: update BBLAYERS with regards to Qt5 updateManuel Bachmann1-0/+2
The meta-rcar-gen2 layer pulls meta-agl-demo as a BBLAYER ; it has recently been updated to contain Qt5 .bbappends. In order to avoid errors due to missing base recipes, add "meta-qt5" and "meta-openembedded/meta-ruby" layers to the default layers. This allows building agl-demo-platform out-of-the-box. Change-Id: I655b7aa117d425a898ba7eb8303f648bf79efce6 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-09-29Configure linux-renesas to build uinputJonathan Maw1-0/+3
The uinput module is useful for automated testing as it allows user-space programmes to create and use virtual input devices. An alternative way of doing this might be to add configuration using the way recommended by http://www.yoctoproject.org/docs/1.7.2/kernel-dev/kernel-dev.html#changing-the-configuration, but I was unable to get that working. Signed-off-by: Jonathan Maw <jonathan.maw@codethink.co.uk>
2015-09-29silk: kernel: disable interlace modeYannick GICQUEL2-0/+27
This change default configuration of rcar-du driver to avoid flickering on HDMI plug. This may be related to misalignment between ADV7511 and the SoC (tbc). This issue was observed on two different screen models. Change-Id: I1509e046fd7d46f6b74ea0bd96d5d41116d2f89a Signed-off-by: Yannick GICQUEL <yannick.gicquel@iot.bzh>
2015-09-29porter: kernel: disable interlace modeYannick GICQUEL2-0/+27
This change default configuration of rcar-du driver to avoid flickering on HDMI plug. This may be related to misalignment between ADV7511 and the SoC (tbc). This issue was observed on two different screen models. Change-Id: I161b9d659c14de7fa5b0ce4b55fb5cf968c11e3f Signed-off-by: Yannick GICQUEL <yannick.gicquel@iot.bzh>
2015-08-31[AGL] Update template of configs to enable multimedia accelerationTadao Tanikawa3-30/+149
To eanble H/W acceleration of multimedia at agl-demo-platform running on porter board, template of configurations are updated. For more detail and how to use this template configurations, see README.md in meta-agl-demo. Change-Id: I6ab0ec936ea4572a2ccfd8d7b18141bcbca16ea8 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-08-31[AGL] Workaround to upstream meta-renesas build issueTadao Tanikawa13-38/+56
When building meta-renesas with enabling multimedia binary packages provided by Renesas, there are some build issue. This should be removed once upstream is fixed. Change-Id: Ia83cc3fa0b02ebfc660e1e2dd50f1a5c8e1fddc9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-08-31[AGL] Merge branch 'genivi-7.0-bsp-1.8.0' into agl-1.0-bsp-1.8.0Tadao Tanikawa6-4/+200
Change-Id: Ib6f42400e99ec1a95cdf139d31fb18ea1ba3314e Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-08-20alt: mesa: Temporary workaround to upstream Mesa build issueStephen Lawrence1-0/+4
Temporarily disable Cortex A7 optimisation to avoid upstream build issue between YP 1.7 gcc toolchain and Mesa 10.1,x releases. The build goes away and never returns. Graphics acceleration makes no use of Mesa so there should be no performance impact. This should be removed once upstream is fixed.
2015-08-20readme/maintainers: Change maintainer of non-Genivi layersStephen Lawrence2-4/+4
Takeshi Saito is now the maintainer of the non-Genivi layers
2015-08-19[AGL] Update template of BBLAYERS configuration for meta-ivi-commonTadao Tanikawa1-0/+1
To correspond with adding meta-ivi-common, template of BBLAYERS configuration for meta-agl is updated. Change-Id: I991bfd1de3618927f6bd9151924a9109ac29c451 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-08-08[AGL] meta-agl's agl-image-ivi running on porter now0.2015.33Tadao Tanikawa2-0/+304
For more detail, see README.md in meta-agl. Change-Id: Ie0807e58fdae903593a8cd6071ecc9408feb5d61 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-07-27porter, silk: Add copy scripts for gfx and multimedia accelerationStephen Lawrence3-0/+192
Add the copy scripts that locate the graphics and multimedia acceleration files in the "click through" license downloads and copies them into the correct location in the R-Car Yocto BSP layers
2015-06-19r-car m2: set PREFERRED_VERSION_gstreamer1.0* to 1.2.% when h/w acceleration ↵Stephen Lawrence2-8/+9
enabled The R-Car M2 multimedia acceleration provides acceleration support for GStreamer 1.2.3, so set the preferred version to 1.2.%. Required for meta-ivi which supports both 1.2.3 and 1.4.x but defaults to 1.4.x. Both M2 Koelsch and M2 Porter boards are supported, so generalise the previous Kolesch only setting to all M2 boards. Also make the setting dependent on h/w acceleration being enabled, else use 1.4.x. This solves a build issue when the s/w rendered 1.2.x was built when h/w acceleration was not enabled.
2015-04-08porter: kernel: migrate porter board audio from platform data to DTSStephen Lawrence8-0/+440
Kernel BSP v1.9.0 contained a backported ASoC and dma descriptor mode driver for AUDIO-DMAC from the upstream kernel. This patch series migrates the R-Car M2 Porter board audio from platform data to DTS to make use of this driver and restore audio on the board.
2015-03-25readme/maintainers: Add Genivi informationStephen Lawrence3-2/+14
Add some initial basic information for people using the BSP with Genivi Platforms such as the Genivi Demo Platform.
2015-03-25koelsch: set PREFERRED_VERSION_gstreamer1.0 to 1.2.%Stephen Lawrence1-0/+8
The Koelsch multimedia acceleration provides acceleration support for GStreamer 1.2.3. So set the preferred version to 1.2.%. Required for meta-ivi which supports both 1.2.3 and 1.4.x but defaults to 1.4.x.
2015-03-25gles-user-module: Add RDEPENDS for gles-kernel-moduleStephen Lawrence1-0/+2
The GLES user module has a runtime dependency on the GLES kernel module. Make that clear by adding an RDEPENDS for it.
2015-03-25gles-kernel-module: Add RPROVIDES for kernel-module-pvrsrvkm ↵Stephen Lawrence1-0/+1
kernel-module-dc-linuxfb The package provides modules that are not found when do_rootfs installs dependent packages for certain package configurations. Add them to the RPROVIDES so they are found. Fixes do_rootfs build errors of the form: error: Can't install <foo>0@koelsch: no package provides <bar>
2015-03-25libegl: Add RPROVIDES for libegl.soStephen Lawrence1-0/+1
libegl-dev provides libegl.so but this is not found when do_rootfs installs dependent packages for certain package configurations. Add RPROVIDES so it is found. Fixes do_rootfs build errors of the form: error: Can't install gles-user-module-1.0-r0@koelsch: no package provides libEGL.so
2015-03-25mesa: Add patch for compiling mesa when drm platform is not set.Florin Sarbu2-0/+64
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2015-03-25kernel: Set PREFERRED_VERSION as 3.10%Stephen Lawrence1-0/+3
From Intrepid the Genivi Yocto Baseline maintainers set 3.14 as the default kernel version for the QEMU machines they support. So we now override that to avoid a long list of build messages stating it is switching from 3.14 to 3.10.
2015-03-25linux.inc: Enable support for CGROUPS Enable FHANDLE for serial consoleFlorin Sarbu1-0/+13
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2015-03-25rcar-gen2 machines: Remove linaro toolchain related PREFERRED variablesStephen Lawrence1-8/+0
For Yocto Project 1.7 and Genivi 7.0 we have adopted the Yocto Project gcc toolchain. Removed the PREFERRED variables related to the linaro toolchain
2015-03-25YP 1.7: For YP 1.7 we have adopted the YP gcc toolchain. Remove linaro bbappendStephen Lawrence1-1/+0
For Yocto project 1.7 and Genivi 7.0 we have adopted the YP gcc toolchain, therefore remove the linaro toolchain bbappend.
2015-03-25eglibc: YP 1.7 has switched to glibc. Remove eglic bbappendStephen Lawrence1-1/+0
Yocto project 1.7 switched from eglibc to glibc, therefore remove the eglibc bbappend.
2015-03-25mesa: Rename mesa bbappend to use wildcard for minor versionStephen Lawrence1-0/+0
Changed as part of update to YP 1.7