/sys/boot/reason

The reason for the most recent CPU reset. The strings vary depending on the hardware platform. For EG4xxx model devices, the possible values are:

  • general reset: CPU was powered on when the backup battery was depleted.

  • wakeup: CPU was powered on when backup battery still had sufficient charge left.

  • watchdog reset: The CPU's watchdog timer triggered the reset.

  • software reset: Firmware requested a reboot.

  • user reset: Not applicable.

  • unknown reset: Not applicable.

Get /sys/boot/reason

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

get/sys/boot/reason
Request samples
Response samples
application/json
{
  • "result": "software reset",
  • "error": "Error message (present if an error occurred)."
}