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,006 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
1 Solution
982 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
4 Replies
997 Views
jimmychan
NXP TechSupport
NXP TechSupport

The command in Linux is "reboot"

0 Kudos
990 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
983 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
956 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