TWL-rtc on 4430sdp doesn't work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OMAP4.  This is with a kernel built pre-OMAP merge.  On boot:

i2c_omap i2c_omap.1: bus 1 rev4.0 at 400 kHz
Skipping twl internal clock init and using bootloader value (unknown osc rate)
twl6030: PIH (irq 39) chaining IRQs 368..387
...
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
twl_rtc twl_rtc: hctosys: invalid date/time
...
lm75 3-0048: hwmon0: sensor 'tmp105'
i2c_omap i2c_omap.1: controller timed out
i2c_omap i2c_omap.1: controller timed out
i2c_omap i2c_omap.2: controller timed out
i2c_omap i2c_omap.2: controller timed out
i2c_omap i2c_omap.2: controller timed out
i2c_omap i2c_omap.2: controller timed out
i2c_omap i2c_omap.3: controller timed out
i2c_omap i2c_omap.3: controller timed out
i2c_omap i2c_omap.3: controller timed out
i2c_omap i2c_omap.4: controller timed out
i2c_omap i2c_omap.4: controller timed out
i2c_omap i2c_omap.4: controller timed out
i2c_omap i2c_omap.4: controller timed out


# date
Sat Jan  8 23:38:55 GMT 2011
# strace -e ioctl,open,close hwclock -uw
...
open("/dev/rtc", O_WRONLY|O_LARGEFILE)  = 3
ioctl(3, RTC_SET_TIME, {tm_sec=16, tm_min=39, tm_hour=23, tm_mday=8, tm_mon=0, tm_year=111, ...}) = 0
close(3)                                = 0
# strace -e ioctl,open,close hwclock
...
open("/dev/rtc", O_RDONLY|O_LARGEFILE)  = 3
ioctl(3, RTC_RD_TIME, {tm_sec=51, tm_min=165, tm_hour=165, tm_mday=165, tm_mon=164, tm_year=265, ...}) = 0

Thu Jan  1 00:59:59 1970  0.000000 seconds

So, the TWL-rtc isn't updating as a result of RTC_SET_TIME, neither is it
saying that it didn't update nor why it didn't update.  Nothing in the
kernel log either to suggest what's going on.

I've also seen cases where tm_sec has gone 04 01 00 over subsequent reads
within 10 seconds - seconds going backwards doesn't look right.

Any ideas what's going on?
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux