WDG RST / Reboot Call in i.MX8MM EVK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

WDG RST / Reboot Call in i.MX8MM EVK

ソリューションへジャンプ
1,072件の閲覧回数
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

ラベル(3)
0 件の賞賛
1 解決策
1,048件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport
0 件の賞賛
4 返答(返信)
1,063件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

The command in Linux is "reboot"

0 件の賞賛
1,056件の閲覧回数
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,049件の閲覧回数
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,022件の閲覧回数
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 件の賞賛