
10 Dec
2021
10 Dec
'21
9:32 a.m.
Hi Quentin,
On 12/9/21 5:43 PM, Quentin Schulz wrote:
From a quick look at the code, you need to enable CONFIG_WDT_AT91 and the watchdog won't be disabled anymore by the SPL.
See: https://elixir.bootlin.com/u-boot/latest/source/arch/arm/mach-at91/spl_atmel... and https://elixir.bootlin.com/u-boot/latest/source/arch/arm/mach-at91/spl.c#L16
Good catch, thanks! Indeed setting CONFIG_WDT_AT91=y did the trick.
I didn't consider enabling the watchdog driver to avoid disabling the watchdog timer! Thanks again, Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com