public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: ame <ayman@c18-ss-2-lb.cnet.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] CFI not detecting S29 flash device on 405gp board
Date: Thu, 31 Dec 2009 13:02:03 -0600	[thread overview]
Message-ID: <20091231190203.GA26570@crust.elkhashab.com> (raw)
In-Reply-To: <20091230223843.GA12265@crust.elkhashab.com>

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.

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.

Thanks
Ayman

  reply	other threads:[~2009-12-31 19:02 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 [this message]
2010-01-01  1:57   ` Jerry Van Baren
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=20091231190203.GA26570@crust.elkhashab.com \
    --to=ayman@c18-ss-2-lb.cnet.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