I am using a congatec SMARC module with a imx8mp processor.
To clarify our requirements:
When the temperature sensor on the SMARC module reaches 105°C, the system powers off.
Currently, the system requires a manual power cycle to restart.
I would like to modify this behaviour so that the system automatically powers back on when the temperature falls below the trigger threshold.
We found references suggesting that this behaviour could be modified in the SCFW (System Controller Firmware). However, the SCFW firmware is not used for the i.MX8MP processor.
The boot sequence for the i.MX8MP is as follows:
BootROM → SPL → BL31 (ATF - ARM Trusted Firmware) → OP-TEE (Optional) → BL33 (U-Boot) → Linux kernel.
Based on our understanding, potential areas to address this behaviour include:
Adjusting settings within the SNVS (Secure Non-Volatile Storage).
If the PMIC configuration is the correct path, could you provide documentation or details on configuring the PCA9450C for automatic power-on?
Or, do you have a better solution?
Solved! Go to Solution.
I ended up setting a wake up alarm, and adding a service to set it up just before the shutdown. So each time the system would be triggered a power off etc. the alarm will be triggered. Better than nothing.
echo +120 > /sys/class/rtc/rtc1/wakealarm |
I ended up setting a wake up alarm, and adding a service to set it up just before the shutdown. So each time the system would be triggered a power off etc. the alarm will be triggered. Better than nothing.
echo +120 > /sys/class/rtc/rtc1/wakealarm |