AnsweredAssumed Answered

MX28evk U-boot on SPI NOR

Question asked by rajtantajtan on Aug 1, 2013
Latest reply on Aug 27, 2013 by Fabio Estevam

Hello, I'm using imx28EVK and I want to load u-boot from SPI NOR and I have a Micron N25Q128. I'm using mainline u-boot and I have added this to boards.cfg:

mx28evk_spi                  arm         arm926ejs   mx28evk             freescale      mxs mx28evk:ENV_IS_IN_SPI_FLASH


And compiled it with

make CROSS_COMPILE=xxx mx28evk_spi



I have tried to flash to adress 0x0 on my SPI NOR memory in linux with:

mtd_debug write /dev/mtd1 0 459840

All I get when I changed bootswitches is this:



I can write to mtdblock1 in linux so SPI communication seems to be fine but in u-boot sf probe 2:0 fails with this error message:


SF: Unsupported manufacturer 20

Failed to initialize SPI flash at 2:0



How do I solve this?