Forum Discussion

jjac705's avatar
jjac705
Icon for New Contributor rankNew Contributor
3 years ago

SoC EDS issue

Hi,

I attempted the SoC EDS as per the pdf SoC_software_lab_16.0.pdf on rocketboards.org. I was asked to see the link to create a u-boot-socfpga. In that, it was told to clone a github file which I did but when I tried to use the command 'make', I get the same issue again and again.

Kindly help me out of this.

20 Replies

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

    Hi Aik Eu,

    I ma struggling with HPS platform in Cyclone V SoC. I attempted to do it in Quartus 17.1,19.1 and 20.1 and I get stuck in each of them. I put forth another question based on SoC EDS 20.1 ( https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/Cannot-complete-the-linaro-part/m-p/1446947/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufExDWTdNOFpNVVlFOVpWfDE0NDY5NDd8U1VCU0NSSVBUSU9OU3xoSw#M23889) where I followed this link https://www.rocketboards.org/foswiki/Documentation/SoCEDS#Install_SoC_EDS_AN1.

    Honestly very very clueless regarding this matter. It seems like in every version there are some drastic changes made and being a beginner in this matter, things get very confusing. I just need to know how to configure the ARM processor in Cyclone V as this issue has been affecting my project dearly. Else I just want to know if there is any other way to justify a 32-bit output of a VHDL program in Cyclone V using Quartus.

    Do let me know.

    Thanking You

    Yours Sincerely

    Jerry Jacob

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

    Hi jjac705,


    There were some changes on the software build handling from older to newer Quartus version. I recommend to use the newer Quartus build process in order to get a better support.

    By the way I do not understand the last part of your question "to justify a 32-bit output of a VHDL program in Cyclone V using Quartus." Can elaborate more if possible.


    Thanks.

    Regards,

    Aik Eu


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

    Hi Aik Eu,

    Actually I have some VHDL codes where my output was 32 bits. I have done the software simulation on ModelSim. I was suggested by one of my peer that HPS can be used to display the outputs for the same. Hence, I embarked on doing the same.

    I attempted to use the same VHDL codes on Quartus using the Signaltap logic analyzer and it seems like the samples are not enough. It seems I need to turn back to HPS again.

    Hope you understood my plight.

    Thanking You

    Yours Sincerely

    Jerry Jacob

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

    Hi jjac705,


    Do you still having issue with the building bootloader steps?

    I have tried the steps before, do let me know if there is any problem.


    Thanks.

    Regards,

    Aik Eu


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

    Hi Aikeu,

    I am not getting the flow of these steps. Since I am very new to this, I am confused on what should I do. I may require intense help.

    Thanking You

    Yours Sincerely

    Jerry Jacob

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

    Hi jjac705,


    Which steps that you fail to perform the bulid? Firstly you will need to decide where you system booting up from(etc, sd-card or qspi ..). Can show me the steps where you fail to build then I will look into it.

    There are pre-built images that you can find in the link below for working comparison just in case you have problem with your build. You can compare with the working ghrd if your system does not boot up properly.

    https://releases.rocketboards.org/ghrd_release/


    Thanks.

    Regards,

    Aik Eu


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

    Hi Aikeu,

    I was attempting to do this link https://www.rocketboards.org/foswiki/Documentation/HWLib?elq_cid=7076518_ts1675282356531&erpm_id=10201171_ts1675282356531#Setup_HWLibs in Quartus 20.1 Prime Standard Edition.

    I was able to successfully compile Linaro on MSYS. However, when I attempt to run the Uboot, I am a bit puzzled when they say run the Serial terminal and do these.

    I checked this link too https://www.rocketboards.org/foswiki/Documentation/CycloneVSoCGSRD#Release_Contents and I attempted to write the SD card too and my PUTTY shows something like this

    I am using an SoCkit for Quartus Prime 20.1 Standard edition. I an unsure about the way forward.

    Thanking You

    Yours Sincerely

    Jerry Jacob

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

    Hi jjac705,


    Firstly, you will require to have a linux environment to build your project which runs with linux cmd.

    After you have downloaded the project from here https://www.rocketboards.org/foswiki/Documentation/CycloneVSoCGSRD#Release_Contents then only you will have the cv_soc_devkit_ghrd.tar.gz

    Then only you run the below linux cmds to make a new directory(cv_soc_devkit_ghrd) then extract the files from cv_soc_devkit_ghrd.tar.gz


    mkdir cv_soc_devkit_ghrd

    tar -xzvf cv_soc_devkit_ghrd.tar.gz -C cv_soc_devkit_ghrd/


    In your linux environment, you must have soc eds installed.

    https://www.rocketboards.org/foswiki/Documentation/SoCEDS#Install_SoC_EDS

    Then only you can run the embedded_cmd_shell.sh from the specific directory after the installation of SoC_EDS.


    As for the pre-build sd-card image, follow Creating SD Card on Windows

    https://www.rocketboards.org/foswiki/Documentation/CycloneVSoCGSRD#Release_Content

    rename the prebuilt sd-card image to sdimage.img then only follow the steps to write into your sd card.

    Your hardware system will perform sd-card boot up with your board switches settings as below:


    • SW1: All OFF
    • SW2: All OFF
    • SW3: ON-OFF-ON-OFF-ON-ON
    • SW4: OFF-OFF-ON-ON


    you will get boot up logs when your system boot up without issue.



    Thanks.

    Regards,

    Aik Eu


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

    Hi jjac705,


    Do you having any built issues to follow up from previously?


    Thanks.

    Regards,

    Aik Eu


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

    Hi jjac705,


    We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


    Thanks.

    Regards,

    Aik Eu