aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-bsp
AgeCommit message (Collapse)AuthorFilesLines
2019-12-10[Community] Add optee packages recipesicefish_8.99.3icefish/8.99.38.99.3Aymeric 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>
2019-10-02[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>
2019-07-31rcar-gen3: optee-client: Apply patch to use MMC_IOC_MULTI_CMD for RPMB accessDuy Dang2-0/+209
This patch changes RPMB ioctl from MMC_IOC_CMD into MMC_IOC_MULTI_CMD and changes ioctl parameters according to mmc utils to fix the failure when using MMC_IOC_CMD as RPMB ioctl. (cherry picked from commit 10a80f4f034923bc8e405e67f770189ea3317178) Change-Id: I80274e7f2c3f11d2b67edc349e4f430c5388d3fc Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-07-31rcar-gen3: optee-os: Another fix for git configuration in do_configureKhang Nguyen2-179/+2
This reverts commit 55c33ce0a852710bf68e515f992f954b2b8c171b and adds '-n' flag to cherry-pick command to avoid the git configuration issue in do_configure, it is simpler and easier than applying patch solution. Change-Id: I62e4d3c262bebb57e1e5f3d792c911aa520be675 Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-07-31rcar-gen3: optee-os: Update SRCREV to version 2.0.4Duy Dang1-2/+2
This commit updates optee-os to v2.0.4 for the following changes: - Ebisu-4D (E3 Ver.1.1) SanDisk eMMC: RPMB area access error. - core: Change error code of HW-Engine provider layer. - plat-rcar: Add mask processing of interrupt distribution CPU. - core: Fix the return value from HW-Engine provider different from expected value. (cherry picked from commit 8f18cf4dd8ea53d74586a88d4cb9005297aa7d78) Change-Id: I50ccbfb62193f6d1b49370828a1204e0808df30c Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-07-31rcar-gen3: arm-trusted-firmware: Update to version 2.0.4Duy Dang1-1/+1
This commit updates SRCREV of arm-trusted-firmware to v2.0.4 for the following changes: - BL31: Fix missing RCAR_SYSTEM_SUSPEND encapsulation - BL2: update QoS setting Update M3 Ver.3.0 QoS setting rev.0.04. - BL2: Clean up DDR code for H3, M3, M3N. - BL2: Update DDR setting for H3, M3, M3N. - BL2: pfc Checkpatch cleanup. - BL2: Modify PFC code. - BL2: Change RPC PHY calibration setting. - BL2: Clean up DDR sub function code. - BL2: Clean up DDR code for E3. - BL2: Update DDR setting for H3, M3, M3N rev.0.37. - BL2: QoS: Checkpatch cleanup. (cherry picked from commit 4bfcc25f51111b91786bf4313265ad6b0742bf59) Change-Id: Ida263411403d2e8a241ee21c0c9d110b6beb5780 Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-07-31rcar-gen3: u-boot: Update U-Boot version to 3.9.5Duy Dang1-2/+2
This commit updates U-Boot version to 3.9.5 for the following changes: - Fix name to AVB_AVTP_{MATCH/CAPTURE}. - Add DRAM 2x4G memory map support for M3 Ver.3.0 SiP. (cherry picked from commit fd9043582dff30021c8068e91cab577518f44205) Change-Id: I4071c3d3976a011e096482ea3adc642af9e12c19 Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-05-23rcar-gen3: optee-os: Fix GCC 8.x compilation warningsThuy Tran2-1/+77
This commit adds a fix patch from optee-os upstream [1] to fix GCC 8.x compilation warnings with -Wcast-function-type. [1] OPTEE-OS rev: f6d17e33e7b95c90a2521cfd37cd5cb511909fc4 Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-05-23rcar-gen3: optee-os: Apply a patch instead of cherry-pickingduythaidang2-3/+180
This commit modifies to apply a patch instead of cherry-picking. This avoids the error of git config if git is not configured for the current user. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> (cherry picked from commit 0fd211f94a24125dc554055877ff910085e07fe2)
2019-05-23rcar-gen3: optee-os: Update SRCREV to Rev.2.0.2Duy Dang1-1/+1
This commit updates SRCREV of optee-os to Rev.2.0.2 for the following changes: - Support HWmanual RPC errata - Delete the modification used by enabling CFG_WITH_PAGER Change-Id: I6cc14ec22556ecdaf1b59e72e4c63b6dc78083e0 Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> (cherry picked from commit a1715e53ac2b3d6ac30e2524afdd3cdf88e9faf9)
2019-05-23rcar-gen3: arm-trusted-firmware: Update SRCREV to Rev.2.0.3Duy Dang1-1/+1
This commit updates IPL and Secure Monitor to Rev.2.0.3 for the following changes: [IPL] - Add support for M3 Ver.1.3/3.0 - Add QoS setting for M3 Ver.3.0 - Add DDR setting for M3 Ver.3.0 - Add E3 Ver.1.1 to build option - Change periodic write DQ training option - Add new board revision for H3ULCB - Remove duplicate line in qos.mk - Change subslot cycle - Update DDR setting rev.0.35 - BL2/BL31: Update IPL and Secure Monitor Rev2.0.3 - BL31: Change to restore timer counter value at resume - BL31: Add DBSC4 setting before self-refresh mode [Secure Monitor] - Add SiP for getting board ID - Change Suspend To RAM function for M3 Ver.3.0 - Change condition of product code with cluster off function Change-Id: I9eb8e11e679742cf315089670dee1ae90954fc43 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> (cherry picked from commit 74e431ec9d3ea20c91cbd2fc6199794cbe43c720)
2019-05-23rcar-gen3: u-boot: Update to version 3.9.3Duy Dang1-2/+2
This commit updates U-Boot SRCREV to Ver.3.9.3 for the following changes: - Increase off-on delay on the SD Vcc regulator. - Fix r8a779{5,6,90} DRIF conflict names by H/W UM 1.50 errata. - Apply upstream code related to mmc. - Add upstream description to DT files added by BSP. - Fix warning in writel() overflow in rcar_i2c.c. - Set environment variable containing CPU type. - Downgrade SD/MMC from UHS/HS200/HS400 modes before boot. - Unmount FS in do_fs_type(). - Support up to MMC HS200 mode with U-Boot. - Add DMA transfer address alignment check at writing. - Fix pinctrl definition according to H/W UM Rev.1.00 and errata. - Force mmc reinit when no card present. - Make DMA transfer end bit configurable and add 1uS delay after DMA completion on older IPs. - Add function to activate with suitable DT and add Enable MULTI_DTB_FIT. Change-Id: I958f86c16e7558ac51b40e68f611b7f20748877c 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> (cherry picked from commit de96e0e4738e0b473c2fb77e2384e2c516990d4d)
2019-04-19rcar-gen3: Add support M3NULCB boardYusuke Goda2-2/+2
M3NULCB board specifications: - R-Car M3-N Ver.1.1 - DDR 2GiB - eMMC 8GB(KLM8G1GESD-B04P) Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com> Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: optee-client: Remove SECURITY_CFLAGS option to avoid compile issuesThuy Tran1-0/+3
Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com>
2019-02-28rcar-gen3: optee-client: WORKAROUND to build with GCC 8.1Thuy Tran2-0/+29
This commit applies a W/A patch from optee upstream to fix GCC 8 format-truncation errors. [1] https://github.com/OP-TEE/optee_client/issues/126 Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: optee-os: WORKAROUND to build with GCC 8.1Thuy Tran1-1/+1
This commit adds NOWERROR=1 to ignore GCC 8 cast-function-type build errors for SYSCALL_ENTRY() [1]. | core/arch/arm/tee/arch_svc.c:47:36: error: cast between incompatible function types from 'void (*)(long unsigned in| t)' to 'TEE_Result (*)(void)' {aka 'unsigned int (*)(void)'} [-Werror=cast-function-type] | #define SYSCALL_ENTRY(_fn) { .fn = (syscall_t)_fn } ^ | core/arch/arm/tee/arch_svc.c:54:2: note: in expansion of macro 'SYSCALL_ENTRY' | SYSCALL_ENTRY(syscall_sys_return), | ^~~~~~~~~~~~~ | core/arch/arm/tee/arch_svc.c:47:36: error: cast between incompatible function types from 'void (*)(const void *, si| ze_t)' {aka 'void (*)(const void *, long unsigned int)'} to 'TEE_Result (*)(void)' {aka 'unsigned int (*)(void)'} [| -Werror=cast-function-type] | #define SYSCALL_ENTRY(_fn) { .fn = (syscall_t)_fn } ^ | core/arch/arm/tee/arch_svc.c:55:2: note: in expansion of macro 'SYSCALL_ENTRY' | SYSCALL_ENTRY(syscall_log), | ^~~~~~~~~~~~~ [1] https://github.com/OP-TEE/optee_os/issues/2393 Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: Change base_conditional to oe.utils.conditionalThuy Tran1-1/+1
This commit changes to use oe.utils.conditional because these base_* functions were removed in meta/lib/oe from YP2.5. (From Poky rev: 58449f0e9cc4a05c88204cf8ba887b55467d886e) Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-12-20rcar-gen3: optee-os: Update SRCREV to follow the latest versionDuy Dang1-1/+1
This commit updates SRCREV of optee-os recipe for these changes: - Fix the MMU configuration of shared memory. - Merge the following pull request. https://github.com/renesas-rcar/optee_os/pull/2 - Change a cipher method of AES-CTR from a block cipher to a stream cipher. - Fix exclusive controls of asymmetric encryption. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-12-20rcar-gen3: IPL: Update SRCREV to follow the latest versionDuy Dang1-1/+1
This commit updates SRCREV of IPL and Secure Monitor to Rev2.0.0 for these changes: [IPL] - Update DDR setting for E3(rev0.11). - Change the condition of data transfer end of SCIF transfer. - Modify address area in the DDR memory config log output. - Update H3 Ver.3.0 QoS setting rev.0.09. - Update E3 Ver.1.0 QoS setting rev.0.04. - Update H3 Ver.2.0 QoS setting rev.0.20. - Update H3 Ver.3.0 QoS setting rev.0.10. - Update M3 Ver.1.1 QoS setting rev.0.18. - Update M3N Ver.1.1 QoS setting rev.0.08. - Update E3 Ver.1.0 QoS setting rev.0.05. - Modify load destination variable of the Cert Header to static. - [H/W Restriction No.100]: + Disable TLB function of IPMMU cache on E3 Ver.1.1. + Disable TLB function of IPMMU-PV0 cache on E3 Ver.1.x. [Secure Monitor] - Add API for getting DRAM capacity information. - Change the execution timing of system RAM copy process to BL31 startup. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-12-20rcar-gen3: u-boot: Drop SoC name in srec filesKhang Nguyen1-0/+1
This commit updates do_deploy function to drop the SoC name when deploying srec files, the purpose is to keep the legacy name of U-Boot build results. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-12-20rcar-gen3: u-boot: Update SRCREV to version 3.9.1Duy Dang1-2/+2
This commit updates SRCREV of U-Boot to version 3.9.1 for the following changes: - Generate fitting memory map on R-Car Gen3, fix protection area access error and fix to enable icache early in R-Car Gen3. - Add module clock stop before OS startup. - Reorder TMIO clock handling. - Do not issue CMD 6 on SD 1.00 and SD 1.01. - Fix protection area access error at Cortex-A53. - Avoid unsupported internal delay mode for R-Car E3 and limit to 100Mbps. - Revert "net: Fix cache misalignment message after network load operations" - Add "usb_pgood_delay" to the default environment variable. - Fix warning of the make W=1 C=2. - Resolve the problem that the eMMC read of the environment setting value may fail at startup. - Add vbus-supply regulator support. - Resolve the problem that the SD card (UHS, etc.) isn’t recognized. - Fix MOD_SEL bit numbering for R-Car E3. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xv@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: IPL: Support generating all variants of IPL binariesThuy Tran1-2/+2
This commit provides the capability to generate IPL binaries for H3/H3ULCB/E3 build variants at the same time. - For H3 SiP - *.srec: use for H3 SiP DDR 4GiB (1GiB x 4ch) - *-4x2g.srec: use for H3 SiP DDR 8GiB (2GiB x 4ch) - *-2x2g.srec: use for H3 SiP DDR 4GiB (2GiB x 2ch) - For H3ULCB SiP - *.srec: use for H3ULCB SiP DDR 4GiB (1GiB x 4ch) - *-4x2g.srec: use for H3ULCB SiP DDR 8GiB (2GiB x 4ch) - For E3 SiP - *.srec: use for E3 SiP DDR 1GiB - *-4d.srec: use for E3 SiP DDR 2GiB 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>
2018-10-29rcar-gen3: IPL: Upgrade IPL version according to BSP v3.8.0Khang Nguyen7-434/+4
This commit updates IPL and Secure Monitor to Rev1.0.23 rev2 for the following changes: [IPL] - plat: rcar: BL2: Correct MMU configuration. - plat: rcar: Fix suspicious line in platform.mk. - Change the definition value of BL2_LIMIT to end of System RAM. - Update IPL boot message. - Version up the base version to v1.5 of arm-trusted-firmware. - Update DDR setting (rev.0.34). - Modify the alignment of l2_tzram_layout to CACHE_WRITEBACK_GRANULE. - Update H3 Ver.3.0 QoS setting rev.0.08. - Update M3N Ver.1.1 QoS setting rev.0.07. - Update E3 Ver.1.0 QoS setting rev.0.03. - Fix the system WDT detection log is not output when D-Cache is enabled. - Change the timer counter of micro_wait to the Generic Timer. - Fix to log the timestamp at beginning of line. - Change the timer counter for processing time measurement to the Generic Timer. - Modify the DDR log output of IPL boot message. [Secure Monitor] - Version up the base version of arm-trusted-firmware. https://github.com/ARM-software/arm-trusted-firmware Commit ID ed8112606c54d85781fc8429160883d6310ece32 [Tag: v1.5] - Backport the workaround for CVE-2018-3639. Update optee_os Rev1.0.16 rev2 - Fix a contxt size allocated by OP-TEE OS with HW engine. - Fix to exclusive control in ECDSA operation used by HW engine. - Fix to set the initial value for a parameter in TEE_AEInit. - Fix to clear the read cache of standalone_fs_create. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: u-boot: Support deploying multiple u-boot binariesKhang Nguyen1-12/+27
This commit updates recipes to support deploying multiple u-boot binaries of Salvator-XS, H3ULCB and Ebisu boards. It also removed uboot-control.inc which is no longer used. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: u-boot: Update u-boot according to BSP v3.8.0Khang Nguyen2-6/+23
This commit updates u-boot according to BSP v3.8.0. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: u-boot: Backport u-boot v2018.09 upstreamKhang Nguyen5-36/+329
This commit backports u-boot v2018.09 upstream to Yv3.13.0. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-26rcar-gen3: OP-TEE: Drop python-wand and imagemagickThuy Tran2-5/+2
From optee 2.6.0 release [1], they do not use python-wand anymore. It also adds inherit pythonnative to optee-client to follow upstream version. [1] meta-linaro rev: 837fb7d048a30baa6356d3ceb493ec20074b8785 Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-26rcar-gen3: OP-TEE: Apply fix patch for MMU configurationDuy Dang2-0/+47
This commit applies a patch to fix an issue in MMU configuration in which Linux or OP-TEE may overwrite to the illegal memory area. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-19rcar-gen3: OP-TEE: Apply fix patchDuy Dang2-0/+43
This commit applies a patch to fix the following issues: - Fix to set the initial value for a parameter in TEE_AEInit - Fix to clear the read cache of standalone_fs_create. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-19rcar-gen3: arm-trusted-firmware: Support Ebisu 1GB DRAM as defaultDuy Dang1-1/+1
The new version of arm-trusted-firmware sets the default build for Ebisu 2GB DRAM board which is not supported. This commit switches the build option back to Ebisu 1GB DRAM. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-19rcar-gen3: IPL: Apply patch for DDR settingDuy Dang2-0/+200
This commit applies a patch for updating DDR setting. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-19rcar-gen3: IPL: Update IPL to the latest versionKhang Nguyen4-3/+145
This commit updates IPL/Secure Monitor for the following changes: Update IPL and Secure Monitor Rev1.0.22 [IPL] - Update CPG setting. - Add support Ebisu-4D board. - Change the timing to invalidate of instruction cache. - Fixed a bug in the exception handler. - Update DDR setting for E3. [Secure Monitor] - Add the wait processing that is placed in the system RAM area for Suspend To RAM. Update optee_os Rev1.0.15 - Fix the polling process of the HyperFlash driver waiting for HW completion. - Fix incorrect memory access in RSA processing using a provider for a HW engine driver. - Fix a conditional branch in a mutex_destroy function. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-19rcar-gen3: u-boot: Remove -fgnu89-inline flag from KCFLAGSDuy Dang1-2/+0
In the past, -fgnu89-inline flag was added to fix some incompatibilities with GCC 5. At the moment, the issue is resolved after upgrading to GCC 7.3. This commit removes -fgnu89-inline flag from KCFLAGS. Signed-off-by: Duy Dang <duy.dang.yw@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-19rcar-gen3: u-boot: Update SRCREV to follow the latest versionKhang Nguyen1-2/+2
This commit updates u-boot SRCREV to follow the latest version for following updates: - Remove MSTP initial setting value definition. - Increase console buffer sizes. Signed-off-by: Khang Nguyen <khang.nguyen.xw@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-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>