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

HPS Linux in Putty will freeze after programming FPGA on DE1-SoC

MapleDoi
Beginner
623 Views

I am doing my project which using FIFO bridge to transfer data between HPS and FPGA on DE1-SoC. Recently I am facing a problem, after I program the FPGA, the linux will freeze, I am using Putty. Previously I have no this issue.

Sometime it will still work after I program the FPGA( after I power off and on the board), but once I run the executable file, it will freeze again.

I have tried to run the previous project that can run without problem before, but still, it will freeze.

It is very urgent, may I know is it something wrong with the board?

0 Kudos
1 Solution
Fawaz_Al-Jubori
Employee
566 Views

Hello,

You can refer to this link for the sdcard layout and the contents of a complete image:

https://rocketboards.org/foswiki/Documentation/AVGSRDSdCard

 

For the uboot script, you can refer to this link:

https://rocketboards.org/foswiki/Documentation/GSRDProgrammingFPGA

 

Hope this might help.

 

Thank you.

 

 

 

 

View solution in original post

0 Kudos
3 Replies
Fawaz_Al-Jubori
Employee
566 Views

Hello,

Are you programming the FPGA while linux is running?

If yes, then it is expected to see abnormal behavior of the system (like the freezing issue).

You can program the FPGA via to valid ways:

1- through uboot.

2- via device tree overlay.

 

Method one is easier and straightforward. you need to provide your system with the rbf file (FPGA image), and a scr file to make uboot reads the instructions.

 

It is not recommended to program the FPGA directly while linux is running on ARM.

 

Thank you

0 Kudos
MapleDoi
Beginner
566 Views

Hi, thanks for the suggestion, do you have the tutorial in doing the solution number one?

0 Kudos
Fawaz_Al-Jubori
Employee
567 Views

Hello,

You can refer to this link for the sdcard layout and the contents of a complete image:

https://rocketboards.org/foswiki/Documentation/AVGSRDSdCard

 

For the uboot script, you can refer to this link:

https://rocketboards.org/foswiki/Documentation/GSRDProgrammingFPGA

 

Hope this might help.

 

Thank you.

 

 

 

 

0 Kudos
Reply