public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: kernel list <linux-kernel@vger.kernel.org>,
	Sergey.Gerasimov@astrosoft-development.com, o.weber@gateware.de,
	a.zummo@towertech.it, rtc-linux@googlegroups.com,
	tomas@novotny.cz, matti.vaittinen@nsn.com,
	s.trumtrar@pengutronix.de
Subject: tqm8315 + ds1337: problems
Date: Sat, 21 Mar 2015 21:09:57 +0100	[thread overview]
Message-ID: <20150321200957.GA23161@amd> (raw)

Hi!

Something is wrong with real time clock on tqm8315 board... or maybe
with i2c on board, as I have trouble reading same information from
u-boot using "i2c md" commands:

Does rtc work for you on tqm8315? Any ideas how to debug this further?

Thanks,
								Pavel

[    1.480289] i2c /dev entries driver
[    1.484371] mpc-i2c e0003000.i2c: initializing
[    1.489119] mpc-i2c e0003000.i2c: clock 378787 Hz (dfsrr=6 fdr=1)
[    1.495330] mpc-i2c e0003000.i2c: timeout 1000000 us
[    1.501640] mpc-i2c e0003000.i2c: Doing write 1 bytes to 0x68 - 1
of 2 messa
ges
[    1.512126] mpc-i2c e0003000.i2c: Doing read 2 bytes to 0x68 - 2 of
2 messag
es
[    1.519696] mpc-i2c e0003000.i2c: Doing write 2 bytes to 0x68 - 1
of 1 messa
ges
[    1.527413] mpc-i2c e0003000.i2c: Doing write 1 bytes to 0x68 - 1
of 2 messa
ges
[    1.534959] mpc-i2c e0003000.i2c: Doing read 8 bytes to 0x68 - 2 of
2 messag
es
[    1.542951] mpc-i2c e0003000.i2c: Doing write 1 bytes to 0x68 - 1
of 2 messa
ges
[    1.550552] mpc-i2c e0003000.i2c: Doing read 7 bytes to 0x68 - 2 of
2 messag
es
[    1.558329] rtc-ds1307 0-0068: read: 07 39 00 06 00 81 01
[    1.563868] rtc-ds1307 0-0068: read secs=7, mins=39, hours=0,
mday=0, mon=0,
 year=101, wday=5
 [    1.572493] rtc (null): read_time: fail to read
 [    1.577664] rtc-ds1307 0-0068: rtc core: registered ds1337 as rtc0
[    1.584476] at24 0-0057: 32768 byte 24c256 EEPROM, writable, 64
bytes/write
[    1.592483] mpc-i2c e0003000.i2c: Doing write 1 bytes to 0x48 - 1
of 2 messa
ges
[    1.602493] mpc-i2c e0003000.i2c: Doing read 1 bytes to 0x48 - 2 of
2 messag
es
[    1.610538] lm75 0-0048: hwmon0: sensor 'lm75'
[    1.615870] TCP: cubic registered
[    1.619331] NET: Registered protocol family 17
[    1.624127] Key type dns_resolver registered
[    1.633413] mpc-i2c e0003000.i2c: Doing write 1 bytes to 0x68 - 1
of 2 messa
ges
[    1.641012] mpc-i2c e0003000.i2c: Doing read 7 bytes to 0x68 - 2 of
2 messag
es
[    1.648787] rtc-ds1307 0-0068: read: 07 39 00 06 00 81 01
[    1.654305] rtc-ds1307 0-0068: read secs=7, mins=39, hours=0,
mday=0, mon=0,
 year=101, wday=5
 [    1.662921] rtc rtc0: read_time: fail to read
 [    1.667375] rtc-ds1307 0-0068: hctosys: unable to read the
 hardware clock
 [    1.739679] gianfar: not advertising gigabit
 [    1.851232] ata2: No Device OR PHYRDY change,Hstatus = 0xa0000000
 [    1.857466] ata2: SATA link down (SStatus 0 SControl 300)
 [    1.863072] ata1: Signature Update detected @ 508 msecs
 [    2.039242] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
 

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

                 reply	other threads:[~2015-03-21 20:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150321200957.GA23161@amd \
    --to=pavel@ucw.cz \
    --cc=Sergey.Gerasimov@astrosoft-development.com \
    --cc=a.zummo@towertech.it \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matti.vaittinen@nsn.com \
    --cc=o.weber@gateware.de \
    --cc=rtc-linux@googlegroups.com \
    --cc=s.trumtrar@pengutronix.de \
    --cc=tomas@novotny.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox