Re: [U-Boot] RTC value corruption on QIL-A9G20 startup

2009-08-27 Thread William C. Landolina
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albin Tonnerre Sent: Tuesday, August 25, 2009 12:49 PM To: u-boot@lists.denx.de Subject: Re: [U-Boot] RTC value corruption on QIL-A9G20 startup On Tue, Aug 25, 2009 at 08:51

Re: [U-Boot] RTC value corruption on QIL-A9G20 startup

2009-08-27 Thread Eric Bénard
Hi Willian, William C. Landolina a écrit : Has there been any resolution on this? From what I can see (with scope and logic analyzer) the RTC seems to be corrupted by the DataFlash boot code built into the chip. [The Calao board doesn't have the DataFlash memory and used the chip select for

Re: [U-Boot] RTC value corruption on QIL-A9G20 startup

2009-08-27 Thread Stephen Caudle
On Thu, Aug 27, 2009 at 1:48 PM, William C. Landolinaw...@techatl.com wrote: Has there been any resolution on this?  From what I can see (with scope and logic analyzer) the RTC seems to be corrupted by the DataFlash boot code built into the chip.  [The Calao board doesn't have the DataFlash

Re: [U-Boot] RTC value corruption on QIL-A9G20 startup

2009-08-25 Thread Albin Tonnerre
Hi Stephen, On Mon, Aug 24, 2009 at 10:01:16PM -0400, Stephen Caudle wrote : I tried using your patches for the TNY-A9G20 on my QIL-A9G20 board from Calao. I guess you mean SBC35-A9G20? Everything seems to work properly except the RTC. They use the same M41T94 part and the CS is the same

Re: [U-Boot] RTC value corruption on QIL-A9G20 startup

2009-08-25 Thread Eric Bénard
Hi, Albin Tonnerre a écrit : Currently, I don't really have any idea. Besides, it's going to be hard for me to debug this, as I don't have an oscilloscope at hand. Would you please try to run u-boot within a debugger to see where exactly the CS line is driven low? isn't the RTC connected to

Re: [U-Boot] RTC value corruption on QIL-A9G20 startup

2009-08-25 Thread Stephen Caudle
Hi Albin, On Tue, Aug 25, 2009 at 4:37 AM, Albin Tonnerre albin.tonne...@free-electrons.com wrote: I guess you mean SBC35-A9G20? I actually tried it with the patches for both boards (TNY SBC35) and saw the same result. Everything seems to work properly except the RTC.  They use the same

Re: [U-Boot] RTC value corruption on QIL-A9G20 startup

2009-08-25 Thread Stephen Caudle
Hello Eric, On Tue, Aug 25, 2009 at 5:38 AM, Eric Bénarde...@eukrea.com wrote: isn't the RTC connected to the SPI chip select that the internal firmware toggle on boot to probe for a SPI Flash ? That is certainly possible. This problem went away for me when I upgraded to the next branch.

Re: [U-Boot] RTC value corruption on QIL-A9G20 startup

2009-08-25 Thread Albin Tonnerre
On Tue, Aug 25, 2009 at 08:51:56AM -0400, Stephen Caudle wrote : Hello Eric, On Tue, Aug 25, 2009 at 5:38 AM, Eric Bénarde...@eukrea.com wrote: isn't the RTC connected to the SPI chip select that the internal firmware toggle on boot to probe for a SPI Flash ? That is certainly possible.

[U-Boot] RTC value corruption on QIL-A9G20 startup

2009-08-24 Thread Stephen Caudle
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.