Uboot support for NAND Flash TC58NVG1S3H

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Uboot support for NAND Flash TC58NVG1S3H

1,192件の閲覧回数
abutter
Contributor I

I am working on board with I.MX6ULL and NAND Flash TC58NVG1S3H. I run nandtest on Linux to test this chip and also try wrinting and then dumping a mtd partition, all seems well.

When uboot reads kernel image and dts from NAND, something wrong happend, the first 256 bytes are good but the remains of the data seems random.

The I added something for this nand flash into nand_flash_ids table as per the datasheet

+#if 1
+       {"TC58NVG1S3H 2G 3.3V 8-bit",
+               { .id = {0x98, 0xda, 0x90, 0x15, 0x76, 0x16, 0x08, 0x00} },
+                 SZ_2K, SZ_256, SZ_128K, 0, 8, 128, NAND_ECC_INFO(8, SZ_512) },
+#endif
        {"TC58NVG2S0H 4G 3.3V 8-bit",
                { .id = {0x98, 0xdc, 0x90, 0x26, 0x76, 0x16, 0x08, 0x00} },
                  SZ_4K, SZ_512, SZ_256K, 0, 8, 256, NAND_ECC_INFO(8, SZ_512) },

The U-boot didn't complain about unknow flash any more, but when I failed to run nand read command, it just said something wrong.

I am working on checking the timing and layout in BCH and GPMI registers. While, any suggestion is appreciated.

Yanan

ラベル(2)
0 件の賞賛
4 返答(返信)

840件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Yanan

as suggestion one can try with official nxp uboot from source.codeaurora.org repository

uboot-imx - i.MX U-Boot 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

840件の閲覧回数
abutter
Contributor I

Thanks for your quick reply. Yes, I am using this U-Boot and even tried imx_v2018.03_4.14.62_1.0.0_beta.

0 件の賞賛

840件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

one can try to test it on i.MX6ULL EVK board or with some tested nands:

MT29F32G08CBADBWP-12IT:D
MT29F32G08CBACAWP-Z:C

Best regards
igor

0 件の賞賛

840件の閲覧回数
abutter
Contributor I

Igor,

Thanks. We replace the Toshiba NAND with a Micron one because of tight schedule.

Yanan

0 件の賞賛