Hello,
we are using the PicoCoreMX8MM and I would like know the reset reason of the system in U-Boot.
Mainly I want to distinguish between Power-On-Reset and Software-Reset (reboot/reset).
I would like to use this information for stability monitoring after an update. So SW-Reset would increment the bootcount, but POR won't.
I get the reset-reason from U-Boot with get_reset_cause() or get_imx_reset_cause(), but they always indicate a POR, even after a reset from U-Boot or reboot from Linux.
I have read that a lot of boards implement the SW-Reset by telling the PMIC to reset everything, so from the CPU point of view, this is the same as a "real" POR.
How is the SW-Reset mechanism implemented on F&S boards?
Also via PMIC?
So I guess my main question is:
Is it possible to distinguish between "real" Power-On-Resets and SW-Resets (reset/reboot from U-Boot/Kernel)?
Thanks and best regards,
Stefan