mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Stutz Sven <stutzsven@web.de>
Cc: barebox@lists.infradead.org
Subject: Re: AT91SAM9263-EK
Date: Wed, 18 Jul 2012 17:06:16 +0200	[thread overview]
Message-ID: <20120718150616.GK30009@pengutronix.de> (raw)
In-Reply-To: <5006857D.4020505@web.de>

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.

> 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.

> 
> 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?

I have no idea.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

  reply	other threads:[~2012-07-18 15:06 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   ` Sascha Hauer [this message]
2012-07-18 16:38     ` AT91SAM9263-EK Jean-Christophe PLAGNIOL-VILLARD
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=20120718150616.GK30009@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --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