UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor trexmsuee
Visitor
6,712 Views
Registered: ‎07-21-2015

u-boot on Picozed - cannot find SPI flash driver

Greetings,

 

I've got a working build of OSL using an SD card. I'm now trying to migrate to use QSPI + eMMC.I think that QSPI is properly enabled in the /include/configs/zynq_picozed.h file and the  /u-boot-xlnx/arch/arm/dtc zynq-picozed.dts file. See attached.

 

After creating a BOOT.bin and downloading to flash via the SDK utility, I get the following messags upon boot:

 

U-Boot 2015.07-01686-g88d67cb-dirty (Sep 08 2015 - 10:12:20 -0700)

Model: Zynq PicoZed Board
I2C: ready
DRAM: ECC disabled 1 GiB
MMC: zynq_sdhci: 0
Cannot find driver 'spi_flash_std'
*** Warning - spi_flash_probe() failed, using default environment

In: serial
Out: serial
Err: serial
Model: Zynq PicoZed Board
Net: Gem.e000b000

Hit any key to stop autoboot: 0
Copying Linux from QSPI flash to RAM...
Cannot find driver 'spi_flash_std'
Failed to initialize SPI flash at 0:0 (error -2)

 

I get the following message from u-boot upon running the ~$ sf probe 0 0 0 command:

 

zynq-uboot> sf probe 0 0 0
Cannot find driver 'spi_flash_std'
Failed to initialize SPI flash at 0:0 (error -2)

 

As a reference, I am using the guidlines described here: http://www.wiki.xilinx.com/U-boot and here:http://www.wiki.xilinx.com/Prepare+Boot+Medium

 

Can anyone point me in the right direction? I hope I haven't missed something stupid ...

 

Thanks,

0 Kudos