[U-Boot] 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.

On 13/12/2011 09:22, Alexander Keller wrote:
Hello,
Hi Alexander,
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.
For building u-boot I use the m28evk_config and 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

On Wed, Dec 14, 2011 at 11:39 AM, Stefano Babic sbabic@denx.de wrote:
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
participants (3)
-
Alexander Keller
-
Fabio Estevam
-
Stefano Babic