From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Erickson Date: Sun, 01 Jun 2008 18:53:54 -0700 Subject: [U-Boot-Users] Loading from NAND using 'nboot' Periodically Fails Where 'nand read' Succeeds Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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