diff options
| author | Carlo Caione <[email protected]> | 2026-07-06 15:24:59 +0200 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-07-22 11:51:19 -0500 |
| commit | f309d23e3a171d56a4a6c2eb21588a370b8c811e (patch) | |
| tree | 7a69451443107b9424b11c91815bcecb68c3a9cd | |
| parent | 729eadd987a6dabadf72dcc7038c09b5f947e669 (diff) | |
configs: mediatek: do not autostart the watchdog on the Genio EVKs
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: David Lechner <[email protected]>
| -rw-r--r-- | configs/mt8188.config | 1 | ||||
| -rw-r--r-- | configs/mt8365_evk_defconfig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/mt8188.config b/configs/mt8188.config index 0f748415602..ece4e60f1ee 100644 --- a/configs/mt8188.config +++ b/configs/mt8188.config @@ -22,6 +22,7 @@ CONFIG_PINCTRL_MT8188=y CONFIG_BAUDRATE=921600 CONFIG_DM_SERIAL=y CONFIG_MTK_SERIAL=y +# CONFIG_WATCHDOG_AUTOSTART is not set CONFIG_WDT=y CONFIG_WDT_MTK=y # CONFIG_RANDOM_UUID is not set diff --git a/configs/mt8365_evk_defconfig b/configs/mt8365_evk_defconfig index 202879ba66d..5db8418e36f 100644 --- a/configs/mt8365_evk_defconfig +++ b/configs/mt8365_evk_defconfig @@ -31,5 +31,6 @@ CONFIG_DM_REGULATOR_MT6357=y CONFIG_BAUDRATE=921600 CONFIG_DM_SERIAL=y CONFIG_MTK_SERIAL=y +# CONFIG_WATCHDOG_AUTOSTART is not set CONFIG_WDT=y CONFIG_WDT_MTK=y |
