Oleksij Rempel
Pengutronix
Persistent Shutdown Reasons & Hardware Protection: Making Embedded Systems More Resilient
Oleksij Rempel is an embedded Linux developer and part of the kernel
hacker team at Pengutronix. With experience in automotive infotainment
systems and now working primarily with agricultural and industrial
devices, he focuses on diagnostics, networking, and system reliability
in embedded environments.
Even though he is not directly involved in hardware development, his
passion lies in understanding system behavior, debugging complex
failures, and ensuring reliable communication between embedded
devices.
Embedded systems frequently experience hardware protection events such
as undervoltage, overcurrent, and thermal shutdowns, leading to
unexpected resets, data corruption, and even hardware
failure. However, in many cases, the system does not persistently
record the cause of a shutdown or resets, making it difficult to
analyze and diagnose failures in the field.
Traditional logging to NAND or eMMC is often unreliable in
power-critical scenarios due to the risk of sudden power loss, storage
wear-out, or corruption. To address this, the Power State Change
Reasons Recording (PSCRR) framework enables embedded systems to
persist shutdown reasons in alternative non-volatile storage, such as
EEPROM, RTC scratchpads, or NVMEM-backed solutions.
This talk presents the current state of PSCRR, the challenges
encountered, and ongoing efforts to improve power-fault diagnostics in
embedded Linux.