当前位置:网站首页>【SOC】Classic output hello world
【SOC】Classic output hello world
2022-07-30 16:10:00 【Caixukun 001】
一、烧录镜像
由于编译制作镜像需要花费很长时间,So use the ready-made golden engineering files directly,烧录到SD卡中.
1、SD卡准备
Insert it into the computer with a card reader,Format it with a disk partition tool.
2、生成sof文件
Compile the golden project file,生成sof文件,时间大概在7-15分钟左右,The specific time depends on the computer configuration.
Click in the golden projectC5MB_top.qpf文件
编译完成后会生成sof文件
3、用shell生成rbf文件
(1)打开开始——SoC EDS Command Shell
(2)切换到工程目录(看清楚/和\)
(3)make dtb生成设备树

4、运行脚本生成rbf
运行output_files中的sof_to_rbf.bat文件生成rbf文件


5、烧录
找到Win32DiskImager.exe文件,双击
在新弹出的窗口中找到sdcard.img文件,此时,烧录地址会自动匹配到SD卡.
二、SOC创建hello world工程
1、创建SOC工程
1.全编译黄金工程
2.Run the output file in the project directorybat脚本文件,生成二进制rbf文件.
3.在SoC EDS CommandShellOpen the project directory in ,执行generate_hps_qsys_header.sh文件.
4.Makecommand to generate a device tree file.
5.启动eclipse如下
6.连接串口,After the network cable is passedMobaXterm进入linux系统.
7.通过 ifconfig eth0 将ip设置为192.168.0.1,如下
8.修改/etc/ssh/sshd_config文件的44行
9.Reboot命令重启.
10.配置以太网ip
11.在eclipse下新建一个c工程,选择GCC项
11.在工程下新建hello_world.c,and write compile.

12.打开remote system explorer
13.新建连接
Hostname中填写ip地址,connection nameFill in your favorite name
14Right-click the newly created connection,输入账号和密码
成功连接后,The upper left corner turns green
15.将可执行文件复制到opt目录下
16.进入opt目录,设置权限
17.执行/.hello_world

2.设置静态IP流程
1.在MobaXterm中,打开/etc/network/interfaces文件,写入
2.重启reboot(rst按键)
边栏推荐
猜你喜欢

武汉星起航:海外仓基础建设成为跨境电商企业的一大出海利器
![[NCTF2019]Fake XML cookbook-1|XXE漏洞|XXE信息介绍](/img/29/92b9d52d17a203b8bdead3eb2c902e.png)
[NCTF2019]Fake XML cookbook-1|XXE漏洞|XXE信息介绍

几种常见的存储器

华为ADS获取转化跟踪参数报错:getInstallReferrer IOException: getInstallReferrer not found installreferrer

php如何去除字符串最后一位字符
![[HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3](/img/7a/e7447b21421f3052c0b6c44d1c2817.png)
[HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3

FME realizes the method of converting CAD with attribute to SHP data

Leetcode 119. 杨辉三角 II

Placement Rules usage documentation

【SOC FPGA】外设KEY点LED
随机推荐
Shell脚本的概念
php如何截取字符串的前几位
MySql 和 PostgreSQL 数据库 根据一张表update另一张表数据
【AGC】质量服务2-性能管理示例
[NCTF2019]Fake XML cookbook-1|XXE漏洞|XXE信息介绍
Scheduling_Channel_Access_Based_on_Target_Wake_Time_Mechanism_in_802.11ax_WLANs
How to use Redis for distributed applications in Golang
[flutter] What is MaterialApp and Material design
rscsa笔记八
481-82 (105, 24, 82, 34, 153),
Redis 复习计划 - Redis 数据结构和持久化机制
【HMS core】【Media】【视频编辑服务】 在线素材无法展示,一直Loading状态或是网络异常
华为ADS获取转化跟踪参数报错:getInstallReferrer IOException: getInstallReferrer not found installreferrer
STM32F407定时器输入捕获
23. 请你谈谈关于IO同步、异步、阻塞、非阻塞的区别
TiDB tool download
五只小猪的案例(五只小猪 比较体重的大小)
路遇又一个流量风口,民宿长期向好的逻辑选对了吗
游戏多开检测的几种实现方法及破解方法参考
hcip--ospf综合实验