Read iMX8 Reset cause

Is it possible to get the cause of boot on the iMX8? It’s not clear from the reference manual if the built-in watchdog supports this, but certainly the imx_sc_wdt.c driver code doesn’t seem to populate any of the cause flags on the WDIOC_GETSUPPORT ioctl.

Hi @dansteer ,

There isn’t a standard way to know the boot cause, one possible solution is apply this patch and then on Linux check the reset_cause variable using the fw_printenv tool. Can you please try this?

Best regards,

Daniel Morais