From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 29 Jun 2012 06:18:19 +0200 Subject: [U-Boot] NAND DMA timed out with i.mx boot source code. In-Reply-To: <1e984755.385d.138360e13ba.Coremail.laub923@163.com> References: <5029ebc4.18c37.13831bd45ff.Coremail.laub923@163.com> <201206281249.39441.marex@denx.de> <1e984755.385d.138360e13ba.Coremail.laub923@163.com> Message-ID: <201206290618.19404.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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" 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