Sorry, I don't know what the kernel driver you point. The processor I used is freescale's i.MX21 which has its own nand flash controller. The attached file is the archive of linux-2.4.18/drivers/mtd/nand directory. ----- Original Message -----From:"Manav Gautam" To:"hurray_0@sina.com" Subject:Re: [Yaffs] A newbie to yaffsDate:Tue,23 May 2006 19:30:44 CSTWhich kernel driver ? and how is the chip connected ? On 5/23/06, hurray_0@sina.com < hurray_0@sina.com> wrote: Hi everybody, I am a new biehere.I had sent a mail sevral days ago, but with no reply. Maybe I made some mistakes when I was sending the mail, so I made a copy of it. I am using linux-2.4.18-rmk4 on my ARM board and I used cramfs with a nor flash before. I tried to put YAFFS to the kernal tree and use it with a new added nand flash on my system. After compiling, I can see yaffs under the /proc: ~ # ls /proc1 47 apmc fs misc swaps10 48 bus interrupts modules sys16 5 cmdline iomem mounts sysvipc2 51 cpu ioports mtd tty3 6 cpuinfo kcore net uptime32 7 devices kmsg partitions version4 8 driver ksyms scsi yaffs44 9 execdomains loadavg self45 92 fb locks slabinfo46 MX2_DMA filesystems meminfo stat ~ # cat /proc/yaffsYAFFS built:May 20 2006 13:51:43$Id: yaffs_fs.c,v 1.39 2005/04/24 08:54:36 charles Exp $$Id: yaffs_guts.c,v 1.41 2005/04/24 08:54:36 charles Exp $ Also I can see yaffs in /proc/filesystem:~ # cat /proc/filesystems nodev rootfsnodev bdevnodev procnodev sockfsnodev tmpfsnodev shmnodev pipefsext2 cramfsumsdosmsdosvfatnodev devfsnodev nfsntfsjffs2yaffsromfsnodev autofsnodev devptsnodev usbdevfsnodev usbfs but I faild to mount the /dev/mtdblock/3 as a yaffs partition:~ # mount -t yaffs /dev/mtdblock/3 /mntyaffs: Attempting MTD mount on 31.3, dev is 7939 "1f:03" yaffs: MTD device does not support required functions mount: Mounting /dev/mtdblock/3 on /mnt failed: Invalid argument PS: There are 5 partitions in my board. The last two is for NAND Flash :Using static partition definitionCreating 3 MTD partitions on "Motorola Mx2 Flash":0x00000000-0x00100000 : "bootloader" 0x00100000-0x00300000 : "kernel"0x00300000-0x01000000 : "file system"nand_maf_id:0xec nand_dev_id:0x76NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung unknown 64Mb)Creating 2 MTD partitions on "Samsung unknown 64Mb": 0x00000000-0x00400000 : "yaffs"0x00400000-0x04000000 : "user Can anybody help me to resolve this problem? Are you able to receive my mail and open it? I am really eager to get help from all of you. Best regards! Hurray ------------------------------------------------------------------- 采用CMS技术的新东风标致307( http://ad4.sina.com.cn/sina/limeng3/mail_zhuiyu/2006/mail_zhuiyu_20060522.html ) =================================================================== 注册新浪2G免费邮箱( http://mail.sina.com.cn/chooseMode.html )