This is illustration for my problem (from EDS console):
http://www.alteraforum.com/forum/attachment.php?attachmentid=10101&stc=1 I'd been advised to erase QSPI flash under u-boot, so I tried. I ran u-boot from SD/MMC, and look what I got:
http://www.alteraforum.com/forum/attachment.php?attachmentid=10100&stc=1 U-Boot 2013.01.01 (Feb 03 2015 - 16:11:33)
CPU : Altera SOCFPGA Platform
BOARD : Altera SOCFPGA Cyclone V Board
I2C: ready
DRAM: 1 GiB
MMC: ALTERA DWMMC: 0
QSPI: QSPI is still busy after poll for 10000 times.
SF: Calibration failed (read)
*** Warning - spi_flash_probe() failed, using default environment
In: serial
Out: serial
Err: serial
Skipped ethaddr assignment due to invalid EMAC address in EEPROM
Net: mii0
Warning: failed to set MAC address
Hit any key to stop autoboot: 0
SOCFPGA_CYCLONE5# sf erase
No SPI flash selected. Please run `sf probe'
As we can see QSPI controller is unreachable so "sf probe" and consequently "sf erase" can't work. What kind of sorcery is it? I've only once programmed QSPI flash and everything failed! Any ideas, folks?