主题 : mini2.6内核移植 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 2781
精华: 0
发帖: 37
金钱: 190 两
威望: 37 点
综合积分: 74 分
注册时间: 2008-12-08
最后登录: 2017-09-13
楼主  发表于: 2008-12-18 16:52

 mini2.6内核移植

管理提醒: 本帖被 qq2440 从 mini2440资料下载中心 移动到本区(2009-04-21)
请问一下mini2440的2.6.13的mtd分区信息在哪里
找到
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-12-19 23:08
在arch/arm/mach-s3c2410/mach-qq2440.c里

复制代码
  1. struct mtd_partition bit_default_nand_part[] = {
  2. [0] = {
  3. .name = "bootloader",
  4. .offset = 0x00000000,
  5. .size = 0x00030000,
  6. },
  7. [1] = {
  8. .name = "kernel",
  9. .offset = 0x00050000,
  10. .size = 0x00200000,
  11. },
  12. [2] = {
  13. .name = "root",
  14. .offset = 0x00250000,
  15. .size = 0x03dac000,
  16. }
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."