2025-04-02 3:39 AM
Hello guys,
As per the subject, where can i find a guide about starting new OPTEE port? Unfortunately i didn't find anything descriptive enough in the WIKI. Being stm32mp151c additionally complicates the matter as all supported platforms are '157x. As far as i can tell these aren't interchangeable and i've run into a lot of issues.
I am trying to make do with 'opteemin' version of TF-A and OPTEE, and i get as far as:
```
I/TC: Early console on UART#4
I/TC:
I/TC: Embedded DTB found
I/TC: OP-TEE version: 4.0.0-stm32mp-r1-1-g70cd98575f5f-dev (gcc version 13.3.0 (GCC)) #6 Wed Apr 2 09:12:25 UTC 2025 arm
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: RCC is non-secure
I/TC: Platform stm32mp1: flavor PLATFORM_FLAVOR - DT stm32mp151c-xxx.dts
I/TC: OP-TEE ST profile: system_services
E/TC:0 0 probe_dt_drivers:902 Probe sequence result: 0x80000000
E/TC:0 0 Panic
```
From what i saw in the code this time it _is_ the DT that causes the problem, but i can't see exactly what's missing. Any insight will be greatly appreciated.
thanks,
Petko
2025-04-03 2:22 AM
Hello @petkan ,
Is it possible for you to activate the full debug logs as well as your device tree file used (if no sensitive information) ?
Can you also precise on which OpenSTLinux you are based ? OSTL 6.0 ?
Kind regards,
Erwan.