11-01-2023, 12:08 PM
Have found this topic when tried to program a wake-up of mine RockPro64 SBC. Nowadays it is not a problem with current kernels. The support for Rockchip RK808 clock is present:
Nov 1 20:17:01 littleserver kernel: [ 5.220800] rk808-rtc rk808-rtc: registered as rtc0
Nov 1 20:17:01 littleserver kernel: [ 5.221380] rk808-rtc rk808-rtc: setting system clock to 2023-11-01T17:16:49 UTC (1698859009)
And these instructions are relevant and working:
https://www.linux.com/training-tutorials...arm-clock/
I was able to shut down then wakeup an SBC by these commands:
Then my SBC gone power off then woken-up after 5 minutes plus bootup time.
HTH
Nov 1 20:17:01 littleserver kernel: [ 5.220800] rk808-rtc rk808-rtc: registered as rtc0
Nov 1 20:17:01 littleserver kernel: [ 5.221380] rk808-rtc rk808-rtc: setting system clock to 2023-11-01T17:16:49 UTC (1698859009)
And these instructions are relevant and working:
https://www.linux.com/training-tutorials...arm-clock/
I was able to shut down then wakeup an SBC by these commands:
Code:
echo `date '+%s' -d '+ 5 minutes'` > /sys/class/rtc/rtc0/wakealarm
shutdown -h now
Then my SBC gone power off then woken-up after 5 minutes plus bootup time.
HTH