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
Solved! Go to Solution.
you may execute the command in the C program.
for your reference : https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pageId=87152177
The command in Linux is "reboot"
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
you may execute the command in the C program.
for your reference : https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pageId=87152177
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