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

移植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

第一处:

移植u-boot-2010.03问题 --- No oob scheme defined for oobsize 
32
    //uint64_t addr;
    //uint64_t len;
    //uint64_t fail_addr;
    uint32_t addr;
    uint32_t len;
    uint32_t fail_addr;
移植u-boot-2010.03问题 --- No oob scheme defined for oobsize 
32

第二处:

    //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

上一篇:面试疑难点解析:开发工具及框架(三)


下一篇:面试疑难点解析:开发工具及框架(九)