Hi rui,

MTD stands for Memory Technology Device and all MTD stuff in uClinux
refers to the ability of uCLinux to support these devices. An example
of MTD device is a simple RAM or Flash memory.

MTD_UCLINUX is the main flag you must turn on in order to add support
for MTD's such as a flash memory. MTD_PHYSMAP is the actual mapping
configuration of the MTD in your system. A CFI flash is a flash memory
able to identify itself by providing a standard protocol. Probably
your board's flash is a CFI one (see its datasheet).

MTD implements a some sort of physical layer between the memory device
and an application such as JFFS2 filesystem or mtd-utils (erase,
eraseall...). If you want to use your flash as a JFFS2 based disk, you
must turn on MTD support. uCLinux comes with several flash drivers so
your flash will be probably supported. If no driver is available for
your flash, then I am afraid you shall implement one. The PHYSMAP
feature lets you mapping your flash.

Summarizing, if you want to mount JFFS2 into your flash, you should
enable MTD support and map your flash depending on your system.

Hope this helps
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to