All,
I am testing Volodymyr's dynamic shared memory patches, which depends on the non-sec DDR support that has been added in OP-TEE recently. I am testing this on a Juno platform which has a DDR split into 2 different regions: 0x0_80000000 2G 0x8_80000000 6G
The platform_config.h allows you to define a DRAM0 base/size which then is used in the macro: register_nsec_ddr(DRAM0_BASE, DRAM0_SIZE);
I tried defining the second DDR region in platform_config.h and a second call to register_nsec_ddr(), but that did not work.
Has anyone succeeded in having the nsec DDR split into 2 regions?
Would Jen's patch: core: assign non-sec DDR configuration from DT
...solve this issue? Right now the Juno does not use CFG_DT, and when I turn it on OP-TEE reports that it cannot find the device tree.
Thanks, Stuart