Real time clock

What feature would you like to see in JetDroid

Re: Real time clock

Postby Daenja » Tue Jan 25, 2011 12:26 pm

Qnoiz wrote:
Phone is set to performance only speed (minm/max 800mhz),thats why clock is working...
Does that mean we gonna have faster drain battery than now if we let it to performance only speed?
Or it's safe to keep it like that and got a working clock?


Cheers,
Qnoiz


I think we need to get the RTC to follow CPU frequency and not to be in static 800MHz (I don't know how). Ofcourse the battery drains more quickly if it is set to performance mode. That means it's ALWAYS running in 800MHz. It's completely safe but it drains the battery fast. Now setting the frequency to static 800MHz isn't actually solving the RTC problem, but now we know WHY this is happening.

- Daenja
Daenja
Dev Team
Dev Team
 
Posts: 95
Joined: Fri Oct 29, 2010 10:33 am
Location: Finland

Advertisement

Re: Real time clock

Postby MadRocker » Tue Jan 25, 2011 9:05 pm

Effective uptime before the battery shut the phone down was (99.5% accurate) = 2 hours give or take 3mins / 5mins for 800mhz performance. NO wifi, no comms active in froyo.
Comm.s + video load / driver will influence this results as well.

Possibly fix for RTC this below or 800mhz cpu clock, will have to look at spica overclock method and set cpu max to 533mhz to find out if rtc = linked to cpu speed. (range 800mhz - 66mhz on s3c6410)

Check cpu power mang. , power mang. options , i2c , gpio , simtec i2c , i2c chips * max8906 and other (M) in i2c , device drivers -> power supply class extra options / new options here as well.

s3c6410 battery still has lots of code errors so using fake as is normal for now. I think I found a working s3c6410 battery in another kernel a few days ago, have to check again.

It can also be that some simtec or opencores are compensating for the rtc.
Someone should try the performance and later the rtc options in this kernel inside jet_android_defconfig and see if the same results or not.

Orrig config rtc options:
Code: Select all
#
# LED Triggers
#
# CONFIG_LEDS_TRIGGERS is not set
CONFIG_SWITCH=y
# CONFIG_SWITCH_GPIO is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
CONFIG_RTC_INTF_ALARM=y
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8581 is not set

#
# SPI RTC drivers
#

#
# Platform RTC drivers
#
# CONFIG_RTC_DRV_CMOS is not set
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_V3020 is not set

#
# on-CPU RTC drivers
#
CONFIG_RTC_DRV_S3C=y
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_REGULATOR is not set
# CONFIG_UIO is not set
CONFIG_STAGING=y
# CONFIG_STAGING_EXCLUDE_BUILD is not set
# CONFIG_MEILHAUS is not set
# CONFIG_ECHO is not set
# CONFIG_COMEDI is not set
# CONFIG_PANEL is not set
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: Real time clock

Postby Qnoiz » Tue Mar 01, 2011 11:51 pm

clock fixed by KB_JetDroid here,

http://www.jetdroid.org/forum/viewtopic.php?f=76&t=526

Cheers,
Qnoiz
User avatar
Qnoiz
Junior member
Junior member
 
Posts: 46
Joined: Thu Dec 23, 2010 1:08 am
Location: Greece Athens

Previous

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

  • Advertisement
cron