From: Martin Egholm Nielsen <martin@egholm-nielsen.dk>
To: linux-mtd@lists.infradead.org
Subject: Access to NOR from Linux - what is required?
Date: Tue, 14 Nov 2006 15:36:22 +0100 [thread overview]
Message-ID: <ejck96$7qf$1@sea.gmane.org> (raw)
Hi,
I know this is a rather vague question, but how do I gain access to the
NOR flash on my board?
Ok, a little more clarification follows: I have a PPChameleon board from
which I can access the NOR from U-Boot. However, launching Linux will
only grant me access to the NAND. For the NAND I see there is a
"drivers/mtd/nand/ppchameleonevb.c" file responsible for setting up a
lot of stuff.
However, with my knowledge I looked for a "drivers/mtd/nor" directory,
as well, to see what others have done for their boards. But this does
not exist. Hence my question...
Moreover, and again due to my lack of knowledge, another question: I use
my NAND device with a filesystem (JFFS2/YAFFS), but I guess the NOR does
not have one (and should not have one since I use it from U-Boot). So if
I succeed to gain access from Linux to the NOR, I/O operations should be
performed using "dd" or what?
For those who wonders; I need to replace the Linux kernel in the NOR
from the running Linux - not from U-Boot...
BR,
Martin Egholm
next reply other threads:[~2006-11-14 14:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-14 14:36 Martin Egholm Nielsen [this message]
2006-11-14 17:47 ` Access to NOR from Linux - what is required? Cliff Brake
2006-11-14 20:02 ` Martin Egholm Nielsen
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='ejck96$7qf$1@sea.gmane.org' \
--to=martin@egholm-nielsen.dk \
--cc=linux-mtd@lists.infradead.org \
/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