Currently I try to get an OPTEE enabled image to work on our custom iMX8QXP board with 1GB of RAM. I followed AN13275 as closely as possible (building ATF, SCFW, OP-TEE OS) and creating the final image with
make SOC=iMX8QX REV=C0 flash_spl_flexspi
The resulting binary is around 2MB in size which makes sense to me. Flashing this image to our board results in the following U-Boot output
U-Boot SPL 2022.04-dirty (Sep 26 2023 - 12:00:52 +0000)
Normal Boot
Trying to boot from SPI
Primary set selected
Load image from QSPI 0x52800
UU
and the following output from SCFW
Hello from SCU (Build 5624, Commit 6638c032, Nov 02 2022 07:45:49)
GS on SCU UART (G444) (build on Nov 9 2023 14:55:45)
board_get_ram_size() is 16
SCFW: DDR frequency = 1200000000
board_system_config(0, 0)
Start PMIC init
Finished PMIC init
board_set_power_mode(A35, 0, 0, 3)
ROM boot time = 57522 usec
Boot time = 55883 usec
Banner = 15054 usec
Init = 9169 usec
Config = 2838 usec
DDR = 12619 usec
SConfig = 2836 usec
Prep = 10727 usec
*** Debug Monitor ***
>$ NOTICE: Memreg 1 0x0 -- 0x1bffffff
NOTICE: Memreg 2 0x34000000 -- 0x37ffffff
NOTICE: Memreg 3 0x70000000 -- 0x7fffffff
NOTICE: Memreg 4 0x80000000 -- 0xffffffff
NOTICE: Memreg 5 0x400000000 -- 0x43fffffff
NOTICE: Non-secure Partitioning Succeeded
NOTICE: BL31: v2.6(release):OS026S00B12.OSQ-119-gbcc0f45ed7-dirty
NOTICE: BL31: Built : 14:55:42, Nov 9 2023
Afterwards I don't see any additional output. If I build ATF without optee support U-Boot SPL is successfully starting U-Boot. Can you give me any hints on how to debug this further?