[U-Boot] [PATCH] imx: save reset cause in 'reset_cause' environment variable

Bill Pringlemeir bpringlemeir at nbsps.com
Fri Feb 6 00:17:47 CET 2015


On  5 Feb 2015, eric.nelson at boundarydevices.com wrote:

[snip]

> Of course (if we go that route).
>
> I thought of this when typing up the list of values for the
> commit comment.
>
> The human readable form is harder to handle on the receiving
> side though, which is why I favor hex.

I also prefer the hex.  I have had very weird values in this register.
For a normal user, we can guess and display a string.  Sometimes in the
case of double/triple resets, there can be very strange values.  You can
get these when DMA goes crazy (because of bad code or otherwise).

Fwiw,
Bill Pringlemeir.


More information about the U-Boot mailing list