public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] CFI not detecting S29 flash device on 405gp board
Date: Thu, 31 Dec 2009 20:57:25 -0500	[thread overview]
Message-ID: <4B3D5685.6010803@gmail.com> (raw)
In-Reply-To: <20091231190203.GA26570@crust.elkhashab.com>

Hi Ayman,

ame wrote:
> Some additional information and a small amount of success.
> 
> I was finally able to get the part identified correctly 
> using the CFI code.  However, ONLY when I use gdb+bdi 
> 2000.  So if I just use "reset run" on the bdi then it 
> will fail with the log in my previous email.  If I use
> "reset halt", then using gdb tell it to continue (no 
> breakpoints or anything), then it is correctly identified.
> Without the bdi attached it does not work either (fails
> in the same way as case #1).
> 
> I don't know what the difference is but obviously there 
> is something about using continue that makes it work. I
> put a large delay (several hundred ms) before the flash 
> reset, but it did not seem to matter.

Your BDI-2000 config has some initialization in it which is configuring 
something in your hardware to make the flash interface work.  Reset run 
does not do the BDI-2000 config script.  Reset halt does.

Perhaps you have chip select configuration in your BDI-2000 initialization?

Start removing configuration items from your BDI-2000 config.  When it 
breaks, the last thing that you removed will be it. ;-)

> I also tried a patch that was posted for moving the reset
> command into the board specific files to handle the case
> of flashes that go south when they get certain resets.
> I only implemented the AMD reset, but again, no diff.

Your hardware is not being initialized properly by your u-boot 
initialization code, but it is by your BDI-2000 config.  It is not a CFI 
/ S29 flash issue, it is a basic hardware initialization issue.

> Thanks
> Ayman

Best regards,
gvb

  reply	other threads:[~2010-01-01  1:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-30 22:38 [U-Boot] CFI not detecting S29 flash device on 405gp board ayman at austin.rr.com
2009-12-31 19:02 ` ame
2010-01-01  1:57   ` Jerry Van Baren [this message]
2010-01-04 20:16 ` ame

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=4B3D5685.6010803@gmail.com \
    --to=gvb.uboot@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