[U-Boot] Nand flash R/W,saveenv issue..

Scott Wood scottwood at freescale.com
Tue May 22 19:56:31 CEST 2012


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



More information about the U-Boot mailing list