[U-Boot] Fw:Re: Fw:Re: Fw:How can I use yaffs2 in uboot
jackfriend
jackfriend at 163.com
Wed Jun 9 15:27:55 CEST 2010
> 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;
More information about the U-Boot
mailing list