Hi
I ran the rtc-unit test,and I could confirm PASS.
However, Is there any procedure to confirm startup from S5(power off)?
Please let me know if you know how to drop it to S4 (Hibernation).
-----------------------------------------------------------------
root@imx7dsabresd:~# ./autorun-rtc.sh
./autorun-rtc.sh: line 5: print_name: command not found
i.MX7D
Checking for devnode: /dev/rtc0
autorun-rtc.sh: PASS devnode found: /dev/rtc0
Running test case: ./rtctest.out --no-periodic
RTC Driver Test Example.
Counting 5 update (1/sec) interrupts from reading /dev/rtc0: 1 2 3 4 5
Again, from using select(2) on /dev/rtc0: 1 2 3 4 5
Current RTC date/time is 1-1-1970, 01:03:06.
Alarm time now set to 01:03:11.
Waiting 5 seconds for alarm... okay. Alarm rang.
*** Test complete ***
Typing "cat /proc/interrupts" will show 11 more events on IRQ rtc.
autorun-rtc.sh: PASS test case: ./rtctest.out --no-periodic
rtc irqs before running unit test: 0
rtc irqs after running unit test: 11
so rtc irqs during test was: 11
checking rtc interrupts PASS
autorun-rtc.sh: Exiting PASS
-----------------------------------------------------------------
Best regards
H.Tanioka