Hello,
I meet a problem during the imx8qxp processor start up, the CPU1,2,3 fail to come online.
I use the imx-yocto-L5.4.24_2.1.0 version.
Is the problem related to the configuration of scfw?
Thanks
已解决! 转到解答。
Hi @Chenyi_Luo ,
BL32_BASE = DRAM_BASE - 0x02000000 + DDR_SIZE
Hi @Chenyi_Luo,
ifeq (${PLAT},imx8dx)
BL32_BASE ?= 0x96000000
else
BL32_BASE ?= 0x96000000
endif
ifeq ($(SOC),iMX8DX)
TEE_LOAD_ADDR ?= 0x96000000
else ifeq ($(SOC),iMX8QX)
TEE_LOAD_ADDR ?= 0x96000000
endif
Thanks & Regards,
Dhruvit.
Hello @Dhruvit ,
Yes, we are using 1GB DDR now.
According to your reply, I adjusted the configuration of the memory size:
1.imx-atf/plat/imx/imx8qx/platform.mk
ifeq (${PLAT},imx8dx)
BL32_BASE ?= 0x96000000
else
BL32_BASE ?= 0x96000000
endif
2.imx-mkimage/iMX8QX/soc.mak
ifeq ($(SOC),iMX8DX)
TEE_LOAD_ADDR ?= 0x96000000
else ifeq ($(SOC),iMX8QX)
TEE_LOAD_ADDR ?= 0x96000000
endif
3.optee-os/core/arch/arm/plat-imx/conf.mk
ifneq (,$(filter $(PLATFORM_FLAVOR),mx8qxpmek mx8qmmek))
CFG_DDR_SIZE ?= 0x40000000
CFG_UART_BASE ?= UART0_BASE
endif
In addition, we also have some configuration about memory before:
4.uboot/include/configs/imx8qxp_mek.h
#ifdef CONFIG_TARGET_IMX8DX_MEK
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1 GB */
#define PHYS_SDRAM_2_SIZE 0x00000000 /* 0 GB */
#else
#if 0
#define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */
/* LPDDR4 board total DDR is 3GB */
#define PHYS_SDRAM_2_SIZE 0x40000000 /* 1 GB */
#else
/* total DDR is 1GB */
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1 GB */
#define PHYS_SDRAM_2_SIZE 0x00000000 /* 0 GB */
#endif
#endif
The above four changes are all of our changes to the memory size.
If there is only the fourth change point, then CPU startup will be abnormal(CPU1: failed to come online).
But if all four change points take effect, the download will be abnormal.
It will stack at "SDPV: jump", as the 图片.png shows.
The uuu script is emmc.uuu.txt.
Why is this? Is it because we set it up incorrectly?
Thank you.
Hi @Chenyi_Luo ,
BL32_BASE = DRAM_BASE - 0x02000000 + DDR_SIZE