mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: barebox@lists.infradead.org
Subject: Re: [RFC/PATCH v2] S3C24xx: NAND management changes to support booting from NAND
Date: Mon, 7 Mar 2011 10:18:00 +0100	[thread overview]
Message-ID: <201103071018.00650.jbe@pengutronix.de> (raw)
In-Reply-To: <1299448398-5672-1-git-send-email-jbe@pengutronix.de>

Juergen Beisert wrote:
> This is revision two of my patch series to make the mini2440 booting from
> NAND. This seems somehow tricky: The mini2440 with a 64 MiB NAND works fine
> here, but the one with 128 MiB does currently boot only.
> In the first patch series where some errors in page address calculation, so
> they cannot work. This patch series might do it in a correct manner, but
> now only tested on 64 MiB and 128 MiB NAND. At least booting from NAND is
> now working also from 128 MiB. But the ECC handling fails, and I have no
> idea whats wrong now: Reading the environment fails with 'err: -74'...

Here the main question:
- what is the difference in ECC handling in the S3C2440 CPU when using
  a "small page" or a "large page" NAND?
  "Small page" ECC seems to work, but "large page" ECC fails. Anyone here with
  more experience with S3C2440/NAND? The Linux driver works well on the large
  page NANDs, but not the barebox's one.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

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

  parent reply	other threads:[~2011-03-07  9:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 21:53 Juergen Beisert
2011-03-06 21:53 ` [PATCH 1/5] mini2440: Add more info about possible SDRAM and flash devices Juergen Beisert
2011-03-06 21:53 ` [PATCH 2/5] mini2440: Consider correct NAND page size for boot Juergen Beisert
2011-03-06 21:53 ` [PATCH 3/5] S3C2440/NAND: Fix page address generation Juergen Beisert
2011-03-06 21:53 ` [PATCH 4/5] S3C2440/NAND: Re-enable the controller after NAND boot test Juergen Beisert
2011-03-06 21:53 ` [PATCH 5/5] S3C2440/NAND: Fix typo Juergen Beisert
2011-03-07  9:18 ` Juergen Beisert [this message]
2011-03-07  9:40   ` [RFC/PATCH v2] S3C24xx: NAND management changes to support booting from NAND Baruch Siach
2011-03-07 10:37     ` Juergen Beisert

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=201103071018.00650.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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