public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] More davinci 4-bit hw ecc questions
Date: Wed, 2 Sep 2009 23:11:50 -0700	[thread overview]
Message-ID: <200909022311.50941.david-b@pacbell.net> (raw)
In-Reply-To: <4b73d43f0909022156m74a3e122m536f3aee159c107c@mail.gmail.com>

On Wednesday 02 September 2009, John Rigby wrote:
> Thanks David, I'm less confused now. ?I think part of my misunderstanding is
> this comment about the new nand_read_page_hwecc_oob_first function in
> nand_base.c:
> 
> ?* Hardware ECC for large page chips, require OOB to be read first.
> ?* For this ECC mode, the write_page method is re-used from ECC_HW.
> ?* These methods read/write ECC from the OOB area, unlike the
> ?* ECC_HW_SYNDROME support with multiple ECC steps, follows the
> ?* "infix ECC" scheme and reads/writes ECC from the data area, by
> ?* overwriting the NAND manufacturer bad block markings.
> 
> I had a hard time parsing everything past "unlike". ?From what you have said
> I gather that ECC_HW_SYNDROME does the bad "infix ECC" and the new
> OOB_NAND_ECC_HW_OOB_FIRST method does not. ?I think different wording would
> help here.

Yes; not the clearest English.


> We will be using mainline linux and u-boot. ?The first version of the board
> will likely by 2K slc so looks like we are fine with 1-bit hw ecc. ?We may
> just plan on using OpenOCD to write UBL and U-Boot if the RBL in the silicon
> needs infix 4-bit ecc.

That ought to work for you.  I've go an OpenOCD pach in the
works to speed that up a bunch too.


> 	We need to check once more how UBL is written on the 
> 365 based dev boards we have right now. ?Of course TI could change to
> non-infix between now and when we start manufacturing so we just need to be
> ready for either.

ISTR docs on '365 don't cover the OOB layout as used by the
RBL well ... a third layout seems to be implied.

      reply	other threads:[~2009-09-03  6:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03  3:02 [U-Boot] More davinci 4-bit hw ecc questions John Rigby
2009-09-03  3:17 ` John Rigby
2009-09-03  4:25 ` David Brownell
2009-09-03  4:56   ` John Rigby
2009-09-03  6:11     ` David Brownell [this message]

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=200909022311.50941.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox