From: Rogan Dawes <rogan@dawes.za.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] Non standard CFI detection tweaks
Date: Mon, 19 Jul 2010 13:05:09 +0200 [thread overview]
Message-ID: <4C443165.5060102@dawes.za.net> (raw)
In-Reply-To: <201007191249.11133.sr@denx.de>
On 2010/07/19 12:49 PM, Stefan Roese wrote:
> Hi Rogan,
>
> On Monday 19 July 2010 12:18:45 Rogan Dawes wrote:
>>> How is your FLASH chip connected to your CPU? In 16bit wide mode (which
>>> is more common)?
>>
>> I have no idea. Do you have any suggestions how I can find out?
>
> I don't suppose you have the schematics for this board?
No, I'm afraid not.
>> If I do a normal md over the rest of the flash, I do see expected
>> strings from the U-Boot "partition", and the kernel and ramdisk
>> partitions. i.e. not duplicated or anything like that. Not sure if that
>> answers your question at all?
>
> No, it doesn't. But the unlocking addresses should give us the result (8bit
> vs. 16bit wide connection). What does work for you? The byte addresses or the
> word addresses (read manufacturer ID)?
>
> Byte addresses:
>
> => mw.b base + aaa aa
> => mw.b base + 555 55
> => mw.b base + aaa 90
> => md.b base
DNS323B1> mw.b 0xff800aaa aa
DNS323B1> mw.b 0xff800555 55
DNS323B1> mw.b 0xff800aaa 90
DNS323B1> md.b 0xff800000
ff800000: 7f 7f cb cb 00 00 08 08 7f 7f cb cb 00 00 08 08
................
ff800010: 7f 7f cb cb 00 00 08 08 7f 7f cb cb 00 00 08 08
................
ff800020: 7f 7f cb cb 00 00 08 08 7f 7f cb cb 00 00 08 08
................
ff800030: 7f 7f cb cb 00 00 08 08 7f 7f cb cb 00 00 08 08
................
DNS323B1> mw.b ff800000 f0
DNS323B1> mw.b ff800000 ff
DNS323B1> md.b 0xff800000
ff800000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
................
ff800010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
................
ff800020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
................
ff800030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
................
> Word addresses:
>
> => mw.w base + 555 00aa
> => mw.w base + 2aa 0055
> => mw.w base + 555 0090
> => md.w base
This is quite odd, though.
DNS323B1> mw.w 0xff800555 00aa
... never returns. It seems to hang up the board for some reason.
> What's the output of those commands?
>
> Cheers,
> Stefan
Thanks for your help!
next prev parent reply other threads:[~2010-07-19 11:05 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 [this message]
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
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=4C443165.5060102@dawes.za.net \
--to=rogan@dawes.za.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.