From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 22 May 2012 12:56:31 -0500 Subject: [U-Boot] Nand flash R/W,saveenv issue.. In-Reply-To: <201205221615.07965.marex@denx.de> References: <1337677828.2382.30.camel@Manukumar> <201205221615.07965.marex@denx.de> Message-ID: <4FBBD34F.5010501@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/22/2012 09:15 AM, Marek Vasut wrote: > Dear Manukumar, > >> Hello, > > CCing someone who might actually help you, CCing the uboot mailing list, please > keep it that way. > >> i can able to detect nand flash. >> but i had an issue that i could not do operation(Read/write) >> on nand flash. >> i tried to erase the nand flash i got the error as below: >> >> NAND 32MiB 3,3V 8-bit: MTD Erase failure: -5 >> NAND 32MiB 3,3V 8-bit: MTD Erase failure: -5 >> NAND 32MiB 3,3V 8-bit: MTD Erase failure: -5 >> NAND 32MiB 3,3V 8-bit: MTD Erase failure: -5 >> >> even if i try to saveenv then also is not saving the envionment >> variables >> >> processor used: P1012 >> nand flash: samsung K9F5608U0D >> >> please reply ASAP. >> >> manukumar >> signal-networks What version of U-Boot is this? How are you configuring BRn/ORn for this chipselect? Could you define VERBOSE_DEBUG at the top of drivers/mtd/nand/fsl_elbc_nand.c? -Scott