Access to NOR from Linux - what is required?
Martin Egholm Nielsen
martin at egholm-nielsen.dk
Tue Nov 14 09:36:22 EST 2006
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
More information about the linux-mtd
mailing list