Hello 穆 昆空,
FRDM-LS1012A DRAM start address is 0x8000_0000, size is 446M(0x1BE00000).
In the file core/arch/arm/plat-ls/platform_config.h, please add the following definition.
#if defined(PLATFORM_FLAVOR_ls1012afrdm)
#define DRAM0_SIZE 0x1BE00000
#define CFG_DDR_TEETZ_RESERVED_START 0x97E00000
#define CFG_DDR_TEETZ_RESERVED_SIZE 0x04000000
#define CFG_TEE_RAM_VA_SIZE (2 * 1024 * 1024)
#define CFG_PUB_RAM_SIZE (2 * 1024 * 1024)
#define CFG_TEE_CORE_NB_CORE 1
#endif
Please modify the file core/arch/arm/plat-ls/conf.mk to add the following.
ifeq ($(PLATFORM_FLAVOR), ls1012afrdm)
CFG_HW_UNQ_KEY_REQUEST ?=y
include core/arch/arm/cpu/cortex-armv8-0.mk
endif
Thanks,
Yiping