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.
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!
-----------------------------------------------------------------------------------------------------------------------
Hi igor,
Thanks for you relpy.
But I have a question.
Does wdog2 work on trust zone?
Thanks,
zohan