ok2440v1 分区表
static struct mtd_partition smdk_default_nand_part[] = {
[0] = {
.name = "Boot",
.size = 0x00030000,
.offset = 0
},
[1] = {
.name = "Application",
.size = 0x00200000,
.offset = 0x00030000,
},
[2] = {
.name = "Kernel",
.size = 0x001d0000,
.offset = 0x00230000,
},
[3] = {
.name = "FileSystem",
.size = 0x01c00000, //30M
.offset = 0x00400000,
},
[4] = {
.name = "WINCE",
.size = 0x02000000,
.offset = 0x02000000,
}
};
0x00000000-0x00030000 : "boot"
0x00030000-0x00230000 : "application"
0x00230000-0x00400000 : "kernel"
0x00400000-0x02200000 : "rootfs"
0x02000000-0x04000000 : "wince"
static struct Partition NandPart[] = {
{0, 0x00030000, "boot"}, //256K
{0x00030000, 0x00200000, "application"},
{0x00230000, 0x001d0000, "kernel"}, //by pht.
{0x00400000, 0x01c00000, "rootfs"}, //28M
{0x02000000, 0x02000000, "wince"}, //32M
{0, 0 , 0}
};
阅读(1179) | 评论(2) | 转发(0) |