imx8mm : Getting Kernel Panic

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

imx8mm : Getting Kernel Panic

跳至解决方案
1,781 次查看
santhosh2
Contributor IV

Hello,

I am getting a kernel panic message after that the processor hangs and the only way to recover is to do a power on reset. Is there any other way that once kernel panic happens the processor reboots automatically?

 

Regards

Santhosh

0 项奖励
回复
1 解答
1,761 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Santhosh

 

in general wdog can be used in such situations, it can reset pmic and all board,

example can be found in i.MX8M Mini EVK design

https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-...

 

Best regards
igor

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,762 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Santhosh

 

in general wdog can be used in such situations, it can reset pmic and all board,

example can be found in i.MX8M Mini EVK design

https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-...

 

Best regards
igor

0 项奖励
回复
1,756 次查看
santhosh2
Contributor IV

Thanks,

Link: https://www.techrepublic.com/blog/linux-and-open-source/auto-reboot-linux-after-a-kernel-panic/

I also configured Linux to automatically reboot on a kernel panic by making a small modification to /etc/sysctl.conf,

Add the following to /etc/sysctl.conf:

kernel.panic = 20

This tells the kernel that if it encounters a panic, it is to reboot the system after a 20 second delay. By default, the kernel will never reboot when it encounters a panic, but with the above setting you can force it to.

 

Regards

Santhosh

0 项奖励
回复