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 1Ps99y-00074G-O0 for barebox@lists.infradead.org; Wed, 23 Feb 2011 07:29:19 +0000 From: Juergen Beisert Date: Wed, 23 Feb 2011 08:26:59 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201102230826.59603.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: [PATCH 2/2] mini2440: Consider correct NAND page size for boot. To: barebox@lists.infradead.org zoltan@bendor.com.au wrote: > On Tue, 22 Feb 2011, Juergen Beisert wrote: > > From: Juergen Beisert > > > > When booting from NAND, its important to know the correct page size. > > Isn't that info available as soon as SteppingStone sucked in the first 4K > into the internal SRAM? > > As far as I can follow the s3c2440 manual, bit 0 and the read-only bits 1 > to 3 of the NFCONF register convey that information and these bits are set > by sampling a few GPIO (NCON and GPG13-GPG15) pins at reset. Supposedly > these pins are pulled up/low during reset so that SteppingStone itself can > read the boot code from the NAND. > > What am I missing? Hmm, good idea. I will try it. Thanks for the hint. 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