public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Loading from NAND using 'nboot' Periodically Fails Where 'nand read' Succeeds
@ 2008-06-02  1:53 Grant Erickson
  2008-06-02  6:22 ` Stefan Roese
  0 siblings, 1 reply; 13+ messages in thread
From: Grant Erickson @ 2008-06-02  1:53 UTC (permalink / raw)
  To: u-boot

Before I jump in with the BDI and start debugging, has anyone else using
'nboot' and FIT images noticed that 'nboot' periodically fails where 'nand
read.i' of the SAME region of NAND succeeds?

    => echo $bootaddr
    800000
    => echo $boot0
    nboot ${bootaddr} 0 0 && setenv bootargs root=/dev/mtdblock9 && run
    addjffs2 addtty && bootm ${bootaddr}
    => run boot0

    Loading from NAND 64MiB 3,3V 8-bit, offset 0x0
    ** Bad FIT image format

    => nand read.i ${bootaddr} 0 400000

    NAND read: device 0 offset 0x0, size 0x400000

    Reading data from 0x3ffe00 -- 100% complete.
     4194304 bytes read: OK
    => setenv bootargs root=/dev/mtdblock9
    => run addjffs2 addtty
    => bootm ${bootaddr}
    ## Booting kernel from FIT Image at 00800000 ...
       Using 'config at 1' configuration
       Trying 'kernel at 1' kernel subimage
    ...
    Using Haleakala machine description
    Linux version 2.6.25-rc3-00951-g6514352-dirty (gerickson at ubuntu-fusion)
(gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) #2 Wed May 28 22:49:36 PDT 2008
    Zone PFN ranges:
      DMA             0 ->    65536
      Normal      65536 ->    65536
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
    ...

This is using AMCC's Haleakala board with Samsung K9F1208U0B NAND, though I
suspect that doesn't make any difference since nand read.i works fine.

Regards,

Grant

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

end of thread, other threads:[~2008-06-06  7:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-02  1:53 [U-Boot-Users] Loading from NAND using 'nboot' Periodically Fails Where 'nand read' Succeeds Grant Erickson
2008-06-02  6:22 ` Stefan Roese
2008-06-02 18:21   ` Scott Wood
2008-06-02 22:02     ` Grant Erickson
2008-06-02 22:07       ` [U-Boot-Users] Non-block-skipping NAND commands (was: Loading from NAND using 'nboot' Periodically Fails Where 'nand read' Succeeds) Scott Wood
2008-06-03  0:48         ` Stuart Wood
2008-06-03  6:09         ` Stefan Roese
2008-06-04  7:19         ` Matthias Fuchs
2008-06-04  9:56         ` [U-Boot-Users] Non-block-skipping NAND commands Detlev Zundel
2008-06-05 20:47       ` [U-Boot-Users] Loading from NAND using 'nboot' Periodically Fails Where 'nand read' Succeeds Grant Erickson
2008-06-05 22:30         ` Grant Erickson
2008-06-05 22:59           ` Grant Erickson
2008-06-06  7:38             ` Marian Balakowicz

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