- 积分
- 5593
贡献607
飞刀2 FD
注册时间2010-1-6
在线时间965 小时
|
修改MTD分区
文件: arch/arm/plat-s3c24xx/common-smdk.c
需要和bootloader中的分区信息相同(128M),否则,启动时出错。- static struct mtd_partition smdk_default_nand_part[] = {
- [0] = {
- .name = "Boot",
- .size = 0x00100000,
- .offset = 0
- },
- [1] = {
- .name = "MyApp",
- .size = 0x003c0000,
- .offset = 0x00140000,
- },
- [2] = {
- .name = "Kernel",
- .size = 0x00300000,
- .offset = 0x00500000,
- },
- [3] = {
- .name = "fs_yaffs",
- .size = 0x03c00000, //30M
- .offset = 0x00800000,
- },
- [4] = {
- .name = "WINCE",
- .size = 0x03c00000,
- .offset = 0x04400000,
- }
- };
复制代码 |
|