[U-Boot] NAND DMA timed out with i.mx boot source code.

Marek Vasut marex at denx.de
Fri Jun 29 06:18:19 CEST 2012


Dear alex,

> No network on my board, so nand_update_full can't be run.

I'm sure you can figure out how to transfer the update file, the rest is the 
same.

> I use command
> "kobs-ng init u-boot.sb" to update(default:  /dev/mtd0) or mfgtools from
> freescale.

That won't work, see vim doc/README.mx28_common (section 4) about NAND, around 
line 150)

> I just add support NAND to mx28evk configs file copied from
> m28evk configs. Sub-page size of nand flash is 2048bytes with oob size is
> 64byte, and size is 128M.
> 
> At 2012-06-28 18:49:39,"Marek Vasut" <marex at denx.de> wrote:
> >Dear alex,
> >
> >> Hi:
> >>   I have one board which hardware copied from mx28evk board, and
> >>   compiled
> >> 
> >> the source code cloned from u-boot mainline git. The rom in mx28 print
> >> 0x80508008, that is "NAND DMA timed out".  I compile the source from
> >> u-boot-testing, and it's no any wrong print, and the start is OK. I
> >> don't know why result in this issue.
> >
> >u-boot-testing is quite ancient. But the code you're getting is during
> >bootrom booting from NAND, not in uboot, correct? Does your nand chip
> >have 2048b pages with 64b OOB? Did you use nand_update_full() to reload
> >the NAND?
> >
> >> Best Regards,
> >> Alex
> >
> >Best regards,
> >Marek Vasut

Best regards,
Marek Vasut


More information about the U-Boot mailing list