summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3
AgeCommit message (Collapse)AuthorFilesLines
2018-06-18rcar-gen3: copyscript: Update MD5SUM for CMS packagesKhang Nguyen1-3/+3
This commit updates MD5SUM for new CMS packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: copyscript: Update MD5SUM for audio packagesKhang Nguyen1-13/+13
This commit updates MD5SUM for new OMX audio packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: copyscript: Update MD5SUM for video packagesKhang Nguyen1-16/+16
This commit updates MD5SUM for new OMX video packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: VSPM: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates VSPM SRCREV for following fix: [vspmif_lib] - Add sample program for colorkey and up scaling. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: weston-init: Fix issue weston cannot start on E3Khang Nguyen1-1/+1
This commit adds "multi-user.target" condition into "weston.service" to fix the issue weston cannot start on E3, it does not affect to other boards. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: weston: Set XDG_RUNTIME_DIR for SSH loginKhang Nguyen2-0/+11
This commit adds weston.sh script into /etc/profile.d to set XDG_RUNTIME_DIR automatically when using SSH login. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: kernel-module-adsp: Enable build target for E3 boardKhang Nguyen1-0/+5
E3 build target board was disabled default in Kbuild configuration: DTARGET_BOARD_E3=0 This commit sets "DTARGET_BOARD_E3=1" automatically when target board is E3. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: kernel-module-gles: Autoload Kernel module pvrsrvkmKhang Nguyen1-0/+4
This commit updates recipe to set Kernel module pvrsrvkm works in autoload mode. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: IPL: Upgrade IPL version according to BSP v3.7.0Khang Nguyen4-47/+7
This commit changes the following contents: - Upgrade IPL and Secure Monitor Rev1.0.21 rev2. - Upgrade optee_os Rev1.0.14 rev2. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: u-boot: Upgrade u-boot according to Linux BSP v3.7.0Khang Nguyen1-2/+2
This commit upgrades u-boot version corresponding to BSP v3.7.0 for below fix: - Fix R-Car M3 version display from Ver.1.1 to Ver.1.1/Ver.1.2. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: linux-renesas: WORKAROUND for mini SD card issue on M3ULCBKhang Nguyen4-0/+234
This commit adds a WORKAROUND patch for the issue that mini SD partition information cannot be read correctly. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: linux-renesas: Enable DEVFREQ configurationTakeshi Kihara2-0/+11
This commit enables DEVFREQ configuration. Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.7.0Khang Nguyen15-752/+13
This commit upgrades Linux BSP to v3.7.0 for following updates: [Kernel] - Change Linux version to v4.14.35 from v4.14. - Add support ZG clock divider for R8A77990 (R-Car E3). - Remove patch for Identifing R-Car M3 Ver.1.2 or later. [Power Management] - Fix "Using plain integer as NULL pointer" in rcar_ems_ctrl.c. - Add AVS support for gsx_opp_table. - Update SYSC power ON/OFF flow. [Display driver] - Fix procedure for extal and dotclkin selection for R-Car E3. - Add shutdown callback function in platform_driver". - Fix state flag in case of dual link mode for R-Car E3. [Ethernet driver] - Move reset-gpios property to EthernetAVB node for R-Car E3 Ebisu board. [I2C driver] - Fix handling of the RESTART phase and STOP phase. [MSIOF driver] - Add 2 clock delay by R-Car H3 Ver.3.0 only specification. [SD/MMC driver] - Fix eMMC HS400 mode setting. - Delete wait in tuning process. [USB2.0 Function] - Avoid wrong list handling in printer_write(). [USB2.0 Host driver] - Avoid the problem of Suspend to RAM in case of connecting USB mouse by removing following patches: <commit ID:cad25bf1> phy: rcar-gen3-usb2: Add the interrupt disabled in suspend <commit ID:318b535> phy: rcar-gen3-usb2: Support System Suspend To RAM [Video Capture driver] - Fix IFMD table information for R8A77990 (R-Car E3). Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: machine: Clarify Linux Kernel versionKhang Nguyen4-4/+4
This commit updates recipes to clarify Linux Kernel version. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: conf: Add u-boot/IPL build option for H3Khang Nguyen9-0/+68
From Yv3.7.0, there are 03 options to build u-boot/IPL for H3: - For R-Car H3 SiP DDR 8GiB (2GiB x 4ch) [1] - For R-Car H3 SiP DDR 4GiB (2GiB x 2ch) [2] - For R-Car H3 SiP DDR 4GiB (1GiB x 4ch) [3] This commit adds a variable into sample configurations to control the build option: - For [1]: H3_OPTION = "1" (default) - For [2]: H3_OPTION = "2" - For [3]: H3_OPTION = "0" It also adds H3_OPTION = "0" for H3ULCB by default. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: conf: Remove networking and python bblayers for build errorKhang Nguyen24-48/+0
meta-openembedded/meta-networking and meta-openembedded/meta-python were removed to avoid build error for GENIVI environment. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: conf: Upgrade Linaro Gcc version to 7.2Khang Nguyen16-16/+16
This commit upgrades Linaro Gcc version to 7.2 for adapting to upstream. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: conf: Update configurations to adapt to YP v2.4.2Khang Nguyen32-64/+32
This commit updates configurations to adapt to YP v2.4.2. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: gstreamer: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit modifies gstreamer recipe for following updates: [gst-omx] - Support enable-crop option. - Update default output allocation for VP9 decoder. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: kernel module: Fix the typosKhang Nguyen3-3/+3
This commit fixes the typos in recipes. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: user-module: Fix missing header files in sysroots-componentsKhang Nguyen3-0/+6
This commit modifies recipes to fix the issue missing header files in sysroots-components. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: cms-user-module: Upgrade library versionsKhang Nguyen1-6/+6
This commit upgrades library versions as below: libcmsbcm.so.1.6.0 upgrades to libcmsbcm.so.1.7.0 libcmsblc.so.1.6.0 upgrades to libcmsblc.so.1.7.0 libcmsdgc.so.1.6.0 upgrades to libcmsdgc.so.1.7.0 Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: gles-user-module: Fix patch not applying properlyKhang Nguyen1-4/+6
Some of the context lines in patches were ignored, it can lead to incorrectly applied patches. This commit modifies "change-shell.patch" to fix following warning: | Hunk #1 succeeded at 1 with fuzz 2. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: gles-user-module: Fix install warningKhang Nguyen1-1/+1
This commit fixes the warning as below: | update-rc.d: tmp/work/salvator_x-poky-linux/core-image-weston-sdk/1.0-r0/rootfs/etc/init.d/pvrinit: file does not exist Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: copyscript: Update MD5SUM for ADSP packagesKhang Nguyen1-2/+2
This commit updates MD5SUM for new ADSP packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: copyscript: Update MD5SUM for CMS packagesKhang Nguyen1-3/+3
This commit updates MD5SUM for new CMS packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: copyscript: Update MD5SUM for video packagesKhang Nguyen1-16/+16
This commit updates MD5SUM for new OMX video packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: EthernetAVB: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates SRCREV of EthernetAVB components for following changes: - Fix setting both S bit and E bit of FU header. - Fix to restart to sending packets when not in time for the interval. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: weston: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates SRCREV of weston for following item: [v4l2-renderer] - Translate all rects in clip region for calculation opaque region. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: MMNGR: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates SRCREV of Memory Manager driver for following items: - Update CMA memory mapping for R-Car E3. - Disable IPMMU TLB cache function in selected SoC revision. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: IPL: Update SRCREV to follow the latest versionKhang Nguyen3-4/+17
This commit updates IPL and Secure Monitor to Rev1.0.20 rev2 for following changes: [IPL] - [H/W Restriction No.100] Disable TLB function on IPMMU-PV1 cache on H3 Ver.2.0. - Update H3 Ver.3.0 QoS setting rev.0.06. - Fix the IPL cannot load images to 40-bit address space with eMMC when D-Cache enables. - Add processing to read MSTP status into BL2. - Delete unnecessary register setting. - Add the SWTCNT setting of E3. - Change the unit of transfer size to 256 bytes for RPC, and improved DMA transfer processing. - Add DDR Memory Config log. [Secure Monitor] - Add processing to read MSTP status into BL31. For optee_os, it updates reversion to Rev1.0.13 for following change: - Add processing to read MSTP status into MFIS. It deletes the option which enables Lossy area for E3. It also supports build option for H3: - For R-Car H3 SiP DDR 8GiB (2GiB x 4ch), specify "RCAR_DRAM_SPLIT=1" - For R-Car H3 SiP DDR 4GiB (2GiB X 2ch), specify "RCAR_DRAM_SPLIT=2 RCAR_DRAM_CHANNEL=5" - For R-Car H3 SiP DDR 4GiB (1GiB x 4ch), specify "RCAR_DRAM_SPLIT=1 RCAR_DRAM_LPDDR4_MEMCONF=0" Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: u-boot: Update SRCREV to follow the latest versionThuy Tran2-2/+17
This commit updates u-boot SRCREV to follow the latest version for following updates: - Fix XTAL clock for Salvator-XS board. - Use packed structures for networking. As a result, “dcache off” command works fine. It also adds u-boot build options to support each H3 device trees as below: - For R-Car H3 SiP DDR 8GiB (2GiB x 4ch), specify RCAR_DRAM_MAP4_2. - For R-Car H3 SiP DDR 4GiB (2GiB x 2ch), specify RCAR_DRAM_MAP2_2. - For R-Car H3 SiP DDR 4GiB (1GiB x 4ch), specify RCAR_DRAM_MAP4_1. In Yv3.7.0, we will support R-Car H3 SiP DDR 8GiB by default. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: linux-renesas: Apply the power control patches for H3 Ver.3.0Khang Nguyen14-0/+724
This commit applies the power control patches in R-Car H3 Ver.3.0. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.6.2Khang Nguyen3-5/+6
This commit upgrades Linux BSP to v3.6.2 for following updates: [Kernel] - "WARNING: possible circular locking dependency detected" occurs with repeating reboot. However, it was false positive, and it was confirmed that there was no problem. - Identify R-Car M3 Ver.1.2 or later. - Remove lossy descompress area from MMNGR node and reduce reserved area for R-Car E3 Ebisu board. [Power Management] - Improve power domains always on implementation. - Fix interrupts are not raised issue on R-Car E3. - Update CAS source. [Display driver] - Add overlay layer size check. - Fix possible crtcs for plane when using VSPDL. [IPMMU driver] - Add workaround for disabling uTLBs. [MSIOF driver] Add MSIOF module clock changing processing for R-Car Series, 3rd Generation. [PCIe driver] - Fix memory leak in of_pci_get_host_bridge_resources. [Thermal driver] - Use DIV_ROUND_CLOSEST correctly as its description. [USB3.0 Host driver] - Cannot Suspend to RAM when enabling USB3.0. - Confirm recognition of USB3.0 memory through HUB for setting /etc/udev/rules.d/99-usb.rules. [Video Capture driver] - Allocate a scratch buffer at stream start. Then use scratch buffer and always run in continuous mode. - Fix PHTW register flow below 250 mbps. - Fix clock control flow so that the warning message “MSTP status timeout” is not displayed and when UDS (scaling) is executed at VIN0, a black screen does not come out. - Fix streaming procedure when resuming. [Audio driver] - Playback or capture doesn’t resume after Suspend to RAM. [USB2.0 Function] - Kernel error occurs with rmmod of g_printer. - The dd command error occurs with g_mass_storage. [USB2.0 Host driver] - When connecting USB mouse, “Bad mode in Error handler” may occur with Suspend to RAM. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: README.linaro: Modify information for updatesKhang Nguyen1-3/+1
This commit modifies information for the following updates: - Remove meta-openembedded/meta-networking and meta-openembedded/meta-python. - Upgrade Linaro Gcc version to 7.2. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: README: Modify information for updatesKhang Nguyen1-3/+1
meta-openembedded/meta-networking and meta-openembedded/meta-python were no longer used, this commit removes their information in README. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: machine: Update device tree names for H3Khang Nguyen1-0/+2
This commit updates device tree names for H3. There are 3 device trees as below: - renesas/r8a7795-salvator-xs.dtb: for R-Car H3 SiP DDR 4GiB (1GiB x 4ch) - renesas/r8a7795-salvator-xs-2x2g.dtb: for R-Car H3 SiP DDR 4GiB (2GiB x 2ch) - renesas/r8a7795-salvator-xs-4x2g.dtb: for R-Car H3 SiP DDR 8GiB (4GiB x 2ch) In Yv3.7.0, we will support R-Car H3 SiP DDR 8GiB by default. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22Revert "rcar-gen3: dbus: WORKAROUND to fix memory leak issue"Khang Nguyen1-12/+0
We have a better solution for memory leak issue. This reverts commit 4f9d2b579a600b4fd32f2a92b83378d488a82bff. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22Revert "rcar-gen3: gles-user-module: WORKAROUND to fix compile error because ↵Khang Nguyen2-52/+0
of lacking GLES3/gl3ext.h" Gstreamer source code have been updated. This reverts commit 4f50fe1d6f208f535d663325288e34fce4f0c358. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: copyscript: Update tarball names for graphic packagesKhang Nguyen2-8/+8
This commit updates the tarball names in copyscripts for new graphic packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: copyscript: Update MD5SUM for ADSP packagesKhang Nguyen1-3/+3
This commit updates MD5SUM values for new ADSP packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: copyscript: Update MD5SUM for CMS packagesKhang Nguyen1-3/+3
This commit updates MD5SUM values for new CMS packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: copyscript: Update MD5SUM for video packagesKhang Nguyen1-16/+16
This commit updates MD5SUM for new OMX video packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: copyscript: Delete unused evaproprietary packagesKhang Nguyen1-323/+5
This commit removes unused evaproprietary packages and their functions to avoid confusion. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: copyscript: Update year of copyright and fix typoKhang Nguyen1-2/+2
This commit updates year of copyright and fix comment typo. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: conf: Remove vp9dec_lib in H3ULCB and M3ULCB configurationKhang Nguyen4-12/+0
This commit removes vp9dec_lib in H3ULCB and M3ULCB configuration. It helps to reduce the possibility that user got mistake on enabling VP9. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: conf: Add sample configurations for E3Khang Nguyen14-0/+2487
This commit adds sample configurations for E3 board (Ebisu). Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: nativesdk-ncurses: Install to libdir, not base_libdirTan Nguyen1-0/+2
In nativesdk-ncurses, they only add -L<sysroot>/${libdir}, not -L<sysroot>/${base_libdir}. So move base_libdir to libdir will help others find ncurses lib Signed-off-by: Tan Nguyen <tan.nguyen.wh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: glmark2: Fix glmark2 build failureKhang Nguyen2-0/+51
glmark2 fails to build in YP v2.4 environment with the following error: | Checking for 'libpng12' : not found | Checking for 'libpng15' : not found | Checking for 'gbm' : not found This commit modifies recipe to fix this issue. It also applies a patch to avoid the following error: | ../src/gl-state-egl.cpp: In member function 'bool GLStateEGL::gotValidDisplay()': | ../src/gl-state-egl.cpp:420:41: error: 'EGL_PLATFORM_GBM_KHR' was not declared in this scope | #define GLMARK2_NATIVE_EGL_DISPLAY_ENUM EGL_PLATFORM_GBM_KHR | ^ | ../src/gl-state-egl.cpp:444:17: note: in expansion of macro 'GLMARK2_NATIVE_EGL_DISPLAY_ENUM' | GLMARK2_NATIVE_EGL_DISPLAY_ENUM, native_display_, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ../src/gl-state-egl.cpp:420:41: note: suggested alternative: 'EGL_PLATFORM_GBM_MESA' | #define GLMARK2_NATIVE_EGL_DISPLAY_ENUM EGL_PLATFORM_GBM_KHR | ^ | ../src/gl-state-egl.cpp:444:17: note: in expansion of macro 'GLMARK2_NATIVE_EGL_DISPLAY_ENUM' | GLMARK2_NATIVE_EGL_DISPLAY_ENUM, native_display_, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: systemd: Do not save file descriptors when restarting WestonKhang Nguyen1-0/+10
In systemd v234, systemd-logind may now be restarted without losing state, it stores the file descriptors (fd) for devices it manages in the system manager. [1] In graphic and multimedia configuration, above feature causes memory leak with the use case of restarting Weston: | root@salvator-x:~# cat /proc/meminfo | grep Cma | CmaTotal: 671744 kB | CmaFree: 629788 kB | root@salvator-x:~# | root@salvator-x:~# systemctl restart weston | root@salvator-x:~# | root@salvator-x:~# cat /proc/meminfo | grep Cma | CmaTotal: 671744 kB | CmaFree: 599404 kB Because the system continues allocating memory for the new session during the previous device fds still open. This commit avoids saving device fds into the system manager by setting "FileDescriptorStoreMax=0" [2] in "systemd-logind.service". [1] https://lists.freedesktop.org/archives/systemd-devel/2017-July/039308.html [2] https://www.freedesktop.org/software/systemd/man/systemd.service.html#FileDescriptorStoreMax= Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>