Question about iMX28 SPI flash driver
Hello,
I've got an iMX28EVK board, added Winbond 25q64 flash and use the latest u-boot-imx version. For building u-boot I use the m28evk_config and set the the flash to winbond. It boots successfully through SD card and it also probes/recognize the SPI flash. Also the u-boot binary writes successfully through "sf write" to the flash(no error message).
The problem is, when reading the SPI flash through "sf read"; there are only "0".
Does anybody have an idea?
Thanks in advance.
Quoted 2 lines · Alexander Keller
Hello,
Hi Alexander,
Quoted 2 lines
I've got an iMX28EVK board, added Winbond 25q64 flash and use the latest u-boot-imx version.
I have added Fabio in CC. He is porting the Freescale's MX28EVK board.
Quoted 2 lines
For building u-boot I use the
m28evk_configand set the the flash to winbond.
You are using the m28evk configuration for the Freescale's mx28evk - or are you really have a m28evk ? I can suppose you must at least adapt something...
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================
Quoted 4 lines · Stefano Babic
Quoted 2 lines
I've got an iMX28EVK board, added Winbond 25q64 flash and use the latest u-boot-imx version.
I have added Fabio in CC. He is porting the Freescale's MX28EVK board.
Yes, you can find my initial RFC patch for MX28EVK support in the list archive.
I am working on rebasing it to current top of tree code now.
As Stefano explained be careful with the naming of the boards:
- m28evk from Denx is already in mainline U-boot.
- mx28evk from Freescale is the one I am currently working on.
Regards,
Fabio Estevam