public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] NAND DMA timed out with i.mx boot source code.
@ 2012-06-28  6:18 alex
  2012-06-28 10:49 ` Marek Vasut
  0 siblings, 1 reply; 6+ messages in thread
From: alex @ 2012-06-28  6:18 UTC (permalink / raw)
  To: u-boot

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.

Best Regards,
Alex

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] NAND DMA timed out with i.mx boot source code.
  2012-06-28  6:18 [U-Boot] NAND DMA timed out with i.mx boot source code alex
@ 2012-06-28 10:49 ` Marek Vasut
  2012-06-29  2:24   ` alex
  0 siblings, 1 reply; 6+ messages in thread
From: Marek Vasut @ 2012-06-28 10:49 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] NAND DMA timed out with i.mx boot source code.
  2012-06-28 10:49 ` Marek Vasut
@ 2012-06-29  2:24   ` alex
  2012-06-29  2:51     ` Fabio Estevam
  2012-06-29  4:18     ` Marek Vasut
  0 siblings, 2 replies; 6+ messages in thread
From: alex @ 2012-06-29  2:24 UTC (permalink / raw)
  To: u-boot

No network on my board, so nand_update_full can't be run. I use command "kobs-ng init u-boot.sb" to update(default:  /dev/mtd0) or mfgtools from freescale. 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@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] NAND DMA timed out with i.mx boot source code.
  2012-06-29  2:24   ` alex
@ 2012-06-29  2:51     ` Fabio Estevam
  2012-06-29  3:28       ` alex
  2012-06-29  4:18     ` Marek Vasut
  1 sibling, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2012-06-29  2:51 UTC (permalink / raw)
  To: u-boot

On Thu, Jun 28, 2012 at 11:24 PM, alex <laub923@163.com> wrote:
> No network on my board, so nand_update_full can't be run. I use command "kobs-ng init u-boot.sb" to update(default: >?/dev/mtd0) or mfgtools from freescale. I just add support NAND to mx28evk configs file copied from m28evk configs.

There is NAND support on mx28evk.h in mainline. Looks like you are
using old code.

Please use the latest mainline code and try again.

Are you able to boot from SD card on your board?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] NAND DMA timed out with i.mx boot source code.
  2012-06-29  2:51     ` Fabio Estevam
@ 2012-06-29  3:28       ` alex
  0 siblings, 0 replies; 6+ messages in thread
From: alex @ 2012-06-29  3:28 UTC (permalink / raw)
  To: u-boot

No sd support on my board. I use the the latest code.  update by command "kobs-ng init u-boot.sb", and give error as below:
mtd: erase stepping bounds
mtd: Failed to erase block @0x1e0000
mtd: Failed to write BS#1
FAILED to commit structures





At 2012-06-29 10:51:58,"Fabio Estevam" <festevam@gmail.com> wrote:
>On Thu, Jun 28, 2012 at 11:24 PM, alex <laub923@163.com> wrote:
>> No network on my board, so nand_update_full can't be run. I use command "kobs-ng init u-boot.sb" to update(default: > /dev/mtd0) or mfgtools from freescale. I just add support NAND to mx28evk configs file copied from m28evk configs.
>
>There is NAND support on mx28evk.h in mainline. Looks like you are
>using old code.
>
>Please use the latest mainline code and try again.
>
>Are you able to boot from SD card on your board?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] NAND DMA timed out with i.mx boot source code.
  2012-06-29  2:24   ` alex
  2012-06-29  2:51     ` Fabio Estevam
@ 2012-06-29  4:18     ` Marek Vasut
  1 sibling, 0 replies; 6+ messages in thread
From: Marek Vasut @ 2012-06-29  4:18 UTC (permalink / raw)
  To: u-boot

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@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-29  4:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-28  6:18 [U-Boot] NAND DMA timed out with i.mx boot source code alex
2012-06-28 10:49 ` Marek Vasut
2012-06-29  2:24   ` alex
2012-06-29  2:51     ` Fabio Estevam
2012-06-29  3:28       ` alex
2012-06-29  4:18     ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox