From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1PwWc5-0007dk-48 for barebox@lists.infradead.org; Mon, 07 Mar 2011 09:20:26 +0000 Received: from gallifrey.ext.pengutronix.de ([2001:6f8:1178:4:5054:ff:fe8d:eefb] helo=localhost) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1PwWc3-0005bE-5K for barebox@lists.infradead.org; Mon, 07 Mar 2011 10:20:23 +0100 From: Juergen Beisert Date: Mon, 7 Mar 2011 10:18:00 +0100 References: <1299448398-5672-1-git-send-email-jbe@pengutronix.de> In-Reply-To: <1299448398-5672-1-git-send-email-jbe@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201103071018.00650.jbe@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [RFC/PATCH v2] S3C24xx: NAND management changes to support booting from NAND To: barebox@lists.infradead.org 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