Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4072

Compute Module • Re: CM5 Unexpected Shut Down

$
0
0
If system was reset by the PMIC then the reset reason is stored in one its registers and is made available here upon reboot

https://www.raspberrypi.com/documentati ... hosenpower

Code:

hexdump -C  /proc/device-tree/chosen/power/power_reset
N.B If the source power supply disconnected the power then the register will be blank because it's a full power reset.
:~ $ hexdump -C /proc/device-tree/chosen/power/power_reset
00000000 00 00 00 00 |....|
00000004
Here are my results. Can you see what's happening

Statistics: Posted by tt77forever — Tue Jan 14, 2025 3:48 am



Viewing all articles
Browse latest Browse all 4072

Trending Articles