[PATCH 2/2] mini2440: Consider correct NAND page size for boot.
jbe at pengutronix.de
Wed Feb 23 02:26:59 EST 2011
zoltan at bendor.com.au wrote:
> On Tue, 22 Feb 2011, Juergen Beisert wrote:
> > From: Juergen Beisert <juergen at kreuzholzen.de>
> > 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.
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/ |
More information about the barebox