This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, sir!We have the following scenarios on our custom TDA4 board:
After starting the kernel, if the kernel fails to start for some reason, tda4 will restart automatically, and then uboot starts the backup kernel.
Therefore, we need a common interface strategy, such as watchdog, which is opened after the startup of uboot. If the kernel fails to start, resulting in the subsequent failure of normal dog feeding, tda4 will automatically restart.
Is there an interface or service for me to realize it?
Thanks!
Hi,
There is RTI watchdog driver support in u-boot: drivers/watchdog/rti_wdt.c
The device tree entries are also present. You will need to enable CONFIG_WDT_RTI in u-boot.
Let me know if you need more details.
- Keerthy
Hi,
I recommend going through u-boot documentation. There is no ready example that I can point you to.
I will need couple of days to figure this out.
Thanks,
Keerthy
Hi,
Can you enable CONFIG_CMD_WDT this will give you command line interface to check watchdog instances on u-boot.
I have not been able to check on the board. The above should be a simple way to check the watchdogs on u-boot.
Thanks,
Keerthy