Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
569 토론

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

snehal_p
새로운 기여자 I
16,080 조회수

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 포인트
1 솔루션
JingyangTeh_Altera
14,586 조회수

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

 

원본 게시물의 솔루션 보기

0 포인트
54 응답
JingyangTeh_Altera
5,131 조회수

Hi Snehal_p


The command I shared the first time is the wrong address, it got an additional zero.

Could you try it one more time? The address of the LED bank should be 0xff210008 instead of 0xFF2010008.

Let me try out your version of zImage and get back to you.


Regards

Jingyang, Teh


0 포인트
snehal_p
새로운 기여자 I
5,119 조회수

Hello Jingyang,

Thanks,

Yes, let me try with devmem

I came across the palce and route error, can you please help me with this.

PFA error message.

0 포인트
snehal_p
새로운 기여자 I
5,119 조회수

hello,

PFA error message

thanks,

snehal_p

0 포인트
JingyangTeh_Altera
14,587 조회수

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

 

0 포인트
snehal_p
새로운 기여자 I
5,109 조회수

Hello Jingyang,

 

Thanks for the prompt support, fitter error solved.

Let me test with my zImage, actually problem occurs while executing the application file

Can you try executing hps led hex demostration using my zImage

 

Thanks,

snehal_p

0 포인트
JingyangTeh_Altera
5,089 조회수

Hi snehal_p


Sorry for the late reply.


Yes I did tried running the led hex demonstration on your zImage and it was successfull.

Maybe you could try sending me your copy of the led hex demonstration binary? and I will try it out on my board here.


Regards

Jingyang, Teh


0 포인트
snehal_p
새로운 기여자 I
5,076 조회수

Hello Jingyang,

 

Thanks,

PFA  binary file.

Could this be OS of my system

I'm using Ubuntu 20.04.4 LTS

 

Thanks,

snehal_p

0 포인트
JingyangTeh_Altera
5,066 조회수

Hi Snehal_p


I tried running your application and zImage, there are able to run without crashing.

However I notice that the application is not able to bling the led on the board.

You are working on a DE1SOC or DE0-Nano-Soc?

The link that you shared is using a DE0-Nano-Soc.

Could you share me the source of your application and your quartus image?

To check if you are accessing the correct memory address for the led.


Regards

Jingyang, Teh


0 포인트
snehal_p
새로운 기여자 I
5,059 조회수
0 포인트
snehal_p
새로운 기여자 I
5,045 조회수

Hello Jingyang,

 

I'm still facing issues launching DS5 can you PFA screenshot to analyze what the issue is

 

Thanks,

snehal_p

0 포인트
JingyangTeh_Altera
5,030 조회수

Hi Snehal


Could try following the installation steps for SOCED in the link below:

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


You could refer to the linux steps under "Linux Installation".


Regards

Jingyang, Teh


0 포인트
JingyangTeh_Altera
5,022 조회수

Hi Snehal


Are you still facing problem with launching DS?


Regards

Jingyang, Teh


0 포인트
snehal_p
새로운 기여자 I
5,013 조회수

Hello Jingyang,

Yes, I'm sill facing issues with launching DS5.

Thanks,

snehal_p

 

0 포인트
JingyangTeh_Altera
5,000 조회수

Hi Snehal


Did you went through the installation for SoCED in the link below?

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


Regards

Jingyang, Teh


0 포인트
snehal_p
새로운 기여자 I
4,949 조회수

Hello Jingyang,

Yes, I followed the steps in the document.

 

Thanks,

 

snehal_p

0 포인트
JingyangTeh_Altera
4,891 조회수

Hi Snehal


Happy New Year!


That is weird.

Could you try to print out the environmental variable " SOCEDS_DEST_ROOT"?



Regards

Jingyang, Teh


0 포인트
snehal_p
새로운 기여자 I
4,855 조회수

Hello Jingyang,

Thank you!

Happy New Year!

PFA screenshot.

 

Thanks,

snehal_p

 

0 포인트
snehal_p
새로운 기여자 I
4,843 조회수

Hello Jingyang,

 

I'm facing issues with the booting process.

zImage and rootfs I'm using are readily available from rocketsboard link.

PFA screenshots one with zImage for 3.10ltsi receiving garbage value after starting kernel and for original terasic console it is getting stuck after starting kernel 

Thanks,

snehal_p

0 포인트
JingyangTeh_Altera
4,826 조회수

Hi Snehal


Could you try upgrading your version of Quartus? I see that your quartus version is quite old, the latest version now is 22.1.


Which version of rootfs you are using? Could you try using the rootfs from the GSRD as well?


Regards

Jingyang, Teh


0 포인트
snehal_p
새로운 기여자 I
4,817 조회수

Hello Jingyang,

 

I'm using the readily available images

  • zImage is present in location “SDCard_Booting/CycloneVSoC-examples-master/SD-operating-system/Angstrom-v2013.12/Files_to_build_SD_DE1-SoC/zImages/Original Terasic Console/zImage”
  • Root File System is present in location “SDCard_Booting/CycloneVSoC-examples-master/SD-operating-system/Angstrom-v2013.12/Files_to_build_SD_DE1-SoC/Angstrom-console-rootfs.tar.gz”

 

Thanks,

sneahl_p

0 포인트
snehal_p
새로운 기여자 I
4,805 조회수

Hello Jingyang,

 

I'm trying to generate rootf using steps https://www.rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide

Getting the error pfa screenshot.

Can you please help me with this.

 

Thanks,

snehal_p

0 포인트
응답