From: David Woodhouse <dwmw2@infradead.org>
To: Subodh Nijsure <subodh@best.com>
Cc: jffs-dev@axis.com, mtd@infradead.org
Subject: Re: Trying to get CFI to work on my board.
Date: Tue, 13 Feb 2001 16:06:52 +0000 [thread overview]
Message-ID: <31581.982080412@redhat.com> (raw)
In-Reply-To: <200102131555.HAA26937@shell9.ba.best.com>
subodh@best.com said:
> Correct? So when I execute virt_to_phys on physmap_map.map_priv_1
> shouldn't I get my "original" physical address of 0x28000000 back? but
> I am getting following output
No. You should get a 'cookie' back which is to be passed to the kernel's
read[bwl] functions. This 'cookie' may be coincidence be very similar to a
virtual address.
I don't think virt_to_phys() is supposed to work for ioremapped areas -
only for main memory. If you just use map_rom_probe instead of cfi_probe,
can you read sensible data from the beginning of the chip (i.e. does it
match what you know is in there)?
What chips are on the board and how are they arranged?
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
prev parent reply other threads:[~2001-02-13 16:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-13 15:55 Trying to get CFI to work on my board Subodh Nijsure
2001-02-13 16:06 ` David Woodhouse [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=31581.982080412@redhat.com \
--to=dwmw2@infradead.org \
--cc=jffs-dev@axis.com \
--cc=mtd@infradead.org \
--cc=subodh@best.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