Received: from mail-bw0-f160.google.com ([209.85.218.160]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1M7BQV-0000Rv-4s for linux-mtd@lists.infradead.org; Thu, 21 May 2009 16:47:45 +0000 Received: by bwz4 with SMTP id 4so1286252bwz.18 for ; Thu, 21 May 2009 09:47:25 -0700 (PDT) Date: Thu, 21 May 2009 18:47:21 +0200 From: Alberto Panizzo To: Magnus Lilja Subject: Re: ARM: MTD: mxc_nand: Question on NAND Flash support for mxc Message-ID: <20090521184721.41b7aa06@Marramao-laptop> In-Reply-To: <59b21cf20905210911h219d4aebi9177d271fabe6d5a@mail.gmail.com> References: <20090521174611.5a18ea3a@Marramao-laptop> <59b21cf20905210911h219d4aebi9177d271fabe6d5a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Sascha Hauer , linux-mtd , linux-arm-kernel List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 21 May 2009 18:11:57 +0200 Magnus Lilja wrote: > Hi > > 2009/5/21 Alberto Panizzo : > > Hi all! > > > > I am trying to give support for NAND flash device to Atmark Armadillo 500 > > developing board. > > This board has an iMX31 processor and is shipped with an ST Micro NAND 256MiB 3,3V 8-bit Flash. > > Atmark support this board with an old 2.6.26 kernel with some modification. > > For this NAND Flash Atmark installed the old Freescale mxc_nd driver brought up by > > Sascha Hauer in the on tree mxc_nand. > > Is the ST Micro NAND device a small page or large page NAND? I ran > into problems when trying to use the MXC-driver from the mainline > Linux kernel on the i.MX31 PDK board which has a large page device > mounted. I haven't had time to dig into the details yet though. > > Regards, Magnus It is an NAND02GW3B2CN6 with 2112 Byte/1056 Word Page, in mxcnd_probe at row 960 there is host->pagesize_2k = 0; setting to 1 do not change in results..