LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What are MTD Devices (https://www.linuxquestions.org/questions/linux-newbie-8/what-are-mtd-devices-33430/)

aditya 10-22-2002 05:14 AM

What are MTD Devices
 
Hi,
When I complie the kernel I get the following options.
Include MTD devied, and support for cramfs files-system, support for ROMFS, etc.

What are these. One more important thing:

I have a flash ROM whose physical address I don't know. If I add support for MTD devices in the kernel, and the cramfs support, do I still need to write a device driver for that ROM?

I also need to know about the cramfs in detail.

Please help me even if you can help in just a part of my problems. I'm totally directionless. Any good site for these beginners.

Thanks.

JStew 11-13-2002 10:08 AM

If you're asking about "flash" devices then I'd say not to worry about adding that feature as a module... unless you're planning on including modules for these types of devices then it is not even close to being necessary. You shouldn't need them unless you're one of those demented folks who like use their rom as a mounted device for some sort of sick storage schema :^|/:^)

As far as cramfs, do you plan on creating, modifying and/or using any embedded devices in conjunction with your box? If not... not a big deal to worry with either... cramfs is really some type of file system that is made to be very simple, enable compression and, of course, be small. This would be used on something other than orthodox hardware devices. Again... unless you're some sort of demented embedded maiven :-) then dont worry with it.

Good luck.

aditya 11-14-2002 05:40 AM

Hi,
I am writing a driver for flash a flash. So that's why I need to know ehat's this MTD and CFI, and upto what level of abstraction do they provide the interface between OS and the physical device. Than later I'll have to transfer a cramfs filesystem to this device. I have no idea.

Again, when I amde the boot disk for linux, I had to just make the kernel and the root filesystem. But cramfs looks different. There are 3 different filesystems: init.cramfs, root.cramfs, and usr.cramfs. What's the difference between the 3.

Do you also know a tutorial site for these things?
Thanks.


All times are GMT -5. The time now is 03:48 AM.