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: Mon, 4 Jan 2010 14:16:48 -0600 [thread overview]
Message-ID: <20100104201647.GA18405@crust.elkhashab.com> (raw)
In-Reply-To: <20091230223843.GA12265@crust.elkhashab.com>
On Wed, Dec 30, 2009 at 04:38:44PM -0600, ayman at austin.rr.com wrote:
> I've got a custom board that was based on the walnut. I have a 2+ year old
> version of u-boot working on it, but we are trying to go to the newer version
> to match our newer hardware. The hardware is a 405gpr to spansion s29jl064.
> I found another board using the same flash for some hints. Here are parts of
> the config. I did not modify amcc-common.h (The debug and more info are below).
<snip>
> is= cmd 51(Q) addr ff800080 is= ffffffffffffffff 0000005100000051
> fwrite addr ff800000 cmd f0 00000000000000f0 64 bit x 64 bit
> fwrite addr ff800000 cmd ff 00000000000000ff 64 bit x 64 bit
> fwrite addr ff8002a8 cmd 98 0000000000000098 64 bit x 64 bit
> is= cmd 51(Q) addr ff800080 is= ffffffffffffffff 0000000000000051
> fwrite addr ff802aa8 cmd 98 0000000000000098 64 bit x 64 bit
> is= cmd 51(Q) addr ff800080 is= ffffffffffffffff 0000000000000051
> not found
> ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
> *** failed ***
> ### ERROR ### Please RESET the board ###
I had another reply (that I seem to be missing), but the clue was in the BDI
working when I did reset halt, then attach via gdb, then continue. In this
case, it would work. When I did a reset run it did not. As it turns out some
registers were setup in the bdi config that were not getting done properly by
the init code. By just eliminating them a couple at a time, I was able to
find the problem register. Thanks for all your help.
Ayman
prev parent reply other threads:[~2010-01-04 20:16 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
2010-01-04 20:16 ` ame [this message]
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=20100104201647.GA18405@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