From: Reinhard Meyer (-VC) <reinhard.meyer@emk-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Non standard CFI detection tweaks
Date: Tue, 20 Jul 2010 12:22:56 +0200 [thread overview]
Message-ID: <4C457900.2020200@emk-elektronik.de> (raw)
In-Reply-To: <4C4573BF.40405@dawes.za.net>
Rogan Dawes schrieb:
> Unfortunately, but understandably, it makes no difference whatsoever to
> the behaviour of the flash chip. I can still put it into QRY mode, where
> I get the doubled QQRRYY response, but the flash is not detected any
> better than it was previously.
OOPS:
On our system (top5200) the behaviour is exactly as yours:
=> mm.b ff0000aa
ff0000aa: 00 ? 98
ff0000ab: 00 ? .
=> md.l ff000000
ff000000: 00000000 00000000 00000000 00000000 ................
ff000010: 00000000 00000000 00000000 00000000 ................
ff000020: 51515252 59590202 00004040 00000000 QQRRYY....@@....
ff000030: 00000000 00002727 36360000 00000707 ......''66......
ff000040: 07070a0a 00000303 05050404 00001a1a ................
ff000050: 02020000 05050000 0101ffff 01010000 ................
ff000060: 02020000 00000000 00000000 00000000 ................
ff000070: 00000000 00000000 00000000 00000000 ................
ff000080: 50505252 49493131 33331010 02020101 PPRRII1133......
ff000090: 00000808 00000000 0202b5b5 c5c50404 ................
ff0000a0: 01010000 00000000 00000000 00000000 ................
ff0000b0: 00000000 00000000 00000000 00000000 ................
ff0000c0: 00000000 00000000 00000000 00000000 ................
ff0000d0: 00000000 00000000 00000000 00000000 ................
ff0000e0: 00000000 00000000 00000000 00000000 ................
ff0000f0: 00000000 00000000 00000000 00000000 ................
=>
But because of other constraints and since the port was done in 2003
we never tried to use the CFI driver ;)
(our flash has 64MB but only the first 16 MB are memory mapped.)
Hardware: Spansion 29GL512 in 8-Bit mode, that means
Flash D15/A(-1) connected to CPU A0
Flash A0 connected to CPU A1
Flash A1 connected to CPU A2
etc...
You might want to look at board/emk/common/flash.c for insights :)
Reinhard
next prev parent reply other threads:[~2010-07-20 10:22 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-13 20:00 [U-Boot] Non standard CFI detection tweaks Rogan Dawes
2010-07-19 9:34 ` Stefan Roese
2010-07-19 10:18 ` Rogan Dawes
2010-07-19 10:49 ` Stefan Roese
2010-07-19 11:05 ` Rogan Dawes
2010-07-19 11:50 ` Stefan Roese
2010-07-19 12:18 ` Rogan Dawes
2010-07-19 13:33 ` Stefan Roese
2010-07-19 14:37 ` Rogan Dawes
2010-07-20 7:58 ` Stefan Roese
2010-07-20 8:38 ` Rogan Dawes
2010-07-20 10:00 ` Rogan Dawes
2010-07-20 10:06 ` Reinhard Meyer
2010-07-20 10:22 ` Reinhard Meyer [this message]
2010-07-20 10:29 ` Rogan Dawes
2010-07-20 10:53 ` Reinhard Meyer
2010-07-20 11:01 ` Rogan Dawes
2010-07-23 10:17 ` Albert ARIBAUD
2010-08-12 12:07 ` Rogan Dawes
2010-08-12 12:40 ` Stefan Roese
2010-08-12 13:14 ` Reinhard Meyer
2010-08-12 13:26 ` Rogan Dawes
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=4C457900.2020200@emk-elektronik.de \
--to=reinhard.meyer@emk-elektronik.de \
--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