How to test wdog2(TZ) in uboot and kernel?

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

How to test wdog2(TZ) in uboot and kernel?

1,355件の閲覧回数
zohanlin
Contributor IV

Hi all,

I test wdog2 on i.MX6Q with Yocto(kernel 4.9.88)

I tried to test wdog2(TZ) in u-boot and kernel.

In uboot, I  modified ./drivers/watchdog/imx_watchdog.c and replaced WDOG1_BASE_ADDR with WDOG2_BASE_ADDR, it not worked.

In kernel, I don't know how to ensure the wdog2 is worked. But when system reboot, WDOG2_B would be pull low.

I found some info in imx6 Watchdog ,but page not found.

How to test wdog2(TZ) in uboot and kernel?

Could someone tell me how to test it?

Thanks for your help.

ラベル(4)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,285件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi zohan

wdog2 is enabled in imx6qdl-sabresd.dtsi

imx6qdl-sabresd.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

for testing one can try wdog unit test:

wdog\test - imx-test - i.MX Driver Test Application Software 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,285件の閲覧回数
zohanlin
Contributor IV

Hi igor,

Thanks for you relpy.

But I have a question.

Does wdog2 work on trust zone?

Thanks,

zohan 

0 件の賞賛
返信