aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-02-07[Community] Fix gstreamer recipes version for yocto zeussandbox/ronan/zeus_RCAR_BSP_3.21Ronan Le Martret3-0/+0
Change-Id: Icc8ec5652521a777efdf5764198ba1dff1698b46 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2020-02-07[Community] Add optee packages recipesAymeric Aillet5-0/+215
Allow us to use the xtest suite and examples in order to test the functionning of optee. More information on the optee official website. Add a user-app example. Allow us to build a custom app working in both optee side. Fix optee examples recipe. Allow us to to access functions from examples TA's from other apps. BUG-AGL: SPEC-3030 Change-Id: I28f2c117dfa7a66ef2ebc0ede2ec32d7b218b549 Signed-off-by: Aymeric Aillet <aymeric.aillet@iot.bzh>
2020-02-07[Community] Optee_os recipe modificationAymeric Aillet1-2/+7
In order to build trusted applications from the official optee sources we need files that weren't built with the current version of the recipe. This modification allow us to build trusted applications in the AGL environment. BUG-AGL: SPEC-2848 Change-Id: Ic34121428abbaf316656519f71d876abfc1f95d5 Signed-off-by: Aymeric Aillet <aymeric.aillet@iot.bzh>
2020-02-07[AGL] Add weston 6.0.0 for WM and HS rewriteJan-Simon Möller1-0/+2
As requested for the WM and HS rewrite. Tested on m3, minnow, qemux86-64, rpi3. (cherry picked from commit 59104015c1fe64c7971b66d3c3f68e9b66524705) Multiple commits to be applied at once. Bug-AGL: SPEC-2444 Change-Id: I5746595e769e49a3e7f335c3ee67353b8a8f1689 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-02-07[AGL] docs: add new book.yml description fileSebastien Douheret1-0/+18
Change-Id: I590c0b3d46b11543b4fec9c81d5b770674a05a44 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2020-02-07[COMMUNITY] Fix SSI DMAC inaccessible via Xtensa HiFi2 ADSP firmwareMark Farrugia2-0/+41
The upgrade of the kernel to 4.14.35 has changed the SSI interface in the RCar SoC sound driver, making it that the Xtensa HiFi2 ADSP firmware can no longer directly access the SSI DMA controller in order to route audio directly out to hardware. This seems to fix this issue, allowing the Fiberdyne DSP to fully operate again on 4.14.35 kernels. Change-Id: Id89843b0a8a65f07964027639dde68791261cab6 Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2020-02-07[AGL] Add driver control checksumRonan Le Martret6-0/+46
* As the driver files come from out of git repository, we need to check driver file integrity. Change-Id: I46f2a281f8da1ae606e8ae1ee55324fd5fd9b772 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2020-01-28[AGL] add .gitreviewStephane Desneux1-0/+5
Change-Id: Ic561435cb07317bd6885b18a8c14b7f30a56f547 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2020-01-21rcar-gen3: README: Fix a typo in readme fileKhang Nguyen1-2/+2
This commit fixes a typo in readme file. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I8a51cca636a110cb4d96b1a3e09973339301ea75
2019-12-24rcar-gen3: README: Update release informationKhang Nguyen1-15/+7
This commit updates the following information: - Branch and Commit ID of poky, meta-openembeded. - Remove information of meta-linaro dependency. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Idaf1dd51999450a12bb0c6184b1a4f2b050012f1
2019-12-24rcar-gen3: systemd: Add safe transition to non-owned itemDuy Dang3-1/+20
Since safe transition check feature breaks the rootfs created by different users, this allows /var/volatile to be mounted as a non-owned directory (uid=65534) and defines the transition from a normal file/directory to non-owned one as a safe transition. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I5ed4bfb7e5bd7cc08fa45cde4b849184e3ecb335
2019-12-24rcar-gen3: image: WORKAROUND for systemd boot issueKhang Nguyen1-0/+4
Since systemd upgrades to v243, the system could not boot to login prompt when using multi-user.target for default. This applies a WORKAROUND by using graphical.target instead. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ia243c7bcb3970d91576147859c30f1d013c87035
2019-12-24rcar-gen3: gstreamer/avb-application: Use gitsm fetcherKhang Nguyen6-61/+5
The code repositories of Gstreamer and avb-application contain git submodule, this updates recipes to use gitsm fetcher instead of git which needs an additional function to handle git submodule. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Iee69ef8bd312519b9a2d4471340089df244cd0eb
2019-12-24rcar-gen3: libgbm: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit modifies libgbm SRCREV for the following update: - Add support for the linear drm modifier. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ied6ae5af8e1e36dc03fac552e8f904423b4bc086
2019-12-24rcar-gen3: weston: Remove weston-conf recipeDuy Dang5-36/+38
Since upstream removes weston-conf recipe and move its content to weston-init instead, this also does the same for Renesas specific configurations. This commit also disables intel config of simple-dmabuf-drm option when running meson config of Weston 7.0 to avoid build error. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ifba1b3f99cbf1e9cfff5557bf52a9424ad3e2bf7
2019-12-24rcar-gen3: linux-renesas: Fix Perf build failure with 4.14 kernelKhang Nguyen4-0/+1844
OE-Core started using Python3 for perf module. But older kernel such as 4.14 does not have support for python3. This causes build failure as follows: | Makefile.config:391: DWARF support is off, BPF prologue is disabled | Makefile.config:588: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev | Makefile.config:626: Python 3 is not yet supported; please set | Makefile.config:627: PYTHON and/or PYTHON_CONFIG appropriately. | Makefile.config:628: If you also have Python 2 installed, then | Makefile.config:629: try something like: Backported python3 support, as a suggestion here: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/perf?id=92469aad50b623afa423c19d82ed2e3c667c5e6a This fix was backported from: https://lists.yoctoproject.org/pipermail/meta-intel/2019-September/006191.html Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ieaad61fb9bd4888e6226c8e00d4807f738cc0b55
2019-12-24rcar-gen3: linux-renesas: Generate defconfig automaticallyDuy Dang2-6424/+4
KCONFIG_MODE helps to select defconfig and generate it automatically, there is no need to have an external defconfig file. Change-Id: Ibedbaa95476d8b2bbd7c5950ae95d21bb617068e Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-12-24rcar-gen3: linux-renesas: Update Linux BSP to v3.9.7Khang Nguyen2-6/+6
This commit updates Linux BSP to v3.9.7 for the following change: [SD/MMC driver] - Add HS400 support. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I28dd976deec8938a4cfdaa7bd461e3247d34db74
2019-12-24rcar-gen3: conf: Update sample configurationsKhang Nguyen21-189/+483
This commit does the following changes: - Re-create sample configurations based on YP3.0 official release. - Update BBMASK variable for dropping meta-linaro. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ib806fdf694e709053a555c26b06a28b9f7825072
2019-12-24rcar-gen3: bblayers: Remove dependency on meta-opteeDuy Dang15-15/+15
optee-os depends on python-pycrypto 2.6.1 which was provided in meta-linaro/meta-optee. This recipe is also in meta-openembedded/ meta-python with the same version and more security fix. This changes to use python-pycrypto in meta-python to reduce dependency repo. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ibb49d86bf84ee0a353ecd122e8709fb46f6fd54c
2019-12-24rcar-gen3: conf: Update LAYERSERIES_COMPATKhang Nguyen1-1/+1
This updates LAYERSERIES_COMPAT to zeus. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I10cadfed3dbeff59416ec1be28028c06aa1ae832
2019-09-24rcar-gen3: glmark2: Use .inc for R-Car specific recipeDuy Dang2-2/+5
The variable flags in this bbappend file do not support overrides. So it can be separated to other inc file and conditionally required in bbapend file. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Idf4b82063debb306cab751f6d492b708d3ad0d8f
2019-09-24rcar-gen3: images: Add condition to require directiveKhang Nguyen2-3/+3
This commit adds the condition to require directive to only modify the based image recipes when building for R-Car platform, it avoids breaking the build on another platform that refers to this layer. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Icad09e223d5b8fc0358e59d1482d41f75d473822
2019-09-24rcar-gen3: Add COMPATIBLE_MACHINEKhang Nguyen20-0/+32
This adds COMPATIBLE_MACHINE to R-Car specific recipes to avoid error when run "bitbake world" for non-R-Car platforms. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ide29f6272d7c483eeda69a58f61710b2e8a42d6d
2019-09-24rcar-gen3: Append _rcar-gen3 to variables and tasksKhang Nguyen8-14/+14
For bbappend files, it should be appended the _rcar-gen3 to variables and function to avoid changing sstate signature when build with non R-Car platforms but including meta-rcar-gen3 to BBLAYERS. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I179d8595422ea7eeb1568adc63d1e64e1fb057a6
2019-09-24rcar-gen3: README: Update release informationKhang Nguyen3-138/+379
This commit updates information for Community Yocto BSP v3.21.0 on Yocto Project 2.8 (Zeus). Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I47a17c40a89cca82c8356e82a9f4a3f7f88323b3
2019-09-24Revert "rcar-gen3: systemd: Do not save file descriptors when restarting Weston"Thuy Tran1-10/+0
This issue have not occurred since systemd version 239. This reverts commit 8b9882947cf6e9508eacdf543bd88a07d88f6598. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: If9d2cc31cf6dbdfd9a5837ab6017845cde73514d
2019-09-24Revert "rcar-gen3: alsa-lib: Fix S2RAM issue"Khang Nguyen2-422/+0
In YP2.8, alsa-lib has been upgraded to v1.1.9, the fix patch is applied to the source code. This reverts commit 664444a6907f73427c4bb9a67aa9df9951665977. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ia7e47f38c1b7e23b90d52c4f6227e968b3c7307c
2019-09-24rcar-gen3: conf: Update sample configurations according to upstreamKhang Nguyen21-236/+536
This commit updates sample build configurations according to the template from Yocto Project Zeus. It also does the following changes: - Removed a deprecated fix in GFX configurations (from commit f5b7f9a6142a2f60c78fa54e7e368164ec583282). - Updated PREFERRED_PROVIDER of libgbm according to recipe update. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Iabae1daae7f5afd632b61f20b38656ddbff36d4f
2019-09-24rcar-gen3: conf: Remove Linaro-gcc build configuration samplesKhang Nguyen37-6717/+0
The Linaro-gcc build configuration samples are no longer used, this removes them to avoid confusion. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I53940fc4c33ae048b9750d8818b8357048fadabb
2019-09-24rcar-gen3: nativesdk-packagegroup-sdk-host: Add perl modulesThuy Tran1-0/+1
This commit adds perl modules in navtive SDK sysroot. (cherry picked from commit 30adcb8f6826284554b2b3bfd2c9deb4f64fbbf1) Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I3717bdc067df3ef3adc808e90031deedc0a34785
2019-09-24rcar-gen3: perf: Do not ship perl modules into native SDK sysrootThuy Tran1-2/+0
Since thud branch, they have added the needed perl modules for SDK. (From Poky rev: 09a2975e725d04d4984730642f944e61fba14030) Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I15cc7e955339fcb84e7c83b5678a3235d0667751
2019-09-24rcar-gen3: gstreamer: Upgrade Gstreamer to 1.16.0Khang Nguyen4-12/+23
Gstreamer has been upgraded to 1.16.0 since YP3.0(Zeus). This commit upgrades Renesas R-Car Gstreamer recipes to follow upstream version. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Iae63f5b924cf9f4d04f331166b5d365300888648
2019-09-24rcar-gen3: xserver-xorg: Downgrade to use 1.19.6 versionKhang Nguyen10-0/+503
In YP2.8, xserver-xorg was upgraded to 1.20.4. This breaks xserver-xorg congigures: | configure: error: Package requirements (libdrm >= 2.4.89) were not met: | Requested 'libdrm >= 2.4.89' but version of libdrm is 2.4.85 However, Renesas BSP uses libdrm version is 2.4.85. Therefore, let downgrade this version to use 1.19.6. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I2fbf888cf9acb88943d676506e95f63ad8ac4a50
2019-09-24rcar-gen3: kernel-module-vspm: Set UDS horizontal scaling phase to autoKhang Nguyen2-0/+45
This commit applies a patch to use the register default settings for the scaling phase instead of manually calculating them. It fixes incorrect output when upscaling with the vsp2/vspm driver. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I737651f0759211082cc5381fa2328eea8553ea7b
2019-09-24rcar-gen3: vsp2driver: Add a patch to handle data_offset settingThuy Tran2-0/+31
Vsp2 driver doesn't need to set offset of dmabuf for UV plane. However, in case of overlay plane by weston5.0, v4l2src (VIN) takes care of plane offset of dmabuf via mmngr, then vspfilter and vsp2drv also need to care it. Cherry-pick from 9e04640780d516dc65b489f1f039d98b13460ac8 Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ida863471114e2e4b1f0b3544e69895396305af09
2019-09-24rcar-gen3: mmngrbuf: Add to support HW overlay modeKhang Nguyen2-0/+40
This commit adds a patch to confirm omxh264dec(mmngr) dmabuff passing in HW overlay mode. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: If463c657a449f5f746a43532034e9d475aaaaec7
2019-09-24rcar-gen3: cairo: Add dependence on gles-user-moduleKhang Nguyen1-0/+3
This commit sets Cairo depends on gles-user-module to fix missing header issue. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ib8773fccd2fbe883d2015e92964f3ceec915b1f9
2019-09-24rcar-gen3: mesa: Remove corresponding libwayland-egl entriesThuy Tran1-10/+1
In YP2.7, wayland was upgraded to 1.17.0. From Wayland official announcement: https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html | libwayland-egl is now part of libwayland, and will presumably be removed | from mesa in the not too distant future. This commit updates mesa recipe to remove libwayland-egl entries. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Id3daa83cd477999805e7e1086ebf4ad573bf0cab
2019-09-24rcar-gen3: mesa: Update recipe to use meson build systemKhang Nguyen1-2/+2
This updates recipe to use meson build system. It uses the default setting for platform: -Dplatforms='wayland,x11,surfaceless' Due to the Virgl requirement issue when setting -Dplatforms='wayland' | Host machine cpu family: aarch64 | Host machine cpu: aarch64 | Target machine cpu family: aarch64 | Target machine cpu: aarch64 | Build machine cpu family: x86_64 | Build machine cpu: x86_64 | | meson.build:335:4: ERROR: Problem encountered: Virgl requires drm or surfaceless platform when using EGL Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I49f8a9eac6a16afe9918732d8236ae80341d33f8
2019-09-24rcar-gen3: gles-user-module: Fix rc.pvr systemd serviceThuy Tran1-0/+2
This commit from AGL rev [1] makes clear weston/gfx service dependency that the rc.pvr service should depend on weston service not the opposite. [1] From AGL rev: 2281ecfcc65a69c3e1a24fd88230b9ec78865270 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ie64b7c2128a9c0146a85922528e7114aac7c9ad5
2019-09-24rcar-gen3: gles-user-module: Drop mesa dependencyThuy Tran1-3/+0
From Wayland 1.15.0 official announcement: https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html | libwayland-egl is now part of libwayland, and will presumably be | removed from mesa in the not too distant future. Hence, this commit removes mesa dependency on GFX modules. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I486cf3dedd7d4438517c8a17bf170ed6cc3b4d04
2019-09-24rcar-gen3: kernel-module-gles: WORKAROUND to build with GCC 9.xKhang Nguyen2-0/+28
Current GFX source code will get compilation error with GCC 9.x, because it is defined in makefile to use -Wall to enable all Warnings check. -Wcast-function-type, -Wsizeof-pointer-div and -Wstringop-truncation, -Wmissing-attributes, -Waddress-of-packed-member are new command-line options have been added for the C and C++ compilers in GCC 9. This commit applies a W/A patch to silence -Wcast-function-type, -Wsizeof-pointer-div, -Wstringop-truncation, -Wmissing-attributes and -Waddress-of-packed-member errors. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ic14200e68d0c3a666f9ef1906a3e40b9d6a721dc
2019-09-24rcar-gen3: libgbm: Add PROVIDES for virtual/libgbmThuy Tran1-0/+1
This commit adds virtual/libgbm to avoid dependency issue. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I0135f750e44c0c42174e1813fb318db426e35281
2019-09-24rcar-gen3: libgbm: Upgrade to 19.0.1Thuy Tran1-2/+2
This commit upgrades libgbm version to 19.0.1 for Weston 6.0 support. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I5605d836ecb38aa442cefc8d77b01e639f5370ad
2019-09-24rcar-gen3: weston: Update to support weston 6.0Khang Nguyen13-245/+35
This commit uses the weston upstream version 6.0 with "GPU only" h/w acceleration. It also modifies weston-init to adapt upstream version. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I7aabf0f3fcfec0dece05161529bd9eaf401dfbdb
2019-09-23rcar-gen3: base-files: Fix missing log and tmp in /var/volatileKhang Nguyen2-0/+17
Since systemd v240, tmpfiles could not create the files/directories under a prefix that may be owned by an unprivileged user due to unsafe transition validation. In case of users set up a rootfs on NFS server or use PC to prepare one on a flash device, the ownership is inherited from host PC, but the /var/volatile is set the owner to root by default, it leads to an issue that the log and tmp directories under /var/volatile are not created. The processes use the tmp/log directories to store log and temporary files will fail. | [FAILED] Failed to start Login Service. | [FAILED] Failed to start Network Name Resolution. | authpriv.err login[3074]: pam_lastlog(login:session): unable to create /var/log/lastlog: No such file or directory This changes the owner of /var/volatile to uid=1000,gid=1000 as a workaround for the issue. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Iae54eb2f47cca2d7f57c48d581d075b6c41401b7
2019-09-23rcar-gen3: optee-client: Remove SECURITY_CFLAGS optionThuy Tran1-0/+3
This commit removes SECURITY_CFLAGS option to avoid compile issue: | In file included from tmp/work/h3ulcb-poky-linux/optee-client/3.1.0+renesas+gitAUTOINC+3f16662284-r0/recipe-sysroot/usr/include/errno.h:25, | from src/tee_client_api.c:28: | tmp/work/h3ulcb-poky-linux/optee-client/3.1.0+renesas+gitAUTOINC+3f16662284-r0/recipe-sysroot/usr/include/features.h:382:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ie677ea0d51ce9651a8df70c4b626e556514d2fe8
2019-09-23rcar-gen3: optee-client: WORKAROUND to build with GCC 9.xKhang Nguyen2-0/+29
This commit applies a W/A patch from optee upstream to fix GCC 9 format-truncation errors. [1] https://github.com/OP-TEE/optee_client/issues/126 Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Iafdda8934e315366d0d4546d37b63c5bdb4b5a3e
2019-09-23rcar-gen3: optee-os: Fix git configuration issue in do_configureKhang Nguyen1-1/+1
Since v3.15.0, the optee-os recipe does a cherry-pick in do_configure, if the git is not configured, the do_configure will fail and breaks the build. This adds '-n' flag to cherry-pick command to avoid the above issue. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I6448b57b4a9609599497f3a35ada5c777015a7f0