Hi xiaoxing(is this your name?), As being a newbie just like you, I know little about the bootloader. But I think that the first thing you should do is to visit http://linux-mtd.infradead.org and check out the latest MTD codes, and then write a file that suits to your dev. board. (drivers/mtd/nand/spia.c in the MTD source will help with that) And about the bootloader, here's how I handled it. I partitioned my NAND flash into several pieces, and used one of them as my root file system. (in my case, the root file system is on /dev/mtdblock3, so I gave root=/dev/mtdblock3 as a kernel parameter) The kernel image, I didn't store it on YAFFS; I stored it as raw binary, writing some additional (nothing to do with YAFFS) functions used to read/write it supporting ECC. Hope It helped. Good Luck, may the force be with you :) Edward, in Korea. ----- Original Message ----- From: "gjx" To: Sent: Friday, April 11, 2003 5:26 PM Subject: some questions to use the Yaffs hello,yaffs Our development board is PB1000,our system's Brief Details: cpu-AU1000/AU1100,Operation System-Monta Vista Linux(hardhat linux),256M NAND Flash(SumSung),256K/1M NOR flash(AMD), bootloader-YAMON. We want to use the YAFFS, do we need to write the MTD driver for my nand flash? If we have to do so,please give me some references and some notes. I found that the balloon's brief details(http://www.toby-churchill.org/):1MB NOR Flash , 32MB NAND flash , Linux 2.4.19-rmk4-tcl2 , yaffs filesystem , Bootldr. (1)Is the bootloader stored in the 1MB NOR Flash? And Are OS(Linux 2.4.19-rmk4-tcl2) and root filesystem(yaffs) stored in the 32MB NAND Flash? (2)If it is right above, I think the Bootldr should be able to identify the YAFFS, and the kernel of the OS can subsequently be read from the NAND(i.e. yaffs) to the RAM. is't true? (3)if it is true above, how to modify the bootloader to realize the idea? (4)Can you send the relevant document of the modification of the Bootldr for using the yaffs? if you can't understand,please send to me, i will describe it in detail. thanks very much!         gjx         xiaoxing001@etang.com           2003-04-11 --------------------------------------------------------------------------------------- This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org). If mailing list membership is no longer wanted you can remove yourself from the list by sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" (without the quotes) as the subject.