how to find the linux driver source code for nandFlash?

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

how to find the linux driver source code for nandFlash?

Jump to solution
2,512 Views
yinux
Contributor III

I want to find the nandflash driver in the linux sdk .

1)   download Virtual Host Enviroment: QorIQ DPAA SDK v1.9 PPCE500MC with Virtual Host Enviroment

2) cd /SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2041rdb/tmp/work-shared/p2041rdb/kernel-source/drivers/mtd/nand

    which c source will fit the nandFlash MT29F2G08AAD?

thanks for your help.

0 Kudos
Reply
1 Solution
1,991 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello yang yang,

Please refer to the file in drivers/mtd/nand/fsl_elbc_nand.c for P2041RDB.

Thanks,

Yiping

View solution in original post

0 Kudos
Reply
4 Replies
1,991 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello yang yang,

If your want to use IFC controller, please consider about T series processors.

Please refer to drivers/mtd/nand/fsl_ifc_nand.c for IFC Flash Controller NAND Machine driver.

Thanks,

Yiping

0 Kudos
Reply
1,991 Views
yinux
Contributor III

thanks for your reply.

now I cannot  change my ppc p2041 to the T serial.

I want to know the linux drivers , how to use the ecc alg,  in the p2041RDB.

which c source will fit the nandFlash MT29F2G08AAD (supported in the 2041RDB board)?

0 Kudos
Reply
1,992 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello yang yang,

Please refer to the file in drivers/mtd/nand/fsl_elbc_nand.c for P2041RDB.

Thanks,

Yiping

0 Kudos
Reply
1,991 Views
yinux
Contributor III

got ,thanks very much.

0 Kudos
Reply