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

Cannot complete the linaro part

jjac705
Beginner
2,328 Views

Hi, 

 

I am Jerry Jacob. I attempted to use the SoC EDS 20.1 version 711. I used this link https://www.rocketboards.org/foswiki/Documentation/SoCEDS#Install_SoC_EDS_AN1 . I was able to install Cygwin properly. I also did install MinGW too.

 

However, when I attempted to install Linaro using ./install_linaro.sh, I get the following error shown. Hence, I couldn't run the SoC EDS as per the procedures given in the link.

 

Kindly help me in this situation.

 

Thanking You 

Yours Sincerely 

Jerry Jacob

 

0 Kudos
18 Replies
JingyangTeh
Employee
2,303 Views

Hi


I am Jingyang, I will be helping you out in this case.

Did you install the following packages in MinGW? (mingw-developer-toolkit-bin mingw32-base-bin msys-base-bin msys-wget-bin)

Did you also run the MinGW in administrator mode?


Regards

Jingyang, Teh


0 Kudos
jjac705
Beginner
2,297 Views

Hi,

 

I have checked all of them in administrator mode. All of them are installed according to the figures attached.

 

 

Jerry Jacob

Fig1.PNG

Basic.PNG

msys-wget-bin.PNG

  

0 Kudos
JingyangTeh
Employee
2,265 Views

Hi Jacob


Could you send me the full log of the installation script?

Did the git clone of the "newlib-cygwin" repo successful?

It seems like the repo was not clone successfully, it is missing the "configure".

Could you check if there is a configure file in the "newlib-cygwin" folder?



Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
2,203 Views

Hi


Any update on this case?


Regards

Jingyang, Teh


0 Kudos
jjac705
Beginner
2,182 Views

Hi 

 

Apologies for the delayed response. Seems like "newlib-cygwin" exists. However, in that there is nothing in the "build" subfolder. 

 

What is the way forward?

 

Thanking You 

Yours Sincerely 

Jerry Jacob

0 Kudos
jjac705
Beginner
2,181 Views

Moreover, there is no "configure" in any of the subfolders too. But there is something called config.

0 Kudos
JingyangTeh
Employee
2,170 Views

Hi Jacob


Could you try out this link here:

https://www.rocketboards.org/foswiki/Documentation/HWLib#Setup_HWLibs


Instead of running the linaro script from the soced directory, could you try out the steps of "git clone https://github.com/altera-opensource/intel-socfpga-hwlib" and running the linaro script from the git repo.


Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
2,135 Views

Hi Jacob


Any update on this case?

Is the linaro script running successfully from the git repo?


Regards

Jingyang, Teh


0 Kudos
jjac705
Beginner
2,119 Views

Hi JingyangTeh,

 

I am pretty new to this concept and I cannot understand git repo or anything for that matter. I attempted to use "git clone https://github.com/altera-opensource/intel-socfpga-hwlib" in MinGW and it says 

jjac705_0-1675106830279.png

However, when I attempted to do the same on SoCEDS 20.1, I got the following response,

jjac705_1-1675106908893.png

 

These are what I am getting as of now.

 

 

0 Kudos
jjac705
Beginner
2,119 Views

Moreover, I cannot install MYSYS properly too as per the github link.

 

jjac705_2-1675107845568.png

 

0 Kudos
jjac705
Beginner
2,108 Views

Hi JingyangTeh,

 

I got the MYSYS and I attempted everything as per the instruction given on this link https://www.rocketboards.org/foswiki/Documentation/HWLib#Setup_HWLibs

 

I tried the first three steps as per the MYSYS part. I attempted to do the ./install_linaro.sh. I got the following response.

 

jjac705_0-1675110313280.png

I am not sure whether this is right or wrong. But it took a long time to get this one. I checked the files and there is new file called intel-socfpga-hwlib which comprises of the following 

jjac705_1-1675110840336.png

On clicking on tools, I got the following, 

jjac705_2-1675111127943.png

What I can see is is now there is a new file called "newlib" and "newlib-cygwin". As per the instructions given, it says that the installation of linaro will setup Linaro toolchain, newlib and cygwin in your system.

 

Do you want to check anything else? Do let me know.

Thanking You 

Yours Sincerely

Jerry Jacob

 

 

 

 

0 Kudos
JingyangTeh
Employee
2,100 Views

Hi Jacob


The folder structure looks about right. The linaro have been compiled successfully.

You could double check your PATH environmental variable. the gcc path will be part of it. If it is not there you could manually add it in using the command : " export PATH=`pwd`/gcc/bin:$PATH"


Regards

Jingyang, Teh


0 Kudos
jjac705
Beginner
2,081 Views

Hi JingyangTeh,

 

I have used the above command. 

jjac705_0-1675194216498.png

I checked the above mentioned path too and got these gcc, newlib,newlib-cygwin and others mentioned below.

jjac705_1-1675194301025.png

It seems there is a gcc in the above mentioned path. 
I already have ARM DS 2020.1 installed. I have a Cyclone V SoC (SoCkit). I have a WSL in Windows 10 too.
Kindly guide me on how to do the following steps too.

Thanking You 

Yours Sincerely

Jerry Jacob

 

0 Kudos
JingyangTeh
Employee
2,061 Views

Hi Jacob


Could you please elaborate what steps you are referring that you need help on?

Currently you are all set to do baremetal compilation.


Regards

Jingyang, Teh


0 Kudos
jjac705
Beginner
2,055 Views

Hi JingyangTeh,

 

I was attempting to do this link https://www.rocketboards.org/foswiki/Documentation/HWLib?elq_cid=7076518_ts1675282356531&erpm_id=102... 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  terminal and do these.

jjac705_0-1675300859030.png

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

jjac705_1-1675300879861.png

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

 

 

 

 

 

 

 

0 Kudos
JingyangTeh
Employee
1,975 Views

Hi Jacob


The wording at the rocketboard are not correct.

You do not need to open a terminal to your board. The command there should be entered into the MSYS terminal.


Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
1,909 Views

Hi Jacob


Any update on this?

Is your linaro compiler working properly?


Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
1,890 Views

Hi


Since a solution have been provided and no feedback was received, 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