Chinaunix首页 | 论坛 | 博客
  • 博客访问: 146741
  • 博文数量: 31
  • 博客积分: 1911
  • 博客等级: 上尉
  • 技术积分: 327
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-29 09:48
文章分类

全部博文(31)

文章存档

2011年(22)

2010年(9)

我的朋友

分类: LINUX

2010-11-29 10:18:43

 
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}
};
阅读(1145) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

网络安全服务2011-05-12 15:33:17

分盘四区

chinaunix网友2010-11-30 10:58:50

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com