Making cpu reset cause available from U-Boot to Linux

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Making cpu reset cause available from U-Boot to Linux

1,428件の閲覧回数
colinhelliwell
Contributor III

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

ラベル(4)
0 件の賞賛
返信
1 返信

878件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi colinhelliwell

seems you are right, in general one can save that reset info in some
of SRC_GPR registers and use in linux.

Best regards
igor

0 件の賞賛
返信