From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 31 Mar 2009 15:45:15 -0500 Subject: [U-Boot] U-boot NAND boot on IMX31 3stack(ARM) In-Reply-To: <528f13590903311232r2e49119fg483a662e5436288a@mail.gmail.com> References: <528f13590903270907xde6a90fn5e3614578ae2fe75@mail.gmail.com> <59b21cf20903271152q4efb7527g32e80f3749bca450@mail.gmail.com> <528f13590903271211j7677539cq975c51618a76e810@mail.gmail.com> <59b21cf20903271301m54ea84cfycde5976ba504b687@mail.gmail.com> <528f13590903300948k62a69c3fge00afc09bb93a5af@mail.gmail.com> <20090330173529.GA28844@ld0162-tx32.am.freescale.net> <528f13590903301821h2f749a9eoef821abfd0dc3c2b@mail.gmail.com> <528f13590903311004n6b93563an85d8e273a828393e@mail.gmail.com> <49D250C6.5000603@freescale.com> <528f13590903311210t57a7be72v9465fb7cf8281916@mail.gmail.com> <528f13590903311232r2e49119fg483a662e5436288a@mail.gmail.com> Message-ID: <49D280DB.6000001@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de alfred steele wrote: > I am actually confused with the values for chip size which should be > the total chip size in MB w.r.t nand_flash_dev structure and > "pagesize" as pagesize seems to be extended bytes alone in the > datasheet which i am unable to figure of as of now. The pagesize seems > to be different from the exact "pagesize" as in the data sheet for the > other parts in include/linux/mtd/nand_ids.h. Do you know what to look > for in the data sheet . The page size that the struct wants is the main data area only, not counting OOB. But as Magnus pointed out, you don't need to worry about any of this. It should Just Work(tm). What does need to be supplied is a controller driver. There have been some patches in the past, but IIRC some more work was needed to get it mergeable. -Scott