cancel
Showing results for 
Search instead for 
Did you mean: 

Panic at core/kernel/dt_driver.c:904 <probe_dt_drivers>

SullyNiu
Associate II

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?

14 REPLIES 14

Hi @GatienC 

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.

asadullah4571_0-1753789911824.png

 

Hi @GatienC 

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 , 
 

Hi @asadullah4571.,

Do you have fixed the display issue?

I have the same LTDC problems. I want to enable DSI MIPI panel on STM32mp257f-ev1 board.

I also find these log in dmesg.

platform 48010000.display-controller: deferred probe pending
stm32mp_pm_domain power-domain-d1: sync_state() pending due to 48010000.display-controller

If you have any new idea, we can share the information.

Thanks.

@Tim_ho 
Actually I already fix the issues related to the LTDC , but in my case i did not use DSI panel , i used only HDMI, 
and you need the generate the full logs , then i can able to help me you .

Hi @asadullah4571 ,

Could you share how to fix the issues on LTDC?

I attached the kernel full logs and some display information, please refer it.

Thank for your help.