WDG RST / Reboot Call in i.MX8MM EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WDG RST / Reboot Call in i.MX8MM EVK

Jump to solution
1,539 Views
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 Kudos
Reply
1 Solution
1,515 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
1,530 Views
jimmychan
NXP TechSupport
NXP TechSupport

The command in Linux is "reboot"

0 Kudos
Reply
1,523 Views
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 Kudos
Reply
1,516 Views
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 Kudos
Reply
1,489 Views
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 Kudos
Reply