This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x elm模块校验nand flash失败

各位TI的专家:

目前我遇到一个问题,公司自制的板子,模仿bbb做的核心板,添加了nand flash,使用SD卡启动,在uboot下,执行saveenv命令,再次通过SD卡启动

报如下的错误:

MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
NAND read from offset 260000 failed -74

跟踪uboot代码

  /* use elm module to check for errors */
    if (elm_check_error(syndrome, bch->nibbles, &error_count,
                error_loc) != 0) {
        printf("ECC: uncorrectable.\n");
        return -1;
    }

错误是这里打印出来的,这个该如何解决,是哪里出了问题?我只是在nand flash里保存了一下env而已。。。。。