Dear Team,
Currently, I'm working on WDOG in our i.Mx8DX based custom board.
There I'm using L4.14.98_2.0.0 source.
I'm trying to test the WDOG functionality in it.
So, I'm running the below existing application
./wdt_driver_test.out 2 1 0 &
I can bale to see the reboot prints on console but when I'm probing the "SCU_WDOG_OUT" it's not pulsing.
Anything need to do specifically for i.Mx8X wdog ?
Is there any modification required in SCU side ?
Please guide me to move further.
Thank You.
Best Regards,
J.P.Raja
Hi Raja
one can try in wdog driver imx_sc_wdt_start() change SC_TIMER_WDOG_ACTION_PARTITION to SC_TIMER_WDOG_ACTION_BOARD
L4.14.98_2.0.0 is not good kernel for testing i.MX8QXP(DX) processors, in particular
latest rev.C0 is not supported as described below, column "Supported Platforms"
Best regards
igor
Dear Igor,
Thanks for your quick response.
We are in the final stage of release process. So, we can't change the release version.
When I'm checking with my kernel, I couldn't find the imx_sc_wdt.c file as well as "imx_sc_wdt_start" function.
Just a macro definition is there in, "include/soc/imx8/sc/svc/timer/api.h" file.
What can I do further ?
How to test the functionality without changing the kernel version?
Thank You.
Best Regards,
J.P.Raja
Hi Raja
what processor revision used in the case.
Best regards
igor
Dear Igor,
Currently we are using i.Mx8DX5 (b0 silicon) based custom board.
Thank You.
Best Regards,
J.P.Raja
Hi Raja
one can try to add wdog initialization is scfw board.c like:
timer_set_wdog_timeout(pt_boot, 15000);
timer_set_wdog_action(SC_PT, pt_boot, SC_TIMER_WDOG_ACTION_BOARD);
timer_start_wdog(pt_boot, 0);
Description of that functions can be found in sc_fw_api_qx_b0.pdf included in
Best regards
igor