public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Norman Cheung <normankeehoon@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] at91sam9260-ek intermittenly fails at u-boot	init
Date: Thu, 26 Jun 2008 08:17:01 -0700	[thread overview]
Message-ID: <4863B2ED.2070709@gmail.com> (raw)
In-Reply-To: <1214466787.25204.25.camel@galileo>

Many thanks Stelian for the replies.  My comments inline.

Norman

Stelian Pop wrote:
> Le mercredi 25 juin 2008 ? 01:36 +0000, Norman Cheung a ?crit :
>   
>> I am struggling with this problem for a week now and not making any progress. 
>> So any suggestions, ideas or pointer will be greatly appreciated.
>>     
> [...]
>
>   
Since the post earlier, I have narrowed the problem to the bootstrap 
during the copy from NAND to SDRAM, memories are corrupted.  I think I 
have a marginal NAND chip.  I played around the  SMC  cycle timing  in 
bootstrap,  I have a setting that I can boot u-boot with power cycle 6 
out of 10 times.  So I am convinced that it is not an u-boot issue, Thanks!
>> The board works with u-boot 1.3.2 and at91bootstrap(1.5 I only have the binary)
>> booting from NAND.
>>     
>
> The source (for the latest version) is freely available on the Atmel
> site: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4093
>
> If you really need the source for an older version, I'm sure the Atmel
> support will send it to you upon request.
>
>   
>> U-boot fails intermittently at the start.  When it fails, it didn't make it to
>> my first printf statement.  When I use JTAG to debug it, it always works.  
>>
>> If the board has been let without power for 1+ hour, it will also boot up when 
>> I apply power to it(something to do with the battery perhaps).
>>     
>
> Did you try disconnecting the battery ? Or replacing the battery with a
> new one ?
>
> [...]
>   
I tried disconnecting the battery and with the new SMC timing changes, I 
can boot up only one time after disconnecting the battery.  I will go 
and get a new battery.
>    
>   
>> We had at91bootstrap 1.5 working well in 32-bit mode with u-boot 1.3.2.  But I
>> don't have the source.
>>     
>
> See above.
>
>   
>>   I wonder what is the current stable version of u-boot
>> and at91bootstrap? 
>>     
>
> AT91Bootstrap seems to be at v1.9.
>
> As for U-Boot, try the latest git (which will soon be u-boot v1.3.4).
>
> (BTW, if Wolfgang is listening, it would be nice to have proper tags in
> git as well as releases on the ftp server for the -pre version. Since
> the merge window is closed, I guess we're up to v1.3.4-pre1 now, but
> this version tag cannot be found anywhere...)
>
> Stelian.
>   

  parent reply	other threads:[~2008-06-26 15:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25  1:36 [U-Boot-Users] at91sam9260-ek intermittenly fails at u-boot init Norman Cheung
2008-06-25 21:29 ` Andrejs Cainikovs
2008-06-26  7:53 ` Stelian Pop
2008-06-26 11:21   ` Jean-Christophe PLAGNIOL-VILLARD
2008-06-26 15:17   ` Norman Cheung [this message]
2008-06-27 21:31     ` Norman Cheung
2008-06-30  8:53       ` Stelian Pop

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=4863B2ED.2070709@gmail.com \
    --to=normankeehoon@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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