There are now some RZ/N1 devices with 1GB rather than 256MB. The first-stage bootloader does not support passing a DT to OP-TEE, so static values are set at compile time. Increase the DDR size so as to avoid OP-TEE calls failing with TEEC_ERROR_OUT_OF_MEMORY.
Signed-off-by: Ralph Siemsen ralph.siemsen@linaro.org --- core/arch/arm/plat-rzn1/platform_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/arch/arm/plat-rzn1/platform_config.h b/core/arch/arm/plat-rzn1/platform_config.h index a6340bb33..eb709c62f 100644 --- a/core/arch/arm/plat-rzn1/platform_config.h +++ b/core/arch/arm/plat-rzn1/platform_config.h @@ -11,7 +11,7 @@
/* DRAM */ #define DRAM_BASE 0x80000000 -#define DRAM_SIZE 0x10000000 +#define DRAM_SIZE 0x40000000
/* GIC */ #define GIC_BASE 0x44100000
Hi Ralph,
On Fri, 12 May 2023 at 22:36, Ralph Siemsen ralph.siemsen@linaro.org wrote:
There are now some RZ/N1 devices with 1GB rather than 256MB. The first-stage bootloader does not support passing a DT to OP-TEE, so static values are set at compile time. Increase the DDR size so as to avoid OP-TEE calls failing with TEEC_ERROR_OUT_OF_MEMORY.
Signed-off-by: Ralph Siemsen ralph.siemsen@linaro.org
core/arch/arm/plat-rzn1/platform_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks for your patch. OP-TEE OS development happens over Github, so please create a corresponding Github PR here [1].
[1] https://github.com/OP-TEE/optee_os/pulls
-Sumit
diff --git a/core/arch/arm/plat-rzn1/platform_config.h b/core/arch/arm/plat-rzn1/platform_config.h index a6340bb33..eb709c62f 100644 --- a/core/arch/arm/plat-rzn1/platform_config.h +++ b/core/arch/arm/plat-rzn1/platform_config.h @@ -11,7 +11,7 @@
/* DRAM */ #define DRAM_BASE 0x80000000 -#define DRAM_SIZE 0x10000000 +#define DRAM_SIZE 0x40000000
/* GIC */
#define GIC_BASE 0x44100000
2.25.1
Hi Sumit,
On Mon, May 15, 2023 at 1:33 AM Sumit Garg sumit.garg@linaro.org wrote:
Thanks for your patch. OP-TEE OS development happens over Github, so please create a corresponding Github PR
Done: https://github.com/OP-TEE/optee_os/pull/6025
For some reason I seem unable to assign reviewers in github UI, but perhaps that is intentional.
Ralph
On 5/15/23 17:53, Ralph Siemsen wrote:
Hi Sumit,
On Mon, May 15, 2023 at 1:33 AM Sumit Garg sumit.garg@linaro.org wrote:
Thanks for your patch. OP-TEE OS development happens over Github, so please create a corresponding Github PR
Done: https://github.com/OP-TEE/optee_os/pull/6025
For some reason I seem unable to assign reviewers in github UI, but perhaps that is intentional.
No worries, the core maintainers (and anyone who subscribed to the project in fact) are notified automatically. If there is someone in particular you would like to get feedback from, you may simply mention him/her by GitHub handle in a comment, for example: CC @someone.
Thanks,
op-tee@lists.trustedfirmware.org