当前位置:网站首页>【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按键)
边栏推荐
- Classes and Objects (Part 2)
- 游戏显示分辨率的逆向分析
- When the vite multi-page application refreshes the page, it will not be in the current route and will return to the root route
- 详解最实用的几种dll注入方式
- 三维重建方法汇总
- 深度学习遇到报错Bug解决方法(不定时更新)
- How to implement timing tasks for distributed applications in Golang
- AL遮天传 DL-深度学习模型的训练技巧
- 武汉星起航跨境电商有前景吗?亚马逊的未来趋势如何发展?
- TiDB tool download
猜你喜欢
随机推荐
Flask introductory learning tutorial
Golang分布式应用定时任务如何实现
C# List<T> 模板的案例
arcpy使用教程
Promise Notes (1)
php如何查询字符串出现位置
CAD几个优化设置
围绕用户思维,木鸟与途家如何实现乡村民宿下的用户运营
【AGC】质量服务2-性能管理示例
字符串加千分位符与递归数组求和
游戏显示分辨率的逆向分析
How to remove first character from php string
TiUP FAQ
tiup env
Huawei ADS reports an error when obtaining conversion tracking parameters: getInstallReferrer IOException: getInstallReferrer not found installreferrer
flask获取post请求参数
Shell脚本的概念
路遇又一个流量风口,民宿长期向好的逻辑选对了吗
Jetpack Compose 到底优秀在哪里?| 开发者说·DTalk
Flask之路由(app.route)详解