summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-bsp
AgeCommit message (Collapse)AuthorFilesLines
2018-06-26[COMMUNITY] Update optee-client versionflounder_5.99.1flounder/5.99.15.99.1Ronan Le Martret2-42/+2
* Fix optee-client build. We need to update optee-client due to a newer version of GCC. * using : EXTRA_OEMAKE = "... CFLAGS='${CFLAGS}'" will fix the FORTIFY build issue: ``` ... # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ... ``` but will replace CFLAGS from file flags.mk Change-Id: Ia3cfd16ec3e3c8b82bf8b364b04f164aa66009eb Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-05-16[COMMUNITY] U-Boot: Backport increase to CBSIZE/etcTom Rini2-1/+35
Starting with v2017.09 of upstream U-Boot the console buffer and maxargs have been greatly increased. This is important for passing in longer kernel command lines to the kernel as is done in CI. Change-Id: I996aa7cec7a92b7d6d329a55edd24e85dbd81203 Bug-AGL: SPEC-1434 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-05-16[COMMUNITY] Add LICENSE to u-boot recipesRonan Le Martret1-0/+3
Change-Id: I2c63ea54b69d5851fe4206fde6e967c74415f36c Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-05-16[COMMUNITY] Enable Linux-based hypervisor execution in AGLMichele Paolino2-0/+32
The upstream version of AGL boots Linux in EL1. This mode is not privileged enough to put in place the correct configuration of an hypervisor (e.g., KVM). This patch leverages the ATF rcar platform configuration variables to boot the Linux kernel in EL2, instead of EL1, allowing Linux-based hypervisors such as KVM to configure all the necessary stubs to properly run virtual machines. This patch has been successfully tested with ATF, KVM and AGL rootfs on the Renesas R-Car M3. Changelog: - Added arm-trusted-firmware patch, which makes this work easy to be tested by the community - This patch version does not contain Linux kernel modifications. In fact, these resulted not necessary with the proposed ATF patch and a recent kernel (higher than 4.6) Bug-AGL: SPEC-497 Change-Id: I5a22411135b33137cb2236562b3de9c966f1be21 Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
2018-05-16[COMMUNITY] glmark2 build fixVladimir Barinov1-0/+8
This solves the following warning related to package config dependency: glmark2-2014.03+AUTOINC+fa71af2dfa-r0 do_package_qa: QA Issue: glmark2 rdepends on libwayland-egl, but it isn't a build dependency, missing mesa in DEPENDS or PACKAGECONFIG? [build-deps] jsmoeller: Edit Signed-off-by (e -> é) to match character for gerrit. Change-Id: I2c448f3ddaef88c80bb5a3807bc8f96de269e5f4 Signed-off-by: Stéphane Desneux <stephane.desneux@iot.bzh> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2018-04-21rcar-gen3: IPL: Update SRCREV to follow the latest versionKhang Nguyen2-4/+6
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 Tran1-2/+6
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-03-22rcar-gen3: arm-trusted-firmware: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates IPL and Secure Monitor to Rev1.0.19 rev2 for following changes: [IPL] - Add processing of Suspend To RAM for E3. - Update DDR setting for E3(rev0.06). - Update E3 Ver1.0 QoS setting rev.0.02. - Update M3N Ver.1.0 QoS setting rev.0.06. - Fix the LSI_CUT judgement of PFC setting. - Change definition of end address of system ram for BL2. [Secure Monitor] - Fix the primary CPU decision function that runs at startup. - Change the SelfRefresh sequence of Suspend To RAM. - Add the DVFS SCL setting of E3. 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: IPL: Update IPL according to BSP v3.6.1 and add support E3Khang Nguyen3-5/+6
This commit changes following contents: - Update IPL and Secure Monitor Rev1.0.19. - Update optee_os Rev1.0.12. It also updates recipes to add support E3 board. 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: u-boot: Update SRCREV to follow the latest versionKhang Nguyen1-2/+2
This commit updates u-boot SRCREV for following changes: - Add I2C setting for reset by PMIC for E3. - Add reset command support by using PMIC for E3. - Fix pinmux_config_regs array for E3. - Add clock stops before boot os for E3. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: IPL: Update IPL version according to BSP v3.6.0Thuy Tran5-12/+48
This commit changes following contents: - Update IPL and Secure Monitor Rev1.0.18 rev2 - Update optee_os Rev1.0.11 rev2 Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: u-boot: Upgrade version to v3.6.0 and adapt to rocko u-boot headersThuy Tran2-5/+12
This commit updates u-boot version corresponding to BSP v3.6.0 for below fixes: - Add CONFIG_CMD_CACHE for enabling cache control commands. - Fix clock bit assignment of EHCI3. - Store last address/size/etc as ulong. - Build warning fixes for 64-bit. - Add CONFIG_HUSH_PARSER for enabling the "hush" shell as command line interpreter. - Add eMMC ver.5.1 support. - Update MMC_ERASE argument to match Linux kernel. - Backport for gcc 7.2.0 compiler support. The u-boot.inc used by the bb recipe has been split into two parts in the pyro poky meta. Adopt to the new style by providing the missing u-boot-common*.inc file containing the license information. Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: IPL: Update SRCREV to follow the latest versionThuy Tran2-2/+3
This commit updates IPL components versions as below: - Update IPL and Secure Monitor Rev1.0.17 rev2. - Update optee_os Rev1.0.10. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: u-boot: Upgrade version according to Linux BSP to v3.5.9Thuy Tran1-2/+2
This commit updates u-boot according to Linux BSP v3.5.9 for supporting R-Car M3N Ver.1.0 and updating following items: - Add missing IPSR18 bits to R8A7795 PFC. - Fix unnecessary write "bus_width=1" for SDHI. U-boot config for M3N is r8a77965_salvator-x_defconfig. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: Use flexible coding style for Renesas datadirRonan Le Martret2-6/+6
This commit modifies recipes to use RENESAS_DATADIR variable for /usr/local directory instead of hard coding. This commit comes from AGL patch. Bug-AGL: SPEC-533 Change-Id: I865ea809c3c59ba136027fc8b99628df20c16275 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> (cherry picked from commit 9598336fa2b4a4237255cdd866350eb7c03fdd81)
2017-08-25rcar-gen3: IPL: Update SRCREV to follow the latest versionThao Nguyen2-2/+2
This commit updates IPL components versions as below: - Update IPL and Secure Monitor Rev1.0.16 rev4. - Update optee_os to Rev1.0.9 rev2. - Update optee_linuxdriver to Rev1.0.7 rev2. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: u-boot: Upgrade version according to Linux BSP to v3.5.6Thao Nguyen1-2/+2
This commit updates u-boot according to Linux BSP v3.5.6 for below fixes: - Fix u-boot reset for ULCB. - The SMSTPCR value is illegal immediately before the start of the kernel. - The following fatls command execution of usb start/stop Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-06-21rcar-gen3: arm-trusted-firmware: Update SRCREV to follow latest versionThao Nguyen1-1/+1
This commit updates IPL and Secure Monitor to Rev1.0.15 rev3. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-06-21rcar-gen3: u-boot: Update u-boot to v3.5.4Thao Nguyen1-2/+2
This commit updates u-boot to BSP v3.5.4 for following changes: - Remove MSTP registers values rewriting process. - Fix multiple declarations of DECLARE_GLOBAL_DATA_PTR. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-04-19rcar-gen3: arm-trusted-firmware: Set PMIC_LEVEL_MODE to 0 for ULCBYusuke Goda1-1/+1
The operation mode of the PMIC for Salvator-X and ULCB are different: - ULCB : PULSE MODE (PMIC_LEVEL_MODE=0) - Salvator-X : LEVEL MODE (PMIC_LEVEL_MODE=1(default)) This commit updates arm-trusted-firmware recipe to check PMIC_LEVEL_MODE option and to control the corresponding PMIC. Change-Id: I152c1286d525000f58c678ec37eb6aac9502ac45 Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-04-19rcar-gen3: IPL: Update IPL according to BSP v3.5.3Thao Nguyen2-2/+2
This commit changes following contents: - Update IPL and Secure Monitor Rev1.0.14 rev2. - Update optee_os Rev1.0.8. Change-Id: Ibc16e31545b762451eb3704f817cd0d53fc1a50d Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-04-19rcar-gen3: u-boot: Upgrade u-boot to v3.5.3Thao Nguyen1-2/+2
This commit updates u-boot version corresponding to BSP v3.5.3 for following items: - Add workaround for PRR register of R-Car M3 WS1.1. (Fix printing cpu info.) - Fix USB2.0 ch2 found device for R-Car H3 WS2.0. - Revert "armv8: Add ISB after cpacr_el1 update" for I/D cache ON. Change-Id: I952aabfeec8b8518760494ba987f2cdd045b6f66 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: arm-trusted-firmware: Set RCAR_GEN3_ULCB to 1 for ULCBYusuke Goda1-1/+2
This commit is to add judge state for ULCB. If machine is ulcb, "RCAR_GEN3_ULCB=1" will be added to compile option. Change-Id: Ia05f33a4362c4a7a302c8c0fc5785415f27b15b5 Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com> Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: QoS: Update SRCREV for QoS driver and interfaceThao Nguyen1-1/+1
This commit updates SRCREV of QoS for following fixes: QoS Driver - Fix year of Copyright - Fix number of emetents to load QoS Libraries - Fix return val - Fix FD close Change-Id: Idd88c0240df3023ef29865f6e65830d09acbf602 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-23rcar-gen3: IPL: Update IPL version according to BSP v3.5.2Thao Nguyen2-2/+2
This commit changes following contents: - Update IPL and Secure Monitor Rev1.0.13 rev2. - Update optee_os Rev1.0.7 rev2. Change-Id: I0feeaad39dc13c79b7a2f2b8faaac4955413dcff Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-23rcar-gen3: u-boot: upgrade BSP v3.5.0 -> v3.5.2Thao Nguyen1-2/+2
This patch upgrade BSP v3.5.0 -> v3.5.2. [v3.5.2] - Fix Ethernet driver and could turn on I/D cache. Change-Id: Ic90b59ea4db549248b263eedd4fd40c865f74408 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-01-27First commit.Renesas-Yocto-v2.16.0Takamitsu Honda8-0/+317
Renesas BSP v3.5.1 (kernel v4.9 stable) [Environment] poky: yocto-2.1.2 (cca8dd15c8096626052f6d8d25ff1e9a606104a3) meta-openembedded: 55c8a76da5dc099a7bc3838495c672140cedb78e meta-linaro: 2f51d38048599d9878f149d6d15539fb97603f8f [Information] - U-boot: Changed load address from H'49000000 to H'50000000 - XDG_RUNTIME_DIR has been changed from "/run/user/root" to "/run/user/0" - Change location of include directory, which stores common user header files, to $(INCSHARED) - In BSP Only, core-image-weston is not supported even though local-wayland.conf is provided. - Please set Salvator-x SW7 Pin-1. In after Yocto BSP v2.12.0, it is  necessary to enable BKUP_TRG signal for Suspend to RAM. - The dtb filename was changed in R-Car H3. Only "Image-r8a7795-es1-salvator-x.dtb" is supported in this version. Please use "Image-r8a7795-es1-salvator-x.dtb" It supports R-Car H3 WS1.0 and WS1.1. - Please update your local.conf and bblayers.conf corresponding to Yocto v2.16.0 package. You can refer to meta-rcargen3/docs/sample/conf/ for updated contents. - You have to re-compile out-of-recipe software like user application by v2.16.0 SDK toolchains. - In some boards, the resuming from System Suspend to RAM may cause unstable operation or failed to resume. Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>