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.

我现在遇到一个8127内核启动的问题。



8127配置从NAND FLASH启动,然后NAND FALSH使用ubi文件。

在启动过程中出现 ECC错误:

UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 2009:0, read 64 bytes

多次执行:断电然后上电启动,此错误会增加。如:

UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 2009:0, read 64 bytes

UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 2059:0, read 64 bytes

UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 2060:0, read 64 bytes

  • 你好,

    请问你使用的软件是什么?

    如果是IPNC RDK3.8,请参考下面的论坛讨论:e2e.ti.com/.../361486

    如果是更换了新的flash,请看看这个flash的时序和之前使用的是否有区别,ECC支持是否有区别。
  • 和这篇文件有些不同。

    我用 uboot  启动linux系统。现在能够从NAND启动系统,NAND使用的是8BCH校验,能够正常工作。

    但是,出现一个很奇怪的问题:

    重新固化NAND之后,第一次启动没有出现任何错误,断电重启会出现1个或2个错误,

    UBI error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 2009:0, read 64 bytes

    然后,每次断电重启,这个错误个数会增加1个或2个,但是能够进入linux系统。每个错误仅PEB地址不一样,算了一下NAND FLASH地址都在 251M(PEB 2009*128KB)以后。

    NAND 的时序配置为 :

    #define M_NAND_GPMC_CONFIG1	0x00001810
    #define M_NAND_GPMC_CONFIG2 	0x001e1e00
    #define M_NAND_GPMC_CONFIG3 	0x001e1e00
    #define M_NAND_GPMC_CONFIG4 	0x16051807
    #define M_NAND_GPMC_CONFIG5 	0x00151e1e
    #define M_NAND_GPMC_CONFIG6	0x16000f80
    #define M_NAND_GPMC_CONFIG7	0x00000008

  • 你好,

    你能否确认以下你使用的是nand是否需要更高bit的ECC支持?
  • 现在NAND可以支持16BCH。
    固化u-boot-min.nand时使用BCH16写入,uboot.bin与内核以BCH8写入(这个步骤主要是uboot中修改bch16没有成功,不能全部使用BCH16)。
    u-boot-min.nand加载后修改为BCH8,进而加载uboot.bin以及内核。
  • 你好,

    关于BCH16的支持,请参考下面的论坛讨论,里面有相关链接:
    e2e.ti.com/.../369572