[Letux-kernel] Where does RTC actually work
Andreas Kemnade
andreas at kemnade.info
Tue Jan 31 22:38:20 CET 2017
Hi,
I played around a bit further:
1.booting 4.7 with new uboot
setting clock
2.halt
3. doing funny things in uboot
GTA04b2 # i2c dev 0
Setting bus to 0
GTA04b2 # i2c md 0x4b 0x1c 6
001c: 17 12 21 31 01 17 ..!1..
21:12:17 31. Jan 2017 UTC
do a new clock read
GTA04b2 # i2c mw 0x4b 0x29 0x41 1
GTA04b2 # i2c md 0x4b 0x1c 6
001c: 36 15 2d 31 01 17 6.-1..
2d:15:36 31 Jan 2017
bad hour
GTA04b2 # i2c md 0x4b 0x1c 6
001c: 36 15 2d 31 01 17 6.-1..
GTA04b2 # i2c md 0x4b 0x1c 6
001c: 36 15 2d 31 01 17 6.-1..
do a new clock read
GTA04b2 # i2c mw 0x4b 0x29 0x41 1
GTA04b2 # i2c md 0x4b 0x1c 6
001c: 51 15 2d 31 01 17 Q.-1..
again bad hour
some minutes later
GTA04b2 # i2c mw 0x4b 0x29 0x41 1
GTA04b2 # i2c md 0x4b 0x1c 6
001c: 27 19 2d 31 01 17 '.-1..
GTA04b2 #
again bad hour, everything else is correct.
I accidentially booted the kernel by messing with init= in a bad way.
So no modules were loaded (twl-rtc as module)
pressed power for 10 seconds
read the clock from uboot again
clock ok except for the hour.
Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170131/968f9832/attachment.asc>
More information about the Letux-kernel
mailing list