All of lore.kernel.org
 help / color / mirror / Atom feed
From: Woodruff, Richard <r-woodruff2@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] ECC code used in cmd_nand.c
Date: Tue, 22 Jul 2003 19:12:33 -0500	[thread overview]
Message-ID: <FD2AC9A020DDD51194710008C7089B200BEE2202@dlee17.itg.ti.com> (raw)

Hello,
 
Can anyone verify that the write using "nand write aaaa offf ssss" should
work with ECC enabled?  I'm finding that if I disable the ECC generation I
can write uImages and compare them and get what I expect and boot from them.

 
If I enable ECC generation, on read it complains that they are all wrong
(but there is no errors on the write which I think it should give if the
written ecc does not match the calculated one).  If I disregard the ecc
warnings and then "cmp" the data starting which was loaded, the first 16k
are indeed the same (16k is my block size), however, there is some
differences at the end of the first block.  Again, if I disable ECC no such
problem.
 
...If I do a read.oob of the first block, it appears that the data_buf[0] is
written to the first position of the oob, instead of the expected data.
 
Regards/Thanks for any info,
 
Richard W.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20030722/7882c023/attachment.htm 

             reply	other threads:[~2003-07-23  0:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-23  0:12 Woodruff, Richard [this message]
2003-07-23 18:38 ` [U-Boot-Users] ECC code used in cmd_nand.c Dave Ellis
2003-07-23 22:59 Woodruff, Richard
2003-07-23 23:23 Woodruff, Richard
2003-07-24 20:05 ` Dave Ellis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FD2AC9A020DDD51194710008C7089B200BEE2202@dlee17.itg.ti.com \
    --to=r-woodruff2@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.