
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@denx.de