iriver Dicple D8

如何調整MTD大小


drivers/mtd/nand/jz4750_nand.c

227 #if defined(CONFIG_JZ4755_D8)
 228 struct mtd_partition partition_info[] = {
 229     {name:"NAND BOOT partition",
 230     offset:0 * 0x100000,
 231        size:4 * 0x100000,
 232        cpu_mode: 1,
 233        use_planes: 0,
 234        mtdblock_jz_invalid: 1},
 235
 236     {name:"NAND KERNEL partition",
 237     offset:4 * 0x100000,
 238        size:4 * 0x100000,
 239        cpu_mode: 1,
 240        use_planes: 0,
 241        mtdblock_jz_invalid: 1},
 242
 243     {name:"NAND ROOTFS partition",
 244     offset:8 * 0x100000,
 245        size:248 * 0x100000,
 246        cpu_mode: 1,
 247        use_planes: 0,
 248        mtdblock_jz_invalid: 1},
 249
 250     {name:"NAND vfat partition",
 251     offset:256 * 0x100000LL,
 252        size:1012 *0x100000LL,
 253        cpu_mode: 0,
 254        use_planes: 1,
 255        mtdblock_jz_invalid: 0},
 256
 257     {name:"NAND VFAT partition",
 258     offset:1268 * 0x100000LL,
 259        size:2700 * 0x100000LL,
 260        cpu_mode: 0,
 261        use_planes: 1,
 262        mtdblock_jz_invalid: 0},
 263 };


返回上一頁