From: David Woodhouse <dwmw2@infradead.org>
To: Vikram Mehta <vm6580@hotmail.com>
Cc: linux-mtd@lists.infradead.org
Cc: uclinux-dev@uclinux.org
Subject: Re: cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL); not workin
Date: Tue, 03 Jun 2003 10:40:43 +0100 [thread overview]
Message-ID: <1054633243.17921.34.camel@passion.cambridge.redhat.com> (raw)
In-Reply-To: <Law14-F878P8Sp1ppTN0002fd45@hotmail.com>
On Tue, 2003-06-03 at 10:23, Vikram Mehta wrote:
> Hi joern,
> Thanx
> I agree this format was confusing. So let me put it simply
>
> in cfi_probe.c in cfi_probe_chip function
>
> cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL);
> Works
> but
>
> cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL);
> doesnot work.
> It fails when __raw_writew(d, map->map_priv_1 +adr); is called in its
> stack.
>From the Cc I'm inferring you're using uCLinux. Are you running with
your kernel in flash? Is your kernel in the _same_ flash chip as is
being probed here?
If so, it's not really surprising it doesn't work. As soon as you send
the '0x98' command, your entire kernel turns into the CFI query results
and it isn't really going to work too well :)
--
dwmw2
next prev parent reply other threads:[~2003-06-03 9:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-03 9:23 cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL); not workin Vikram Mehta
2003-06-03 9:40 ` David Woodhouse [this message]
2003-06-03 18:20 ` Andrew Goodney
2003-06-04 8:15 ` David Woodhouse
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=1054633243.17921.34.camel@passion.cambridge.redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=vm6580@hotmail.com \
/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