I'm using a custom board, and use the optee device tree generated by STM32CUBEMX and full UART log. Panic at core/kernel/dt_driver.c:904 <probe_dt_drivers>. How to solve this problem?
This indicates that a driver(core/drivers/stm32_cpu_opp.c) has failed to probe in OP-TEE. This leads to a panic of the platform to prevent undesired behavior in the TEE. The error code refers to something not supported (error code 0xFFFF000A being TEE_ERROR_NOT_SUPPORTED).
It probably means that there's something wrong with the OPP being configured, whether it's linked to the regulator or the frequency. It seems you don't have a PMIC and maybe there's something wrong with the regulator referenced by the "cpu-supply" property of your board. Maybe you can take example on other PMIC-less boards.
I have the same issue , first and fall cube MX generated OPTEE RIF file for LTDC RIFC configuration Macro is wrong , i solved manually , but now i am facing the issue in OPTEE , I am using the STM32mp255dak3 proccessor.
OP-TEE version: devtool-patched-dev (gcc version 13.3.0 (GCC)) #12 Thu Jul 24 08:23:11 UTC 2025 aarch64 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: WARNING: All debug access are allowed I/TC: UART console (non-secure) I/TC: Platform stm32mp2: flavor PLATFORM_FLAVOR - DT stm32mp255d-custom_eds-mx.dts I/TC: OP-TEE ST profile: secure_and_system_services E/TC:0 0 probe_dt_drivers:902 Probe sequence result: 0x80000000 E/TC:0 0 Panic at /usr/src/debug/optee-os-stm32mp/4.0.0-stm32mp-r1.2/core/kernel/dt_driver.c:904 <probe_dt_drivers> E/TC:0 0 TEE load address @ 0x82000000 E/TC:0 0 Call stack: E/TC:0 0 0x82007ed8 E/TC:0 0 0x82041e3c E/TC:0 0 0x8203e24c E/TC:0 0 0x820439bc E/TC:0 0 0x820079d8 E/TC:0 0 0x82007ce8
I am using STstlinux distribution package where i added the custom dts file which is generated from the cubemx application. >>>CFG_TEE_CORE_LOG_LEVEL=3.
in which and file and location i need to add this line ? ..... I added into the core/arch/arm/plat-stm32mp2/conf.mk , is it correct location i added but full not visible >>>explain what was wrong with the LTDC CubeMX configuration Actually i am using the new version that 25.06.11 , but my distribution package is 24.05. like that , SO Optee.RIF generated file LTDC macro is different that's why it's getting wrong. so now i am using latest distro package with latest genarate dts. also i am getting the same error.
please help me out this, because we already having production late ?
Sure, I can help you if I have sufficient information to provide help.
core/arch/arm/plat-stm32mp2/conf.mk 's value is probably superseded by the value present in the command line you use to build OP-TEE in that case, please make sure of it.
Then, you will have debug messages enabled and more information to know what's going on. Because there's no error message other than driver probing sequence failed, I cannot help you more for now.
OP-TEE generates a conf.mk file containing all the embedded switches in the build directory if that can help as well.
having a deferral at this stage means that there's no associated provider for the regulator that is being initialized. What exactly did you do to solve your PMIC issue?
I suspect the driver that handle this regulator is not probed.
Is it possible you share your device tree (or relevant part of it) and identify with traces in optee_scmi_server_init_pd() which is the faulty regulator?
What exactly did you do to solve your PMIC issue? Actually i forgot to use status into the regulator dts , it means by default it disabled , i need to be use status = "okay"
then it works fine , and successfully boot till kernel
Now the challenging part is 1. ethernet is not working 2. HDMI is not working , 3. Audio is not working 4. USB hub also not working.
as of now my main priority is HDMI and Ethernet , i have attached the log file. i2c2 pin layout.
both Ethernet is working fine , successfully integrate with linux, [ 10.425593] stm32-dwmac 482c0000.eth1 end1: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 10.432573] stm32-dwmac 482c0000.eth1 end1: Register MEM_TYPE_PAGE_POOL RxQ-1 [ 10.626682] stm32-dwmac 482c0000.eth1 end1: PHY [stmmac-1:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL) [ 10.640261] dwmac4: Master AXI performs any burst length [ 10.641935] stm32-dwmac 482c0000.eth1 end1: No Safety Features support found [ 10.649363] stm32-dwmac 482c0000.eth1 end1: IEEE 1588-2008 Advanced Timestamp supported [ 10.657982] stm32-dwmac 482c0000.eth1 end1: registered PTP clock [ 10.666807] stm32-dwmac 482c0000.eth1 end1: FPE workqueue start [ 10.669351] stm32-dwmac 482c0000.eth1 end1: configuring for phy/rgmii-id link mode [ 10.718123] stm32-dwmac 482d0000.eth2 end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 10.720935] stm32-dwmac 482d0000.eth2 end0: Register MEM_TYPE_PAGE_POOL RxQ-1 [ 10.916262] stm32-dwmac 482d0000.eth2 end0: PHY [stmmac-0:04] driver [RTL8211F Gigabit Ethernet] (irq=POLL) [ 10.928343] dwmac4: Master AXI performs any burst length [ 10.928414] stm32-dwmac 482d0000.eth2 end0: No Safety Features support found [ 10.935290] stm32-dwmac 482d0000.eth2 end0: IEEE 1588-2008 Advanced Timestamp supported [ 10.943500] stm32-dwmac 482d0000.eth2 end0: registered PTP clock [ 10.949699] stm32-dwmac 482d0000.eth2 end0: FPE workqueue start [ 10.957785] stm32-dwmac 482d0000.eth2 end0: configuring for phy/rgmii-id link mode [ 19.026844] platform 48010000.display-controller: deferred probe pending [ 19.027999] platform sound: deferred probe pending [ 19.032847] stm32mp_pm_domain power-domain-d1: sync_state() pending due to 48010000.display-controller [ 28.114704] stm32-dwmac 482c0000.eth1 end1: Link is Up - 1Gbps/Full - flow control rx/tx [ 32.080579] vddio3: disabling [ 32.080661] vddio4: disabling [ 32.080930] vdda18adc: disabling [ 32.084276] v5v_vconn: disabling [ 32.209012] stm32-dwmac 482c0000.eth1 end1: Link is Down [ 34.546692] stm32-dwmac 482d0000.eth2 end0: Link is Up - 1Gbps/Full - flow control rx/tx [ 125.376335] stm32-dwmac 482c0000.eth1 end1: Link is Up - 100Mbps/Full - flow control rx/tx [ 134.878522] stm32-dwmac 482d0000.eth2 end0: Link is Down [ 136.638282] stm32-dwmac 482c0000.eth1 end1: Link is Down
Now the problem is LTDC, please let me know any configuration i did wrong.
here is the log of dmesg "dmesg-log1.txt". In my custom board i did not use lvds display, but i used HDMI with DSI bridge as like DK board. i attached the dts file of u-boot and linux , if there is something missing please let me know ,