cancel
Showing results for 
Search instead for 
Did you mean: 

stm32mp157fad dts config and kernel start

GongMinghe
Associate II

 

Hi~ My board gets stuck at the kernel stage during boot. I've referred to numerous related posts but failed to resolve the issue.
The boot file versions I use are OP-TEE 4.0, U-Boot 2023.10 and Linux 6.6.116.
The official device tree I referenced is stm32mp157f-ed1.
I have attached the boot logs, hardware schematic and device tree files. Please help analyze the root cause of the problem.

 

 

 

stm32f7-i2c i2c@5c002000: pinctrl_select_state_full: pinctrl_config_one: err=-19​
 

 

 

 

[    1.741795] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0
[    1.748959] DEBUG: SCMI CLOCK PROBE STARTED! sdev name: scmi_dev.2
I/TC: SCMI-CLOCK: Reporting 34 clocks to Linux
I/TC: SCMI-FW: ETZPC ID 2 DENIED for Non-Secure world!
I/TC: SCMI-MSG: NS Request Clock ID 15 (iwdg1), ETZPC 2, Access=FAIL
I/TC: SCMI-CLK: ID 15 has no name/not found
I/TC: SCMI-FW: ETZPC ID 7 DENIED for Non-Secure world!
I/TC: SCMI-MSG: NS Request Clock ID 16 (rng1_k), ETZPC 7, Access=FAIL
I/TC: SCMI-CLK: ID 16 has no name/not found
[    1.793499] scmi-clocks: probe of scmi_dev.2 failed with error -1050650364
[    2.404687] clk: Disabling unused clocks
[    2.407399] Warning: unable to open an initial console.
[    2.416636] Freeing unused kernel image (initmem) memory: 2048K
[    2.421697] Run /init as init process
[   12.764703] platform 50000000.rcc: deferred probe pending
[   12.768728] platform soc:pinctrl@50002000: deferred probe pending
[   12.774753] platform soc:pinctrl@54004000: deferred probe pending
[   12.780888] platform 48002000.dma-router: deferred probe pending
[   12.786859] platform 48000000.dma-controller: deferred probe pending
[   12.793189] platform 48001000.dma-controller: deferred probe pending
[   12.799575] platform 58000000.dma-controller: deferred probe pending
[   12.805904] platform 40010000.serial: deferred probe pending
[   12.811539] platform 5c004000.rtc: deferred probe pending
[   12.816959] platform 5c002000.i2c: deferred probe pending
[   12.822322] platform 50028000.thermal: deferred probe pending
[   12.828078] platform stm32-cpufreq: deferred probe pending
[   12.833540] platform led: deferred probe pending
[   12.838168] platform 50001000.pwr: deferred probe pending
[   12.843540] amba 58005000.mmc: deferred probe pending
E/TC:1   Panic 'Watchdog' at core/drivers/stm32_iwdg.c:218 <stm32_iwdg_it_handler>
I/TC: Halting CPU 0
 
 
 

The log messages below are added by myself. RNG1 and IWDG1 can only be configured as secure peripherals in OP-TEE, so I believe these failure logs are not the cause of the boot stall.

 

 

 
I/TC: SCMI-CLOCK: Reporting 34 clocks to Linux
I/TC: SCMI-FW: ETZPC ID 2 DENIED for Non-Secure world!
I/TC: SCMI-MSG: NS Request Clock ID 15 (iwdg1), ETZPC 2, Access=FAIL
I/TC: SCMI-CLK: ID 15 has no name/not found
I/TC: SCMI-FW: ETZPC ID 7 DENIED for Non-Secure world!
I/TC: SCMI-MSG: NS Request Clock ID 16 (rng1_k), ETZPC 7, Access=FAIL
I/TC: SCMI-CLK: ID 16 has no name/not found​
2 REPLIES 2
GongMinghe
Associate II
[    1.899644] scmi-clocks: probe of scmi_dev.2 failed with error -1050650364

I wonder if the above errors lead to the boot failure. This issue has troubled me for a month and a half. I would appreciate it greatly if you could offer your help.

GongMinghe
Associate II

"I switched to another version of the SDK, the official 6.0.0. It seems to be stuck at the same place. Please see the attached log."