Making cpu reset cause available from U-Boot to Linux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Making cpu reset cause available from U-Boot to Linux

1,043 次查看
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 回复

493 次查看
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 项奖励