WDG RST / Reboot Call in i.MX8MM EVK

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

WDG RST / Reboot Call in i.MX8MM EVK

跳至解决方案
1,111 次查看
sreedhar_appala
Contributor IV

Hi,

I am working with i.MX8MM EVK and imx-warrior 4.19 distribution.

I wish to restart the system during some condition in my system.

could you please let me know the syntax to call watchdog reset or reboot in code.

Thank you, Sreedhar

0 项奖励
1 解答
1,087 次查看
jimmychan
NXP TechSupport
NXP TechSupport

you may execute the command in the C program.

for your reference : https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pageId=87152177

在原帖中查看解决方案

0 项奖励
4 回复数
1,102 次查看
jimmychan
NXP TechSupport
NXP TechSupport

The command in Linux is "reboot"

0 项奖励
1,095 次查看
sreedhar_appala
Contributor IV

Hi JimmyChan,

Thank you, I can issue the reboot command in console.

I need to know the syntax to put in the c code.

Thank you, Sreedhar

0 项奖励
1,088 次查看
jimmychan
NXP TechSupport
NXP TechSupport

you may execute the command in the C program.

for your reference : https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pageId=87152177

0 项奖励
1,061 次查看
sreedhar_appala
Contributor IV

Hi Jimmychan,

Thank you for the response. I need to reboot the system during exception occurrence.

Could you please suggest how to do reboot from kernel space.

Let me know if need to create a new thread

Thank you, Sreedhar

0 项奖励