Hi folks,

In case anyone else has run into this and can point me to a quick fix:

I've been making mods to the u-boot 1.2.0 sources that came with the
DM355 EVM. My rebuilt u-boot runs fine and can boot from TFTP, but the
first time it tries to "nboot" it thinks there are ECC errors, so
autoboot fails. From the u-boot command line if I try to nboot, the
second and subsequent times all succeed, so I imagine there's some state
info in the ECC calculations that isn't getting reset properly. Example
output, breaking to command line before any autoboot runs:

# nboot 0x80700000 0 0x400000

Loading from NAND 1GiB 3,3V 8-bit, offset 0x400000
too many erros to be corrected!
nand_read_ecc: Failed ECC read, page 0x00000800 on chip 0
** Read error
# nboot 0x80700000 0 0x400000

Loading from NAND 1GiB 3,3V 8-bit, offset 0x400000
   Image Name:   Linux-2.6.10_vidbox
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1463084 Bytes =  1.4 MB
   Load Address: 80008000
   Entry Point:  80008000
#

The u-boot binary that came with the board works, and I had to change
the config in the sources to get it booting at all, so presumably these
aren't *exactly* the sources used to build the binary that came with the
board.

I will now be burying my head in the datasheets for ECC operation and
digging around in the u-boot nand sources debugging.. but if anyone has
any pointers that would save me time, I would be most thankful.

Cheers,

--
Jon Povey, Design Engineer
[EMAIL PROTECTED] | +44(0)1280 825983 

 
Racelogic is a limited company registered in England. Registered number 2743719 
. 
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, 
MK18 1TB .
The information contained in this electronic mail transmission is intended by 
Racelogic Ltd for the use of the named individual or entity to which it is 
directed and may contain information that is confidential or privileged. If you 
have received this electronic mail transmission in error, please delete it from 
your system without copying or forwarding it, and notify the sender of the 
error by reply email so that the sender's address records can be corrected. The 
views expressed by the sender of this communication do not necessarily 
represent those of Racelogic Ltd. Please note that Racelogic reserves the right 
to monitor e-mail communications passing through its network

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to