Software summary
Bootloader: U-Boot
Kernel version: 6.6.108-7.4.0-devel #1 SMP PREEMPT Thu Sep 25 09:00:10 UTC 2025
Kernel command line: ubi.mtd=ubi root=ubi0:rootfs rw rootfstype=ubifs ubi.fm_autoconvert=1 console=tty1 console=ttymxc0,115200n8 mtdparts=gpmi-nand:512k(mx6ull-bcb),1536k(u-boot1)ro,1536k(u-boot2)ro,512k(u-boot-env),-(ubi)
Distro name: NAME=“TDX Wayland with XWayland Upstream”
Distro version: VERSION_ID=7.4.0-devel-20251021032930-build.0
Distro variant: -
Hostname: colibri-imx6ull-15591266
Hardware info
HW model: Toradex Colibri iMX6ULL 256/512MB on Colibri Evaluation Board V3
Toradex version: 0036 V1.1A
Serial number: 15591266
Processor arch: armv7l
I understand from various discussions that, because of the way the Watchdog Timeout reset causes a cold-reset through PMIC, the ‘SRC Reset Status Register (SRC_SRSR)‘ always indicates the ‘Reset Cause’ as POR even if reset triggered by Watchdog Timeout. Seems to be same problem with ‘Watchdog Reset Status Register (WDOGx_WRSR)‘. Shown below the console log indicating the problem:
……….
TDX Wayland with XWayland Upstream 7.4.0-devel-20251023161417+build.0 (scarthgap) colibri-imx6ull-15591266 ttymxc0
Colibri-iMX6ULL_Reference-Minimal-Image-upstream
colibri-imx6ull-15591266 login: [ 182.390577] 8<— cut here —
[ 182.393841] Unhandled fault: external abort on non-linefetch (0x1008) at 0xb6faf004
[ 182.401789] [b6faf004] *pgd=8313b835, *pte=020bc703, *ppte=020bce33
[ 276.165612] watchdog: watchdog0: watchdog did not stop!
U-Boot 2024.07-7.4.0-devel+git.3f772959501c (Jul 01 2024 - 18:07:18 +0000)
CPU: Freescale i.MX6ULL rev1.1 528 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C) at 41C
Reset cause: POR
DRAM: 256 MiB
In our software application we need to detect if the system reset caused by normal power-cycling or Watchdog Timeout(application crash) and so is there any software work-around to correctly determine the ‘Reset Cause’ after system reboot?
Thanks in advance for your support.
BR,
Vijay.