> 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;



_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to