mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org, Stutz Sven <stutzsven@web.de>
Subject: Re: AT91SAM9263-EK
Date: Wed, 18 Jul 2012 18:38:03 +0200	[thread overview]
Message-ID: <20120718163803.GB22657@game.jcrosoft.org> (raw)
In-Reply-To: <20120718150616.GK30009@pengutronix.de>

On 17:06 Wed 18 Jul     , Sascha Hauer wrote:
> Hi Sven,
> 
> On Wed, Jul 18, 2012 at 11:44:29AM +0200, Stutz Sven wrote:
> > 
> > Hello Sascha,
> > 
> > thanks a lot for your help.
> > 
> > When I completely switch off the ecc, Barebox is loading the Linux kernel.
> > But I guess that the ecc is necessary especially for NAND-Flash devices.
> 
> Indeed. You shouldn't use NAND without ecc.
> 
> > 
> > 
> > The AT91SAM9263 controller has a ecc unit implemented. There are
> > three registers and the error calculation is done automatically,
> > only the error correction must be done in software.
> > Or is it better to you use the software ecc and I should try to fix
> > the software problem?
> 
> If possible you should use hardware ecc. It may be though that it has
> bugs that force you to use software ecc, but I'm not familiar with the
> atmel hardware.
the hw ecc work on 9263 but we do not use it on the kernel
> 
> > Can you give me some hints to fix this problem?
> 
> Does it work in the kernel? If yes, try looking for differences. The
> NAND layers are sufficiently similar.
the drivers as the same on both barebox and linux
> 
> > 
> > Btw. I have found the description table for the NAND devices. But
> > what would happen if I change the connections between the controller
> > and the NAND-Flash, where are those port description stored or the
> > timings to access the data bus?
smc

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-07-18 16:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <50065575.4090808@web.de>
2012-07-18  9:44 ` AT91SAM9263-EK Stutz Sven
2012-07-18 15:06   ` AT91SAM9263-EK Sascha Hauer
2012-07-18 16:38     ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-07-13  9:35 AT91SAM9263-EK Stutz Sven
2012-07-16  9:10 ` AT91SAM9263-EK Sascha Hauer
  -- strict thread matches above, loose matches on Subject: below --
2012-07-13  9:33 AT91SAM9263-EK Stutz Sven

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=20120718163803.GB22657@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    --cc=stutzsven@web.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