AnsweredAssumed Answered

i.MX6UL NAND Flash uBoot失败

Question asked by George Li on Jan 2, 2020
Latest reply on Jan 19, 2020 by Rita Wang

问题描述: nandflash ONFISPANSION S34ML16G2 更换成 TOGGLE ( TOSHIBA  TH58NVG4S0HTA20) 

更换后: NANDFLASH 芯片信息 

厂家 ;  TOSHIBA  TOGGLE

芯片 TH58NVG4S0HTA20   (  16 GBIT( 2G X 8BIT)  CMOS NAND E2PROM)

           Page size:  4352 bytes ( 4096 + 256 )bytes

           Block size :  (256 K + 16 K )bytes          

           8 bit ECC for each 512Byte is required

 

更换前: NANDFLASH 芯片信息

厂家:SPANSION   ONFI

芯片: S34ML16G2 ( 16Gb 4GB x 4)

          Page size:  2176 Bytes( 2048 + 128)

          Block size:  128 K + 8k

          4-BIT ECC per 528 bytes

  

U-BOOT 修改:

      uboot/driver/mtd/nand/nand_ids.c 中根据芯片手册增加

{"TH58NVG4S0HTA20 16G 3.3V 8-bit",

{ .id = {0x98, 0xd3, 0x91, 0x26, 0x76, 0x00, 0x00, 0x00} },

SZ_4K, SZ_2K, SZ_256K, 0, 5, 256 , NAND_ECC_INFO(8, SZ_512) },

 硬件配置:

         BOOT_MODE[1:0] = 0b10   Internal BOOT

 

        BOOT_CFG1[7:0] = 1 1 0 1  0 1 0 0  = 0xD4

        BOOT_CFG2[7:0] = 0 0 0 0  1 0 0 0   = 0x08

        BOOT_CFG4[7:0] = 0 0 1 1  0 1 00

现象:

        通过MFGTOOL 烧录成功后,断电重新上电,系统任然是在BOOT 模式,串口无任何消息。

请问有哪些建议,该如何排查问题?谢谢!

Outcomes