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

HPS Uboot QSPI Arria10 Evaluation board

YaronAnkori
Beginner
891 Views

Hello,

EVB: Arria10, HPS.

Quartus Version 16.1.

  1. We succeeded to create and compile UBOOT via the ARM  “bsp-editor”(Quartus 16.1) tool for the SD-CARD, and to run the application “Hello world” .
  2.  We  succeeded to create and compile UBOOT via the ARM  “bsp-editor”(Quartus 16.1) tool for the QSPI , but when we use the command “sf probe” with UBOOT, we get the following messages: "unsupported flash IDs" "Fail to initialize SPI flash at 0:0), (see attached picture).
  3. We conclude that the “bsp-editor”(Quartus 16.1) doesn’t generate the proper UBOOT program for the QSPI.

Does anybody know anything about this problem?

Thanks,

Yaron

 

 

0 Kudos
7 Replies
aikeu
Employee
857 Views

Hi YaronAnkori,


Is this an Arria10 customized board?

Can test with the below link to get the sdcard content for booting up:

https://www.rocketboards.org/foswiki/Documentation/Arria10SoCGSRD

Refer to the part : Creating SD Card on Windows


Thanks.

Regards,

Aik Eu


0 Kudos
YaronAnkori
Beginner
834 Views

Dear Aik,

Many thanks for your reply.

I work in Linux(Ubuntu 22.4)

I succeeded  to boot via SDCARD. My problem is to boot from QSPI.

Can you please advice? any uboot create for QSPI? 

 

Cheers,

Yaron

 

 

0 Kudos
aikeu
Employee
815 Views

Hi Yaron,

 

The default gsrd can be found in the link below, can check by going back to the top folder of the link for older version.

https://releases.rocketboards.org/2023.04/gsrd/a10_gsrd/

The method to determine what bootloader files to use and flash to qspi can be found in the building bootloader(QSPI) in the link below:

https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10#Arria_10_SoC_45_Boot_from_QSPI

So previously you are not able to boot with qspi then you used sdcard boot to u-boot in order to perform sf probe cmd if I understood you correctly?

 

Thanks.

Regards,

Aik Eu

0 Kudos
YaronAnkori
Beginner
806 Views

Hi Aik,

I succeeded to boot the application via SDCARD on the first stage. There is no problem with SDCARD.

In the second stage I change the bsp-editor tool configuration to boot from QSPI (and the handoff file too) , also replaced the hardware from SD CARD to QSPI on the Arria 10 EVB.

 

The UBOOT stops in the middle. I can see the UBOOT print That the UBOOT is looking for MMC although the configuration was for QSPI.

0 Kudos
aikeu
Employee
798 Views

Hi Yaron,


Try with the pre-built binaries or build the u-boot folllowing the latest building bootloader document.

I have no problem to use sf probe on my side with Arria 10 soc board before i can perform sf read/write.


Thanks.

Regards,

Aik Eu


0 Kudos
YaronAnkori
Beginner
779 Views

Hi Aik,

The problem was solved. It seems that something is wrong with the bsp-editor tool. 

The best way to generate the UBOOT is to use the terminal and commands as described in this link:

 

https://www.rocketboards.org/foswiki/Documentation/A10GsrdQspiBootLTS

 

 

YaronAnkori_0-1684394504785.png

Many thanks for your support.

Regards,

 

Yaron Ankori

 

 

0 Kudos
aikeu
Employee
727 Views

Hi YaronAnkori,


Glad to hear that the problem has been solved on your side.

For the latest building bootloader for Arria 10, we do not rely the bsp editor anymore for your information:

https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10


Anyway I will close this thread since the issue has been resolved.


p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


Thanks.

Regards,

Aik Eu


0 Kudos
Reply