rtc set time

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

rtc set time

1,305件の閲覧回数
carmilili
Contributor III

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?

ラベル(3)
0 件の賞賛
返信
1 返信

1,173件の閲覧回数
AnsonHuang
NXP Employee
NXP Employee

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_...

0 件の賞賛
返信