首页 > 其他 > 详细

移植u-boot-2010.03问题 --- No oob scheme defined for oobsize 32

时间:2014-01-21 16:41:00      阅读:385      评论:0      收藏:0      [点我收藏+]

移植u-boot-2010.03问题 --- No oob scheme defined for oobsize 32

1,找到u-boot-2010.03/drivers/mtd/nand下的nand_ids.c

  //{"NAND 2GiB 3,3V 8-bit",    0xD5, 0, 2048, 0, LP_OPTIONS},
    {"NAND 2GiB 3,3V 8-bit",    0xD5, 4096, 2048, 512*1024, LP_OPTIONS},

2,找到u-boot-2010.03/include/linux/mtd下的mtd.h

第一处:

bubuko.com,布布扣
    //uint64_t addr;
    //uint64_t len;
    //uint64_t fail_addr;
    uint32_t addr;
    uint32_t len;
    uint32_t fail_addr;
bubuko.com,布布扣

第二处:

    //uint64_t offset;            /* At which this region starts, from the beginning of the MTD */
    uint32_t offset;

第三处:

   //uint64_t size;     /* Total size of the MTD */
    uint32_t size;

移植u-boot-2010.03问题 --- No oob scheme defined for oobsize 32

原文:http://www.cnblogs.com/lucky-tom/p/3527390.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!