SPI NAND flash driver for i.MX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI NAND flash driver for i.MX6

3,432 Views
shabeerbadarudh
Contributor IV

Hi All,


 We are planning to use Micron's SPI NAND chip(MT29F4G01) in i.mx6q SOC based custom hardware. We have got spi nand driver from microns, Let me know how to integrate these driver in i.mx6 linux 4.1.15 BSP. In the Linux BSP we have seen only i.mx6 SPI nor controller driver. Will it work for a SPI NAND flash driver? or how do we port the driver in 4.1.5 to make it detect.

Thanks in Advance,
Shabeer

0 Kudos
2 Replies

1,919 Views
igorpadykov
NXP Employee
NXP Employee

Hi Shabeer

one can try to follow micron porting documentation

Micron TN-00-25: Enabling a Flash Memory Device into the Linux MTD
https://www.micron.com/~/media/documents/products/technical-note/nand-flash/tn0025_enabling_flash_in...

Serial NAND Software 

[v2,5/6] nand: spi: add Micron spi nand support - Patchwork 

use as example NXP spi-nor driver described in attached Linux Manual

Chapter 31 SPI NOR Flash Memory Technology Device (MTD) Driver

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

0 Kudos

1,919 Views
shabeerbadarudh
Contributor IV

Hi igor,

Thanks for the quick response.

Do we need to do  modifiy the imx6 spi-nor controller driver for adapting this flash chip?

Best Regards,

Shabeer 

0 Kudos