[U-Boot] spi_flash_probe returns zero idcodes and hangs

Jagan Teki jagannadh.teki at gmail.com
Sat May 24 19:15:07 CEST 2014


On Sat, May 24, 2014 at 10:27 PM, Amit Mahadik <amitmahadik35 at yahoo.com> wrote:
> Hello All,
>                 I am using a custom ARM based development board running u-boot from PNOR memory. However, it does not have support for the Micron SPI flash memory (N25Q064A). I have added support for the micron memory in drivers/mtd/spi/stmicro.c file and included the flag CONFIG_SPI_FLASH_STMICRO in the config file and recompiled the u-boot source source. Then, ran it directly through RAM memory.
> The new u-boot ran from RAM. Now when I run sf probe 0 command I get the following output
> Got Idcodes 000000: 00 00 00 00  and the code hangs after this.

Looks like your driver itself is not returning any proper idcode.

What id details you added - I think you're using old u-boot no stmicro.c
in current u-boot, please re-base to master and try.

thanks!
-- 
Jagan.


More information about the U-Boot mailing list