当前位置:网站首页>迅为干货 |瑞芯微RK3568开发板TFTP&NFS烧写(上)
迅为干货 |瑞芯微RK3568开发板TFTP&NFS烧写(上)
2022-06-11 06:46:00 【迅为电子】
本文截取自《itop-3568开发板nfs&tftp手册》
使用网络烧写的方式来进行调试是非常方便的,本次推文将介绍使用tftp在服务器下载Linux内核镜像和设备树,并使用NFS网络挂载根文件系统的方法。
开发环境:Ubuntu18.04 LTS
平台:迅为iTOP-3568开发板
此外,开发板和Ubuntu的IP.0要在同一网段下,本文档Ubuntu的IP地址为192.168.1.9,开发板的IP地址设置为192.168.1.16,关于网络配置不再赘述。
以buildroot系统为例,如使用ubuntu系统,Debian系统,yocto系统等系统,也可以参考本内容。
首先在ubuntu 中执行以下命令安装 TFTP 服务(滑动查看完整代码)
apt-get install tftp-hpa tftpd-hpa

安装完成以后创建 TFTP 服务器工作目录,并对TFTP的服务配置文件进行修改,具体步骤如下:
输入以下命令在家目录创建tftpboot文件夹,
mkdir -p /home/topeet/tftpboot
然后输入以下命令修改tftpboot文件夹权限,如下图所示:
chmod 777 /home/topeet/tftpboot

最后修改配置文件,打开配置文件以后如下图所示:
vim /etc/default/tftpd-hpa

修改完成保存退出,在终端输入以下命令重启tftpd-hpa服务。
service tftpd-hpa restart
如下图所示:

2安装NFS服务器
首先执行以下命令安装 NFS 服务:
apt-get install nfs-kernel-server
然后使用以下命令创建ubuntu20desktop文件并赋予其权限:
mkdir ubuntu20desktopchmod 777 ubuntu20desktop/
使用以下命令编辑/etc/exports 文件,并添加 NFS 服务的工作目录的路径:
vim /etc/exports
添加 NFS 目录:
以/home/topeet/ubuntu20desktop 为例,将其添加到/etc/exports 文件中, 如下所示:
/home/topeet/ubuntu20desktop *(rw,nohide,insecure,no_subtre

配置参数说明:

使用以下命令重启 NFS 服务:
service nfs-kernel-server restart
最后使用命令:“showmount -e ”查看nfs目录是否成功挂载(这里也可能要重启ubuntu才会又挂载目录),如下图所示:

至此,Ubuntu nfs 服务器端的配置完成。
好物推荐-3568开发板
CPU:RK3568
主频:四核A55(2GHz)
内存:2GB,硬件兼容4GB

瑞芯微RK3568芯片是一款定位中高端的通用型SOC,采用22nm制程工艺,集成4核arm架构A55处理器和Mali G52 2EE图形处理器,支持4K解码和1080P编码。
RK3568支持SATA/PCIE/USB3.0等各类型外围接口,内置独立的NPU,可用于轻量级人工智能应用。
RK3568支持安卓11和linux系统,主要面向物联网网关、NVR存储、工控平板、工业检测、工控盒、卡拉OK、云终端、车载中控等行业定制市场。
边栏推荐
- Flat design, blog website (VIII) code source code
- 【Matlab图像融合】粒子群优化自适应多光谱图像融合【含源码 004期】
- Résoudre le problème de la durée inexacte du fichier audio AAC obtenu par ffmpeg
- 617. 合并二叉树
- 解决ffmpeg獲取AAC音頻文件duration不准
- Sharing of personal common software and browser plug-ins
- Illustrate the principle of one-way linked list and the method of JS to realize linked list [with source code]
- Practice: how to reasonably design functions to solve practical problems in software development (I)
- Error code in ijkplayer
- Flutter Container组件
猜你喜欢

Sentinel annotation support - @sentinelresource usage details

During unity panoramic roaming, AWSD is used to control lens movement, EQ is used to control lens lifting, and the right mouse button is used to control lens rotation.

Teach everyone how to implement an electronic signature

Check whether the filing information of the medical representative is correct

Simple integration of client go gin six list watch two (about the improvement of RS, pod and deployment)

Do you know what the quotation for it talent assignment service is? It is recommended that programmers also understand

Vulhub 8.1-backdoor vulnerability recurrence

572. subtree of another tree

Learn a trick to use MySQL functions to realize data desensitization
![Illustration of JS implementation from insertion sort to binary insertion sort [with source code]](/img/e5/1956af15712ac3e89302d7dd73f403.jpg)
Illustration of JS implementation from insertion sort to binary insertion sort [with source code]
随机推荐
核查医药代表备案信息是否正确
[]==![]
Summary of string processing skills III
Aircraft battle from scratch (III) flight between player aircraft and enemy aircraft
Check whether the filing information of the medical representative is correct
fatal: refusing to merge unrelated histories
Vulhub 8.1-backdoor vulnerability recurrence
Aircraft war from scratch (II) simple development
On cursor in MySQL
Won't virtual DOM be available in 2022? Introduction to virtual Dom and complete implementation of diff and patch
A piece of code has been refactored six times by the boss, and my mind is broken
What is sentinel produced by Ali?
Résoudre le problème de la durée inexacte du fichier audio AAC obtenu par ffmpeg
021-MongoDB数据库从入门到放弃
Handwritten promise [05] - exception capture of promise method and optional parameters of then method implementation
Sharing of personal common software and browser plug-ins
022 basic introduction to redis database 0
022-Redis数据库0基础入门
关于SIoU的原理和代码实现(回顾IoU、GIoU、DIoU、CIoU)
UEFI finding PCI devices