[U-Boot] Flash not Erased

Jan Schunke schunke at shf.de
Thu Jun 20 09:50:34 CEST 2013


Hello,

it turns out that setting

#define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT

solves my problem because it skips x8 detection.

I took me some time because I have not found it anywhere in the README.

Thanks for your help.

Jan

On 20.06.2013 08:00, Stefan Roese wrote:
> Hi Jan,
> 
> On 19.06.2013 17:35, Jan Schunke wrote:
>> I am trying to compile my own U-Boot for microblaze.
>> Version:
>> U-Boot 2013.01-dirty (Jun 19 2013 - 16:26:51)
>> microblazeel-xilinx-linux-gnu-gcc (crosstool-NG 1.15.3) 4.6.4 20120924
>> (prerelease)
>> GNU ld (crosstool-NG 1.15.3) 2.22.90.20121010
>>
>> I have demo where Flash access works fine.
>> Verion:
>> U-Boot 2012.10 (Feb 13 2013 - 20:16:43)
>> microblazeel-xilinx-linux-gnu-gcc (crosstool-NG 1.15.3) 4.6.2 20111018
>> (prerelease)
>> GNU ld (crosstool-NG 1.15.3) 2.21.53.20110813
>>
>>
>> When I use my own u-boot and try to write to flash I always get
>>
>> "Flash not erased"
>>
>> it seems to be a problem that my flash is x16 but recognized as x8.
>>
>> Are there any Config variables to set the mode to x16?
> 
> This is a known problem. Those chips connected in x8 mode are known to
> currently not work correctly with the common CFI NOR flash driver. Could
> you please try the following patch:
> 
> http://patchwork.ozlabs.org/patch/249707/
> 
> And let us know if this fixes the problem?
> 
> Thanks,
> Stefan
> 
> --
> DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: office at denx.de
> 

-- 
*******************************************************
Jan-Hendrik Schunke
Entwickler / Developer
SHF Communication Technologies AG
Wilhelm-v.-Siemens-Str. 23 D; 12277 Berlin, Germany
E-Mail: schunke at shf.de
Phone:  +49-(0)30- 77 20 51-0 direct: -45
Fax:    +49-(0)30- 75 31 07 8
Web:    www.shf.de
*******************************************************
Sitz der Gesellschaft/Registered Office: Berlin;
Registergericht/Register Court: AG Berlin-Charlottenburg HRB 72633;
Vorstand/Executive Board: Dr. Frank Hieronymi, Dr. Lars Klapproth;
Aufsichtsratsvorsitzender/Chairman of the Supervisory Board: Dr. Walter
L. Rust.

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen und ist ausschließlich für den bezeichneten Adressaten
oder dessen Vertreter bestimmt. Wenn Sie nicht der richtige Adressat
sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail. Jede Form der
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe durch
andere Empfänger ist unzulässig.

This e-mail may contain confidential and/or privileged information and
is intended solely for the addressee or a representative there of. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail.
Access to, publishing and copying of the information by a third party is
unauthorised.




More information about the U-Boot mailing list