I placed MT29F8G08ABABA nand flash on DM8168 board,
MT29F8G08ABABA is 4096 bytes per page with 224 bytes OOB.
Page size: 4320 (4096 + 224bytes)
Block size: 128 pages (512K +28K bytes)
Chip selects: 1
I have checked the current kernel code on PSP linux-2.6.37-psp04.00.00.13, I found that kernel can't support NAND device with very large page size (4Kbytes/page with 224bytes oob) .
please check drivers/mtd/nand/davinci_nand.c for more detail.
732733 /* 4KiB page chips are not yet supported. The eccpos from734 * nand_ecclayout cannot hold 80 bytes and change to eccpos735 * breaks userspace ioctl interface with mtd-utils. Once we736 * resolve this issue, NAND_ECC_HW_OOB_FIRST mode can be used737 * for the 4KiB page chips.738 *739 * TODO: Note that nand_ecclayout has now been expanded and can740 * hold plenty of OOB entries.741 */
so, when will TI fixed the issue? in next psp release?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.