i.MX93 Linux reboot not working

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX93 Linux reboot not working

跳至解决方案
741 次查看
PBoerner
Contributor II

We have a custom board based on i.MX93 running with Linux 6.6.52, and in principle everything works fine.

But calling reboot stuck at the end and does not restart the CPU and the board.

In U-Boot the command reset works perfect.

I followed the calls and can see, both, U-Boot and Linux kernel, calls

   invoke_psci_fn(PSCI_0_2_FN_SYSTEM_RESET, 0, 0, 0);

In U-Boot the CPU restarts, in Linux nothing is happening after that PSCI call.

I tried CONFIG_ARM_PSCI_CHECKER to see if PSCI is working and the tests done during Linux boot finished with success.

So it looks like the according PSCI call PSCI_0_2_FN_SYSTEM_RESET is not working correct under Linux.

Any idea what could be the reason?

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
598 次查看
PBoerner
Contributor II

Solved!

In old version of imx93.dtsi only watchdog 3 (wdog3) is available and activated by default. In newer version several watchdogs are available and disabled by default. So you have to activate them explicitly by setting status to okay.

And it seems that wdog3 is needed for the reboot in the Linux system.

So after explicitly activating wdog3 via the device tree reboot is working.

在原帖中查看解决方案

0 项奖励
回复
1 回复
599 次查看
PBoerner
Contributor II

Solved!

In old version of imx93.dtsi only watchdog 3 (wdog3) is available and activated by default. In newer version several watchdogs are available and disabled by default. So you have to activate them explicitly by setting status to okay.

And it seems that wdog3 is needed for the reboot in the Linux system.

So after explicitly activating wdog3 via the device tree reboot is working.

0 项奖励
回复