Forum Discussion

TG_GER's avatar
TG_GER
Icon for New Contributor rankNew Contributor
2 years ago

Arria10 SPI/QPSI access

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

6 Replies

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    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


    • TG_GER's avatar
      TG_GER
      Icon for New Contributor rankNew Contributor

      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

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    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


    • TG_GER's avatar
      TG_GER
      Icon for New Contributor rankNew Contributor

      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

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    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


  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    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