当前位置:网站首页>[SOC] the first project of SOC Hello World
[SOC] the first project of SOC Hello World
2022-07-24 21:21:00 【WW, 121】
Catalog
I. 1 Linux System environment construction
① Let's skip making system images , Use the card reader to SD Plug the card into the computer , First format the memory card , Then open the burning tool Win32Disklmager
② Find the path of our image file and import 
And then click write Just wait for it to finish
③ Find the golden project prj In the catalog qpf file , Double-click to open 
Then click compile , Wait for the compilation to complete
④ Find the output directory of the gold project , Running the script file will compile the generated sof Document conversion rbf file 
Then replace the burned SD File with the same name in the card
⑤ Find generate_hps_qsys_header.sh file 
⑥ open Intel FPGA Embedded Command Shell, Do the following 
⑦ And then it generates soc_system.dtb file , Replace this file SD File with the same name in the card

thus , The environment is set up
II. Software design
stay ntel FPGA Embedded Command Shell The input eclipse& Command to open this software 
Then select the new directory under the corresponding gold project app

Select new→C project
Set the name yourself , Other configurations are as follows , The final choice finish
Under the newly built project new →Source File Create a new file 
Write the following code 
Right click in the blank and select properties
Then configure as follows

The gold project hps_0.h Copy to the project directory 

Finally, select compile 
A binary file is generated 
Third, configure the development board IP
Enter the setting development board /etc/ssh/ Under the table of contents , find sshd_config file
Use vi Command to open , Will be the first 44 The line is modified as follows 
Then use the following command to modify IP
ifconfig eth0 10.2.0.14
And then restart the device
Set static IP
Use the following command to open interfaces file
vi /etc/network/interfaces
Modify the document as follows :
auto eth0
iface eth0 inet static
address 10.2.0.14
netmask 255.255.255.0
gateway 10.2.0.1
dns-nameserve 114.114.114.114
restart , see IP,IP The address is the above setting address , success .
IV SSH visit Linux
stay eclipse Middle configuration SSH

Right click new link


Then enter your development board IP
Enter the user name and password of the development board , Successful connection
Copy and paste the binary file generated by the previous compilation into opt Under the folder 
Right click opt choice Launch Terminal, Input at the console chmod 777 hello_world Modify file properties , Usage language
sentence ./hello_world Execute the document .
边栏推荐
- ECCV 2022 open source | target segmentation for 10000 frames of video
- The maximum number of expressions in ora-01795 list is 1000
- You must make good use of MySQL and JSON
- Build your own stock analysis system based on b\s architecture
- Cloud native observability tracking technology in the eyes of Baidu engineers
- Top 10 in China's HCI software market: Huawei, Xinhua, Shenxin, VMware, Lenovo, smartx, Inspur, Qingyun, lutanli, dawn
- Go language pack management
- Information system project manager must recite the core examination site (47) project subcontract
- Baidu classic interview question - determine prime (how to optimize?)
- [advanced data processing technology] data filtering, advanced data filling, initial and advanced data transformation
猜你喜欢

About the acid of MySQL, there are thirty rounds of skirmishes with mvcc and interviewers

Go language error handling

Brand new: the latest ranking of programming languages in July

How to set the allure test report

C WinForm actual operation XML code, including the demonstration of creating, saving, querying and deleting forms

驱动子系统开发
![[feature transformation] feature transformation is to ensure small information loss but high-quality prediction results.](/img/ad/6f5d97caa3f5163197ba435276a719.png)
[feature transformation] feature transformation is to ensure small information loss but high-quality prediction results.

whistle ERR_ CERT_ AUTHORITY_ INVALID

Classical review: understanding the "knowledge consistency" of neural networks (ICLR 2020)

Build your own stock analysis system based on b\s architecture
随机推荐
Detailed explanation of ThreadLocal
IO flow overview
How to buy Xinke financial products in CICC securities? Revenue 6%
Leetcode skimming -- bit by bit record 018
Summary of yarn Explorer
rogabet note 1.1
[advanced data mining technology] Introduction to advanced data mining technology
How to choose securities companies that support flush? Is it safe to open an account on your mobile phone
Pressing Ctrl will cause several key press messages
[summary of Feature Engineering] explain what features are and the steps of feature engineering
Top 10 in China's HCI software market: Huawei, Xinhua, Shenxin, VMware, Lenovo, smartx, Inspur, Qingyun, lutanli, dawn
Five digital transformation strategies of B2B Enterprises
Five common misuse of async/await
93. Recursive implementation of combinatorial enumeration
Drive subsystem development
One bite of Stream(6)
Shengbang security rushes to the scientific innovation board: Qianxin is its largest customer (55.87 million); Its three-year revenue is 460 million, net profit is 95.04 million, and R & D investment
RESNET interpretation and 1 × 1 Introduction to convolution
How do test / development programmers survive the midlife crisis? You can see it at a glance
Lazily doing nucleic acid and making (forging health code) web pages: detained for 5 days