AnsweredAssumed Answered

i.mx6 uboot DMA error when reading 8kbyte page size NAND flash

Question asked by ZC Tee on May 8, 2015
Latest reply on Jul 8, 2015 by jamesbone
Branched to a new discussion

Hi all,

I am currently encounter another issue on the NAND integration for i.mx6SOLO.

I am using uboot version 2009.08.

NAND used is MT29F32G08CBADAWP, 4GByte, 2MB erase size, 8kByte page size.

 

I keep getting [read data]: DMA error message if i tried to read the NAND flash from uboot.

This happens also when the uboot trying to find the bad blocks while accessing the bad block table block.

 

I had done some experiment on the read_data function in gpmi_nfc_hal.c by limitting the DMA read size manually. I found out that if the size is less than 4095 bytes, the error will not be out.

I had change the NAND_MAX_PAGESIZE to 8192.

Is this due to uboot unable to handle big size (8kByte) DMA transfer? Is there any patch that can solve this issue?

 

Regards,

zc

Outcomes