how to adress flash memory in Linux
Ming Liu
eemingliu at hotmail.com
Sun Nov 12 07:56:50 EST 2006
Dear all,
My problem is very basic probably. But I really have no clue to achieve
this. So I have to ask for help.
My thinking is to update the content in flash memory in Linux. My platform
is Xilinx ML403. So the FGPA Hardware bitstream and Linux kernel image are
both stored in flash memory. In linux, if I can address the flash memory,
then I can update the bitstream file and kernel image using some basic
commands, such as "dd if=bitstreamfile.bit of=[a flash partition area]".
I know the mtd driver is the proper one to provide functions for accessing
flash memory in Linux. So I have included the mtd driver from the kernel
configuration. But I don't know how to clearly partition my flash memory.
That is, reserve a part for bitstream file and make it as maybe /dev/mtd0.
And reserve another part for kernel image and make it as /dev/mtd1...So how
to partition the flash and make it accessible from Linux? I am a little
messy with this. If anyone can give me a clear process to achieve that, I
will really appreciate a lot.
Thanks a lot in advance.
Regards
Ming
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/
More information about the linux-mtd
mailing list