[PATCH] configs: mediatek: do not autostart the watchdog on the Genio EVKs
Tom Rini
trini at konsulko.com
Mon Jul 6 15:57:12 CEST 2026
On Mon, Jul 06, 2026 at 03:24:59PM +0200, Carlo Caione wrote:
> U-Boot autostarts the SoC watchdog (CONFIG_WATCHDOG_AUTOSTART default
> y) and services it from its main loop, but nothing services it after
> ExitBootServices()/bootm: an EFI-booted OS that does not take over the
> watchdog in time is reset mid-boot at a wall-clock-dependent point.
>
> The MediaTek toprgu can count at most ~16 seconds, once firmware stops
> servicing it at the handoff, the OS has whatever is left of those 16
> seconds.
>
> On the Genio 700 EVK the generic Ubuntu 26.04 arm64 image is hard-reset
> before its first boot reaches the login prompt: the mtk-wdt driver is
> a module loaded from the rootfs and cannot win that race. Nothing tells
> a generic OS that the watchdog is armed, so the failure is silent and,
> from the user's side, indistinguishable from broken firmware.
>
> Disable WATCHDOG_AUTOSTART for the Genio EVK boards (mt8365_evk
> directly, mt8188.config for the Genio 510/700).
>
> Signed-off-by: Carlo Caione <ccaione at baylibre.com>
Thanks!
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260706/35e9642b/attachment.sig>
More information about the U-Boot
mailing list