Hello everyone,
I want to set the RTC time.But the kernel code of "rtc-test.c"do not achieve functional.The function test_rtc_set_time() and test_rtc_set_mmss() do not achieve functional.
The BSP is LTIB.My board is MCIMX6Q-SDB.Now I can read the time throw the node of “/dev/rtc0”.
How can I finish the above two function?
Hi, Carmili
I think you can refer to Documentation/rtc.txt, there are many IOCTLs that you can use from userspace, just write an app to call them, if you are using L3.0.35, maybe you can just use the rtc unit test in /unit_tests/mxc_rtc_...