We are currently developing a system using the Toradex Verdin iMX8M Mini board. In order to reduce power consumption, we have implemented an intermittent operation scheme that utilizes the RTC hardware to power off the device and automatically power it back on after a designated interval—typically around 8minutes.Additionally, in the event of a system error, the RTC is used to reboot the device after approximately 5 minutes.
This intermittent operation is working well under normal conditions. However, we have recently encountered some rare cases where the system fails to restart and remains in an off state.
We are currently investigating the cause, and we suspect the issue might be related to either the RTC hardware or another unknown factor preventing the system from waking up as scheduled.
•Can the issue be reproduced with a rtcwake of less than 480 seconds?
→In our first system deployment,for error reboots, rtcwake was of about 90seconds. since the issue occured, we changed it to 300s. But regardless of rtcwake time, the device was found to be in continuous off state.
•How often does this issue happen? (ie. Once every 10 times, every 1000 times, etc.)
→This is a very rare issue, it happened after 1.5months in the first system we deployed.
so again it happened after 2months in different system deployment. Actually, we never encountered the issue, while testing in our lab. It happened in long run.
We would greatly appreciate your support in answering the following questions regarding the behavior of the Verdin SoM in this context:
- Could the system remain in an off state due to a hardware failure in the RTC?
- Is there any known case where the RTC fails to wake the system after issuing the rtcwake command, resulting in the system remaining continuously off?
- Is it possible that, following a system error or crash, the Verdin SoM shuts down and remains in an off state indefinitely?
For reference, the hardware and software we are using are as follows:
・Carrier Board: Mallow Carrier Board V1.1C
・System on Module: Verdin iMX8M Mini Quad 2GB IT V1.1D
・Operating System: TorizonCore 6.7.0-build.18
・Command used for rtcwake :”sudo rtcwake -d /dev/rtc1 -m off -s 480” (the main program is running on docker while this command is executed from host as needed from the main program)
further, I had also previously posted about different topic related to rtcwake Reboot host from the docker using rtcwake command inside the container