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 spl 中使用bch8 读nand flash中的uboot 出现“ECC: uncorrectable.”错误



(之前发的帖子莫名其妙的找不到了,重发一次)

如题,错误代码定位在ti81xx_nand.c中的ti81xx_correct_data_bch,在调用elm_check_error时总是返回错误值

  /* use elm module to check for errors */
        if (elm_check_error(syndrome, bch->nibbles, &error_count, error_loc) != 0) {
 #ifndef CONFIG_SPL_BUILD//uboot
                 /* This currently sees all pages as being completely full of
                  * uncorrectable errors.  The suspicion is that this is due
                  * to limitations in the elm support we have in U-Boot today
                  */

 #endif
                 printf("ECC: uncorrectable.\n");
                 return -1;
         }

烧写u-boot.img使用的是bch8校验。参考 #ifndef CONFIG_SPL_BUILD下的注释,难道是该版本的uboot中的spl不支持bch8?望赐教

使用的是基于embest devkit8600 修改的主板,uboot版本是embest提供的u-boot-2011.09-psp04.06.00.03