I'd like the system's reset cause (por, watchdog etc) to be available to Linux - it's shown in the u-boot debug e.g.
"Reset cause: POR"
I've only found a few references to this in searching, and it seems that u-boot clears the register after reading?
Has anyone done any modifications to preserve this, and then been able to read it from the OS?
Thanks