From: jackfriend Date: Wed, 9 Jun 2010 21:27:55 +0800 (CST) Subject: [U-Boot] Fw:Re: Fw:Re: Fw:How can I use yaffs2 in uboot Message-ID: <1dcd9c4.f25c.1291ce54a77.Coremail.jackfriend@163.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > And how are your MTD partitions set up in Linux? [*] MTD partitioning support < > RedBoot partition table parsing [*] Command line partition table parsing < > TI AR7 partitioning support static struct mtd_partition mini2440_default_nand_part[] __initdata = { [0] = { .name = "u-boot", .size = SZ_256K + SZ_128K, .offset = 0, }, [1] = { .name = "u-boot-env", .size = SZ_128K, .offset = SZ_256K + SZ_128K, }, [2] = { .name = "kernel", /* 5 megabytes, for a kernel with no modules * or a uImage with a ramdisk attached */ .size = 0x00500000, .offset = SZ_512K, }, [3] = { .name = "root", .offset = SZ_512K + 0x00500000, .size = MTDPART_SIZ_FULL, }, }; in /uboot/fs/yaffs2/yaffscfg.c flashDev->startBlock =44; flashDev->endBlock = 800;