Hello Deva, thank you for your answer. I thought it so, but I could not find where and how jiffies are computed.
I am not sure, how it works when kernel is changing its CPU clock frequency (and S3c6410 does it for sure). I feel that it must be invariant to clock frequency, is'nt it ? Regards, Vaclav On 29 lis, 22:31, Deva R <r.deva...@gmail.com> wrote: > linux kernel ticks are updated at wrong rate., > you might need to cross check your timer counter (generate interrupt at > precise jiffies interval) and monitor isr.. > > > > On Sat, Nov 27, 2010 at 7:43 AM, Srikant <w.sreeka...@gmail.com> wrote: > > Android Alarm files will communicate to Alarm driver inside Linux > > Kernel though ioctls, which in turn calls RTC driver set time and get > > time functions. > > These drivers located at drivers/rtc/ > > > On Nov 25, 10:51 pm, vaclavpe <vacla...@gmail.com> wrote: > > > Hello all, > > > > we are trying to port Android eclair to one mobile phone. During boot > > > of Android, correct time is read from RTC. But then, Android time is > > > running approximately two times faster than "universe time". If the > > > time is not read correctly and counting is from 0:00, after 1 "Android > > > hour" ( time 1:00) it stops counting. > > > > Where should we have a look ? How is system time done internally ? > > > Callback to linux kernel ? Or wrong periodic read of /dev/rtc ? Or we > > > need to calibrate the time somehow ? > > > > Thank you in advance, > > > Vaclav > > > -- > > unsubscribe: > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > > website:http://groups.google.com/group/android-porting > > -- > Regards, > Devawww.bittoggler.com -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting