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

Executing a application/executable file on customized boot image for DE1SOC board

snehal_p
New Contributor I
15,955 Views

Hello,

 

I'm trying to execute a simple led switch application on customized boot image.

PFA screenshot of the error received.

Can anyone help me diagnose what the issue is?

 

Thanks,

snehal_p

 

0 Kudos
1 Solution
JingyangTeh_Altera
14,461 Views

Hi

 

I have tried out your zImage and able to run the led application successfully.

 

Please find the screenshot below:

 

 

2022-11-30_10h29_47.png

 

 

Did you flash the FPGA configuration before booting into the linux environment?

 

As for the fitter error, you will need to run both of the TCL script below (located:soc_system\synthesis\submodules):

 

hps_sdram_p0_parameters.tcl

hps_sdram_p0_pin_assignments.tcl

 

 

Regards

Jingyang, Teh

 

View solution in original post

0 Kudos
54 Replies
JingyangTeh_Altera
4,107 Views

Hi Snehal_p


For the SD Card Image could you try out the sd card image from the link below:

https://releases.rocketboards.org/2022.11/gsrd/c5_gsrd/


As for the compilation error, could you try checking the GNU version with the command "ldd --version".

Could you try upgrading the GNU version if it is below 1.4.19.


Regards

Jingyang, Teh




0 Kudos
JingyangTeh_Altera
4,094 Views

Hi


Any update on this case?


Regards

Jingyang, Teh


0 Kudos
snehal_p
New Contributor I
4,080 Views

Hi Jingyang,

PFA error screenshot while compiling c program. Can you please help me with the library files for rtcds3231 and i2c, also the steps to use .h files

Thanks,

snehal_p

0 Kudos
snehal_p
New Contributor I
4,080 Views

Hi Jingyang,

PFA error screenshot while compiling c program. Can you please help me with the library files for rtcds3231 and i2c, also the steps to use .h files. I ge similar error when I try to compile demonstration code for gsensor.

Thanks,

snehal_p

0 Kudos
JingyangTeh_Altera
4,066 Views

Hi Snehal


Could you try adding the following parameter into your make file to solve the define error:

ALT_DEVICE_FAMILY = soc_cv_av


As for the library error could you use the directory path below:

C:/intelFPGA/18.1/embedded/ip/altera/hps/altera_hps/hwlib/include


We will use the directory a folder up.


Regards

Jingyang, Teh





0 Kudos
snehal_p
New Contributor I
4,060 Views

Hello Jingyang,

Thanks,

PFA screenshot of error I'm getting after making changes to the path.

 

Thanks,

snehal_p

 

0 Kudos
JingyangTeh_Altera
4,052 Views

Hi Snehal_p


Could you share me the git repo that you got the library for the rtcds3231 ?

Also please share me the make file that you are using to build the library?


Regards

Jingyang, Teh


0 Kudos
snehal_p
New Contributor I
4,034 Views
0 Kudos
snehal_p
New Contributor I
4,034 Views

Hi Jingyang,

PFA details.

https://github.com/contiki-os/contiki

Thanks,

snehal_p

0 Kudos
JingyangTeh_Altera
3,970 Views

Hi Snehal_p


Could you give me more time to look into this issue?

Since that the library is an Arduino base, I need to see if we could compile it to properly.


Regards

Jingyang, Teh


0 Kudos
snehal_p
New Contributor I
3,963 Views

Hi Jingyang,

 

The application file is getting compiled by adding main() to the c code for rtc ds3231.

but it is giving controller timed out PFA screenshot of the error.

 

Thanks,

snehal_p

0 Kudos
JingyangTeh_Altera
3,929 Views

Hi Snehal


Could we follow up the i2c issue on the new forum that you created?

https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/interfacing-RTC-module-to-hps-driven-i2c-pins/m-p/1449952#M23958


Since that the original issue that was created for this case have been resolved.

Is it ok if we close this case?


Regards

Jingyang, Teh


0 Kudos
JingyangTeh_Altera
3,895 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