Closed BMValeev closed 5 years ago
Our boards do not support poweroff. You can bring them to a halt state but they will still be on and running. By adding a gpio-poweroff you are creating an interrupt that can not be serviced and is causing the warning.
Is this a custom board?
Our boards do not support poweroff. You can bring them to a halt state but they will still be on and running. By adding a gpio-poweroff you are creating an interrupt that can not be serviced and is causing the warning.
Is this a custom board?
No, this is not custom board. So is possible to impelement software poweroff button for hummingboards?
Without implementing a hardware power control circuit there is no way to power off the device completely. A possible workaround to "mimic" a shutdown would be to implement a shutdown handler driven by the GPIO that would start write a temp signal value to the persistent scratch registers and initiate a watchdog restart. Then write a function in SPL that reads that register and if it is set put the SOC into WFI with the same GPIO as a wakeup signal. This way the filesystems will be cleanly synced, and while waiting to power up the SOC will be in WFI so drawing as little power as possible.
Okay, thanks. I think you can close this issue
gpio-poweroff module leads to kernel panic during poweroff or halt command
log look like this