summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3
AgeCommit message (Collapse)AuthorFilesLines
2020-05-04rcar-gen3: linux-renesas: Fix ZPOS issue occurs on Weston 8.0.0Khang Nguyen4-0/+188
This applies a patch to Kernel to fix ZPOS issue occurs on Weston 8.0.0: According to drm_plane_create_zpos_property() function documentation, all planes zpos range should be set if zpos property is supported. However, the rcar-du driver didn't set primary plane zpos range. Since the primary plane's zpos is fixed, set it immutably. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I1adb23fd123a6aaafa1ea2c669631200967bff89
2020-05-04rcar-gen3: Image: Move libx11-locale to core-weston-image.incKhang Nguyen2-1/+1
The libx11-locale should be in core-image-weston.inc instead of core-image-renesas-base.inc, this package was added by [1] to support weston simple applications. [1]: meta-renesas rev: 794b4fa5d7702c28f8d6faea3ed7013cb2ba9054 Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I02d1ac31ff2e190f7abd2f1f88bbcb2cca88d75a
2020-05-04rcar-gen3: Switch to python3Khang Nguyen4-4/+432
This updates recipes to use Python3 instead of Python2 which is deprecated in Yocto. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Id2594e5bb0e0003b22af8d183bef340587a9c1aa
2020-05-04rcar-gen3: Replace deprecated bbclassKhang Nguyen18-18/+18
distro_features_check.bbclass is deprecated, this commit updates recipes to use features_check.bbclass instead. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Id8a4848dbfd53ecb7033fdfff0459fd520a892d3
2020-05-04rcar-gen3: conf: Remove duplicate tune filesRonan Le Martret2-23/+0
- There is conflict between meta-renesas and poky * tune-cortexa53.inc * tune-cortexa57-cortexa53.inc use the upstream tune files from poky solve this issue. - Current tune-cortexa53.inc file, in RCAR BSP meta-renesas, the ebisu AGL build is broken due to the duplicate file: * bad TUNE_FEATURES means bad TUNE_ARCH and so bad TARGET_ARCH. Bug-AGL: SPEC-3289 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ic981b7bf57304bf26fc530f5613cc19629eb835e Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2020-04-27rcar-gen3: conf: Update LAYERSERIES_COMPAT to dunfellKhang Nguyen1-1/+1
This commit updates LAYERSERIES_COMPAT to dunfell. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I42de8997cae50e6308e8e90a25dd0d492e0d7511
2020-02-10rcar-gen3: arm-trusted-firmware: Update to v2.0.6Duy Dang1-1/+1
This updates IPL and Secure Monitor to version 2.0.6 with the following change: - Update DDR setting version 0.40 for H3, M3, M3N. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I1818faaa492686d7c18730b27394174b64793ad6
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
2019-09-23rcar-gen3: optee-os: Apply fix patch for compile errorKhang Nguyen2-0/+79
This commit applies fix patch for the following error: | #define SYSCALL_ENTRY(_fn) { .fn = (syscall_t)_fn } | ^ | core/arch/arm/tee/arch_svc.c:128:2: note: in expansion of macro 'SYSCALL_ENTRY' | SYSCALL_ENTRY(syscall_rcar_asset_unpack), | ^~~~~~~~~~~~~ | CC out/arm-plat-rcar/core/arch/arm/tee/cache.o | cc1: all warnings being treated as errors Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ia5f1a6825cd63d745263c746b3dba5b6156f6b02