Age | Commit message (Collapse) | Author | Files | Lines |
|
To keep core-image-minimal clean of the 3rdparty components, we
need to add the requirements where they are needed and not
globally in the local.conf.sample - fix this.
Change-Id: I202fd35a5d081f0634a4b22a7f7ad55a80a34260
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Some popular software, including Chromium/QtWebEngine, look
for a library named "libGLESv2.so.2" on the filesystem to
initialize their OpenGL ES backend :
https://github.com/qtproject/qtwebengine/blob/dev/src/core/
surface_factory_qt.cpp#L83
but the proprietary userspace driver is named "libGLESv2.so"
instead. Let us create a symbolic link which will satisfy
this requirement (we do not rename the binary and make
"libGLESv2.so" a symbolic link, because this would trigger
a Yocto QA warning and prevent building).
Change-Id: Iea901694e90cfd4a786087507cfc77302c9d3b8a
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
Author: Yannick Gicquel <yannick.gicquel@iot.bzh>
Author: Manuel Bachmann <mbc@iot.bzh>
|
|
As we are now based upon Yocto 2.0, we can directly build
the upstream lightmediascanner recipe; but it happens to
live inside "meta-openembedded/meta-efl".
Change-Id: I59823018d5982f8989aa82d069669b272c1ef645
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
|
|
The previous workaround will not not be necessary anymore
to run Weston 1.8.0 on Porter, once we update the Renesas-
specific libegl.
This reverts commit d76a274af819a7cff4ef5c70de459de7bc68755a.
This updates libegl.
Change-Id: Ie8bedd0c6a47d05e9c5ec86ec63f035ac61dbb84
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
|
|
Weston 1.8.0 uses a new method of detection for client
EGL extensions, which is incompatible with the driver
provided by meta-renesas. We revert back to the old
behavior as it is not strictly necessary for rendering.
This allows Weston 1.8.0 to start in DRM mode on
Porter/Koelsch with latest AGL base.
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
Change-Id: I0658b3beff96c7f173dbb4f85e8f18d3fce768c1
|
|
This reverts commit 64ba09ca3f79f4ebe52116af8de98d0bfbe70b49.
After cleaning up sstate cache, it appears a regression while
building the fdpm-kernel-module. In fact, multimedia binary set
provides some modules with hardcoded references to KERNELSRC
or KERNELDIR variable in there Makefile. For now, it is more
reliable to keep the old behavior to avoid regression.
Change-Id: I052f44cc5a9315e08efb5402bca34c87c67e0d2e
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
|
|
these were backported from upstream meta-renesas:
http://git.yoctoproject.org/git/meta-renesas
please refer to 6427ea7388...d556a1491d
Change-Id: I75047f07037f7412f27730d5143aa02935930b8e
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
|
|
media-ctl recipe existed in meta-openembedded 1.7 (dizzy)
but disappeared in 2.0 (jethro) ; this breaks the build
as a .bbappend cannot exist without a corresponding .bb,
and is needed to build the target anyway.
Host the recipe ourselves so that the build works in all
cases.
Chande-Id: Id97c3f9a2d5e101524018122aef45ec8782830ea
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
|
|
Since 46cdaf1c7b in poky (v1.8), kernel source and build artefact
are in two separated directories.
This patch prepares to use STAGING_KERNEL_BUILDDIR as it is used
in KBUILD_OUTPUT from modules-base.bbclass
It also set this variable to keep same state as before for poky < 1.8
Change-Id: I958c7ed44b4a3148e83c628f94908e4ee9357bdf
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
|
|
Since 46cdaf1c7b in poky (v1.8), kernel source and build artefact
are in two separated directories.
This patch prepares to use STAGING_KERNEL_BUILDDIR as it is used
in KBUILD_OUTPUT from modules-base.bbclass
It also set this variable to keep same state as before for poky < 1.8
Change-Id: Ie27593407a85d88da28b8a91c3ea69378bb91a63
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
|
|
backport compiler-gcc5.h header from kernel upstream.
Change-Id: I89b5e1e3b2f72e5a8eb84d2062a6957744dfe049
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
|
|
Change-Id: I88cbad396f0757246e83bbebfe0b4ff2841a51b6
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
|
|
Since yocto 1.8, kernel build method enhanced to avoid source
tree duplication. This patch align paths to handle ${S} and
${B} accordingly. This patch is required to build linux-renesas
on yocto > 1.7.
Please refer to commit 1dd37a2a in poky for more details.
Change-Id: I29de3e72f6e4617e0ef2685b87dd6fbca296328a
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
|
|
This patch fixup the build support for both yocto 1.7 and 2.0.
Initial patch needs to be applied only on yocto 1.7 (mesa 10.1.3)
as it is integrated upstream since mesa 10.3.
Second patch is only required for yocto 2.0 recipe (mesa 10.6.3).
Change-Id: I75940b3149f1c18b23dbf32fd2c4bafd1d6b241c
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
|
|
This is a backport of the following kernel patch :
https://git.kernel.org/cgit/linux/kernel/git/torvalds/
linux.git/commit/?id=8edc6e1
and fixes the following issue :
https://jira.automotivelinux.org/browse/SPEC-89
(it fixes the reliability of using the "fa_notify"
kernel API for filesystem notifications)
Commit-Id: I968a52e72dc816a9f93640392b19ba2463216fe1
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
|
|
The libdrm_2.4.45 recipe is not relevant anymore.
Patches integrated in the forked version are now integrated
upstream (since release 2.4.47).
This recipe is not needed when the layer is used in poky >= 1.7
as it embed libdrm_2.5.54, and is already removed from upstream
repo. Please refer to ce65bca52 in:
http://git.yoctoproject.org/git/meta-renesas
Change-Id: I82c849a58d38be5fb00ebafcaf718834e688d085
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
|
|
Manually copying files to STAGING_INCDIR creates issues
when rebuilding from same sstate cache but clean build
directory; bitbake then detects duplicate files.
Copying omx-user-module's headers to SYSROOT_DESTDIR is
necessary in the same configuration, because then
"/usr/local/include" will have disappeared, and
gstreamer1.0-omx will complain about missing headers.
Change-Id: If20ff436c04b55da7508a851a6738ddcc78c8c9f
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
Author: Manuel Bachmann <mbc@iot.bzh>
Author: Stephane Desneux <sdx@iot.bzh>
|
|
This is needed for demo.
Change-Id: I0c2fdef1be10fd396e66336ca4f1ff5a71f94a8c
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
This patch add the porter specifics in a bbappend file.
(Moved from meta-agl.)
Change-Id: Id6d2d0b1cdcdf3dbc74309322544e0488a6a003c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
This commit adds the variable MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS with a
list of kernel modules to the porter.conf file. It is needed to have the
*.ko files of the MOST driver deployed to the rootfs of the target image.
Change-Id: I908a1e545c449c9e6fa56f49659162eecbf1846f
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
|
|
Update libgbm SRCREV from 39cad6b7f2 to d5a58c6899 to fix an arugment of kms_bo_unmap().
Change-Id: Ieedc6f15512d9c4369fa297aaa0dc945291eeb14
Signed-off-by: Yoshihito Ogawa <yoshihito.ogawa.kc@renesas.com>
|
|
Because gfx drivers and multimedia packages were updated, we need to update a copying script.
This script is used for copying gfx drivers & multimedia packages for R-Car2 M2 Porter board.
Change-Id: Icc5a3e232df8b9e1b867450ff56479b2bb9c3f30
Signed-off-by: Yoshihito Ogawa <yoshihito.ogawa.kc@renesas.com>
|
|
This is needed for the CAN support.
Change-Id: Ib29a98c554588468e7ed96041f7773e0ab020530
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
- 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I4bd0478dd881bc557e2d64bb06693f4d011f9010
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
|
|
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>
|
|
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>
|
|
Change-Id: Iab131e1d4784b3c08b593f6119d3c68d7f441116
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
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>
|
|
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>
|
|
* 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>
|
|
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.
|
|
Remove do_install_append that did processing for Porter/Silk that
is no longer required with the current deliverables.
|
|
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
|
|
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
|
|
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
|
|
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>
|
|
Configure linux-renesas to enable INPUT_UINPUT
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|