From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 23 May 2012 17:45:38 -0500 Subject: [U-Boot] Nand flash R/W,saveenv issue.. In-Reply-To: <1337752596.2378.37.camel@Manukumar> References: <1337677828.2382.30.camel@Manukumar> <201205221615.07965.marex@denx.de> <4FBBD34F.5010501@freescale.com> <1337752596.2378.37.camel@Manukumar> Message-ID: <4FBD6892.8020704@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 On 05/23/2012 12:56 AM, Manukumar wrote: > > u-boot version: u-boot-2010.12 > > My OR and BR register values(according to our memory map): > BR0 0xFF800C21 OR0 0xFF800396 > BR1 0xE8000801 OR1 0xFFFF8074 > BR2 0xE8009001 OR2 0xFFFF8074 > > after defining VERBOSE_DEBUG in drivers/mtd/nand/fsl_elbc_nand.c > i gave sacveenv command, igot below logs. > please go through that and resolve asap. People on this list are generally happy to help as time is available, but if you need "asap" either contact support at freescale.com (especially when using Freescale-supplied U-Boot) or another official Freescale FAE or support contact, or hire someone to look into it. > skipping bad block = > 0 I don't see this exact message in mainline U-Boot, even in old versions. And zero being a bad block would be a bad thing -- I suspect things have gone wrong before the output you provided. > DEBUG: set_addr: bank=0, ctrl->addr=0xff800000 (0xff800000), index 0, > pes 14 ps 9 > fsl_elbc_run_command > DEBUG: fsl_elbc_run_command: fmr=0000f023 fir=4e000000 > fcr=70000000 > DEBUG: fsl_elbc_run_command: fbar=00000000 fpar=00000000 fbcr=00000001 > bank=0 > DEBUG: fsl_elbc_run_command: stat=40000001 mdr=00000000 > fmr=0000f020 This is showing a command timeout (LTESR[FCT]). What happened with the NAND earlier in the boot sequence? -Scott