From: Juergen Beisert Date: Wed, 14 Oct 2009 14:12:29 +0200 Subject: [U-Boot] Regarding NAND flash support in IMX31 In-Reply-To: References: <200910141047.32784.jbe@pengutronix.de> Message-ID: <200910141412.30374.jbe@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Arun, On Mittwoch, 14. Oktober 2009, R Arun Kumar wrote: > Yes the NAND flash is working fine in linux and i am able to load the > filesystem and boot etc. > Since our NOR flash is of small size 2MB and the linux kernel needs to be > programmed in NAND, I am trying to use the NAND in uboot for saving the > kernel and boot the linux kernel from NAND flash Seems Linux is using a different OOB layout than u-boot does. Compare the OOB layout definition in (u-boot)/drivers/nand/nand_imx.c and (kernel)/drivers/mtd/nand/mxc_nand.c Regards, 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/ |