public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] RTC value corruption on QIL-A9G20 startup
@ 2009-08-25  2:01 Stephen Caudle
  2009-08-25  8:37 ` Albin Tonnerre
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Caudle @ 2009-08-25  2:01 UTC (permalink / raw)
  To: u-boot

Hello Albin,

I tried using your patches for the TNY-A9G20 on my QIL-A9G20 board from
Calao.  Everything seems to work properly except the RTC.  They use the same
M41T94 part and the CS is the same on both boards (PA3).  I can set the RTC
using the "date" command and read back the value okay.  However, when I
power cycle the board, the value is getting corrupted at startup due to some
erroneous SPI write.

I don't believe the code you submitted is causing this problem because the
RTC is getting corrupted even if I compile out SPI and RTC support
completely.  I was just wondering if you have seen this problem on your
board?  I probed the CS line with an oscilloscope and I am definitely seeing
it go low on U-Boot startup for a short time, but the clock line seems to be
floating.  I believe the activation of the CS at startup is causing junk
data to be written to the RTC, which is corrupting it.  Any idea why this
might be happenning?

Regards,
Stephen

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-08-28  1:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25  2:01 [U-Boot] RTC value corruption on QIL-A9G20 startup Stephen Caudle
2009-08-25  8:37 ` Albin Tonnerre
2009-08-25  9:38   ` Eric Bénard
2009-08-25 12:51     ` Stephen Caudle
2009-08-25 16:48       ` Albin Tonnerre
2009-08-27 17:48         ` William C. Landolina
2009-08-27 20:57           ` Eric Bénard
2009-08-28  1:57           ` Stephen Caudle
2009-08-25 12:49   ` Stephen Caudle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox