Re: rk3399: Loading OP-TEE by SPL?

2023-02-21 Thread Kever Yang
Hi Christoph,     The SPL_OPTEE_IMAGE is suppose to use like ATF for armv7:     TPL->SPL->BL31/ATF/OPTEE->U-Boot.     But not for OPTEE use as a BL32 after BL31.     BL31 and U-Boot is package as a itb file, so it's easy to add a BL32, but you may need to study how BL31 get entry to BL32 an

rk3399: Loading OP-TEE by SPL?

2023-02-21 Thread Christoph Fritz
Hello, my goal is to load OP-TEE after BL31 and before u-boot, so I enabled CONFIG_SPL_OPTEE_IMAGE. But it fails to build (tested current master): $ make -j$(nproc) CROSS_COMPILE=aarch64-linux-gnu- rock-pi-4-rk3399_defconfig all ./arch/arm/include/asm/unified.h: Assembler messages: ./arch/arm