Cyclone V SOC HPS demo issue

Hi,

On the help page of cyclone V soc demo the FreeRTOS team used CROSS GCC for compiling.
But it’s a very old version.
Does anyone knows how to get CROSS GCC for current version?

Hello @Alex. It looks like our documentation needs a bit of updating considering Altera was acquired by Intel. I’ll make a note so that this gets documented.

Intel’s Cyclone V FPGA page mentions " Intel® SoC FPGA Embedded Development Suite". I’d give that a try. You should be able to download it here. I’m not sure what the difference between the Pro and Standard editions are.

Hi, Kody.

Thank you for your willing to help.

The SOC EDS didn’t contain DS-5 for now,so I have to use Eclipse without the altera baremetel tool.(and use ARM 6 tool chain instead with a lot of issues)

The difference between Pro and Standard is mainly on supported device. Since both support the CycloneV SOC, I choose the standard free edition.

I’ve asked the intel guys about RTOS support issues, they said they only support Nios II RTOS for Altera Arm DS tool,they have the plan to support HPS but not for now.

So I guess it would be difficult to use that on cyclone V soc with the official tools.

Hope these informations can help you.

Reguards.
Alex

Hello Alex,
Thank you for bringing this to our attention, if intel isn’t going to support the Altera’s tools then unfortunately we will need to reevaluate our options on running the demo. We will take this into consideration and see how to proceed next, we apologize for out of date information in the website and will try to amend them soon.

Regards,
Anubhav Rawal

Hi,Anubhav

I checked with the Intel and they did added the new ARM DS for FPGA available now, but it needed to be installed by hand on Intel download center and not with SOC EDS any more. It still provide altera baremetal tool chain.

The newset version 22.2 still support Nios II RTOS only(yet they didn’t tell me HPS can’t run FreeRTOS)

You can have a try on that tool.

Reguards.
Alex

Hi @rawalexe any updates?

I normally use pre-built arm-none-eabi-gcc distributions. See Arm GNU Toolchain Downloads – Arm Developer The original project uses the standard FreeRTOS Cortex-A9 port, so that should be good for you. Let us know if you have other questions regarding project creation for an A9 target.

Hi,@rtel
I got a new error:
image
Also,
Could you please upload all the compiler settings(if possible, project settings) on this topic or this demo guide? For using new compiler means all the settings will be removed,
Thank you.

Reguards
Alex

This linker scripts are in the same directory as the original project file.

You can also see the command line in the project file is, in part at least "-c -fmessage-length=0 -mfloat-abi=softfp -mtune=cortex-a9 -mcpu=cortex-a9 -march=armv7-a -mfpu=neon -std=c99 -fdata-sections -ffunction-sections -g3 -DALT_INT_PROVISION_VECTOR_SUPPORT=0"

There are a few other options above and below the line in the project file I cut that from. Note there are also linker command options - that link going to the one that defines the linker file.

Hi,@rtel
Yes I added the linker scripts in Compiler setting → Image, but the error still exist.


Here is my setting:

Reguards,
Alex

It is coming from this line. I think it should be part of the toolchain installation. This file also indicates towards the same. Can you check with the toolchain provider?

Hi,
I got error from fpga_support.c:


What’s their meaning?
Do they need sof file?
I didn’t find any sof file in the Demo.

This file seems related to FPGA and does not come from us. Where did you get this from? I’d recommend checking with the maintainers for this file.

Hi Alex,

Did you manage to overcome these errors ?
I stuck at the same place / errors you’ve mention above.

BR,
Moran.

As I said before, please check with Intel as these files are not from us.