FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5961 Discussions

HWlib with linaro compiler issue

CAlex
New Contributor II
781 Views

Hi,

I'm working on this example with cyclone V soc dev kit:

Hardware Library (HWLibs) | Documentation | RocketBoards.org

I did the exact the same steps with different location of setup.sh.

I've tried with Msys2,Msys,and WSL(ubuntu) with/without using SOC EDS environemt.

The errors happened when comkpile the u-boot-socfpga with 
make socfpag_defconfig using cross_compiler arm-eabi.

CAlex_0-1682046833466.png

                 WSL2(ubuntu) with/without SOC EDS

or

CAlex_2-1682047157514.png

                   Msys2/Msys with/without SOC EDS

 

I added the PATH and checked the toolchain location:

CAlex_1-1682046990962.png

I've tried download the linaro gcc 7.2.0/7.5.0 myself,

I added the D:\board\cyclone_V_soc\intel-socfpga-hwlib\tools\gcc\bin in every PATH I could add but IT JUST DONT WORK.

 

So what's the issue, how can I fix it?

Do please offer some help,

I was stick on this problem for 10 hours.

 

Reguards.

Alex

 

0 Kudos
6 Replies
CAlex
New Contributor II
772 Views

Also the files are 100% in the correct folder:

CAlex_0-1682050017058.png

 

But when I do arm-eabi-gcc -v

It said no such file

 

0 Kudos
Kenny_Tan
Moderator
688 Views

Hi,


Kindly take note that they will be some slowness on the first reply due to the public holiday, we will get back to you as soon as possible.

Thanks




0 Kudos
JingyangTeh
Employee
657 Views

Hi Alex


Could you please run the "./generate_doxygen.sh" script, it should be located in the same path as the install script.


After that run the following command to explicitly set the gcc path.

export PATH=`pwd`/gcc/bin:$PATH


Regards

Jingyang, Teh


0 Kudos
CAlex
New Contributor II
642 Views

Thank you for your help,

It turns out run ./setup.sh will install i686(x86_32) linaro, I installed x86_64 arch tool chain and added the <path to toolchain/bin> to the PATH to solve this problem.

Also MSYS 1 can solve the problem as well.But MSYS2 can't if your computer is arch x86_64

0 Kudos
JingyangTeh
Employee
555 Views

Hi Alex


Thanks for the solution!

Great that now your problem is solved.


Do you have any more enquiries regarding the HWlib compiler?


Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
465 Views

Hi


Since this thread been resolve, I shall set this thread to close pending. If you still need further assistance, you are welcome reopen this thread within 20days or open a new thread, some one will be right with you. 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 10 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