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

  //{"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.hui

第一处:this

    //uint64_t addr;
    //uint64_t len;
    //uint64_t fail_addr;
    uint32_t addr;
    uint32_t len;
    uint32_t fail_addr;

第二处:spa

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

第三处:code

   //uint64_t size;     /* Total size of the MTD */
    uint32_t size;
相关文章
相关标签/搜索