Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems

Arria10 SPI/QPSI access

TG_GER
Beginner
684 Views

Hi,

I use an Arria10 SOCFPGA with the u-boot version v2014.10.

The U-boot is on the SD card. Now I would like to have access to the QSPI from the u-boot CLI.

The SF command is not available for me.

What exactly needs to be in the socfpga_arria10_deconfig so that I have this available?

I already have :

CONFIG_CMD_SPI=y

CONFIG_DM_SPI=y C

ONFIG_DM_SPI_FLASH=y

Added unfortunately still no success.

Thank you very much,

Ben

0 Kudos
6 Replies
JingyangTeh
Employee
612 Views

Hi Ben


What error are you seeing at your end?

Could you try probing the command "sf probe" before any read or write sf command.


Regards

Jingyang, Teh


0 Kudos
TG_GER
Beginner
588 Views

Hi,

thanks for your answer.

same problem:

Unknown command 'sf' - try 'help'
SOCFPGA_ARRIA10 #

 

i also add in socfpga_arria10_deconfig 

CONFIG_CMD_SF=y 

 

but sf is not available.

 

regards,

Ben

0 Kudos
JingyangTeh
Employee
569 Views

Hi


Could you share me ur current defconfig file that you are using.

Try taking a look at the hidden ".config" file under the uboot working directory.

By right it is enabled by default.


Regards

Jingyang, Teh


0 Kudos
TG_GER
Beginner
556 Views

Hi thanks,

here is my socfoga_arria10_deconfig file:

 

 

+S:CONFIG_ARM=y
+S:CONFIG_TARGET_SOCFPGA_ARRIA10=y
CONFIG_MMC_CFF=y
CONFIG_OF_CONTROL=y
CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria10"
CONFIG_SKIP_LOWLEVEL_INIT=n
CONFIG_CADENCE_QSPI=y
CONFIG_MMC=y
CONFIG_CMD_SF=y

 

 at the uboot-socfpga folder is da file ".socfpga_config" but this file is emty there is no ".config" file inside this folder.

 

thank,

ben

0 Kudos
JingyangTeh
Employee
524 Views

Hi Ben


I notice you are using an older uboot version.

Could you try using the latest uboot version that is available from the repo?


Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
411 Views

Hi


Since there are no feedback for this thread, I shall set this thread to close pending. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


If you happened to close this thread you might receive a survey. If you think you would rank your support experience less than 4 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.



Regards

Jingyang, Teh


0 Kudos
Reply