当前位置:网站首页>Rk3568 Development Notes (III): update source, installation of network tools, serial port debugging, network connection, file transfer, installation of vscode and Samba shared services for rk3568 virt
Rk3568 Development Notes (III): update source, installation of network tools, serial port debugging, network connection, file transfer, installation of vscode and Samba shared services for rk3568 virt
2022-06-21 23:30:00 【Changsha Red fatty QT】
If the article is original , Reprint please indicate the source of the original
This article blog address :https://hpzwl.blog.csdn.net/article/details/125142167
Ruixin micro development column
Last one :《RK3568 Development Notes ( Two ): Starting with RK3568 Introduction to the kit of development board 、 Backplane introduction and peripheral test 》
Next : Coming soon …
Preface
Begin to build RK3568 Basic virtual machine , Basic general functions , It mainly includes serial port tools minicom, Remote login ssh, Remote transmission filezilla, Code editing tool vscode.
virtual machine
The document makes some basic requirements for virtual machines , Here's the picture :

In order to minimize errors in the early stage , The same should be selected vmware edition and ubuntu, In especial ubuntu( The key is amd 64 Bit ).
The author uses ubutn18.04 x64 Bit system , Make an empty system , Use vmware The virtual machine is only an empty system that changes the system ( How to install a virtual machine , Please Baidu ).

Ubuntu Interface mode update source
Replace source




The replacement is complete , If pop-up to update , Please click Cancel ( There seem to be a lot of things to update the interface ).
Install network tools
Ubuntu18 No, ifconfig And so on , Manual installation required :
sudo apt-get install net-tools

Development board debugging serial port connection
Update source
After replacement , Use the following command to update the following :
sudo apt-get update

Serial physical connection
Connect the serial port to PC On the computer , And connect the serial port PC Connect to a virtual machine , Yes, the virtual machine can open the serial port .
Serial port physical wiring :

The new serial port is displayed on the computer :

The virtual machine connects the serial port to :

Confirm serial port (USB A serial port ):

Virtual machine network connection

Download serial port tools minicom
sudo apt-get install minicom

Open the serial port (ttyUSB0, The general baud rate is 115200)
sudo minicom -s



Power on again , Successful connection

Check the kernel system version of the development board :

Network connection between virtual machine and development board
The virtual machine leads to the development board
Development board ip:

View NIC , This development board has many network configurations ,wlan0 Configure the wireless network card ;

The virtual machine leads to the development board :

The development board leads to the virtual machine
virtual machine ip:

The development board leads to the virtual machine :

install fileZilla File transfer software
( The system of this development board does not have this service , But our system needs to be installed , You need to build your own system in the future , Now just install this software )
stay ubuntu Download software from the software center fileZilla, Here's the picture :

Code development editing tools vscode
download vscode
( Because development drives , Instead of just developing qt and c Applied , Try to use vscode).
vscode Is a free open source code editor , And it's very powerful , It basically supports syntax highlighting of all mainstream programming languages , Automatic completion , Match parentheses, etc . Software cross platform support win, mac and linux.
Official download address :https://code.visualstudio.com/Download
CSDN fans 0 Points download address :https://download.csdn.net/download/qq21497936/85430506
QQ Group download address :1047134658( Click on “ file ” Search for “code”, Update within the group and blog posts simultaneously )

install vscode
sudo dpkg --install code_1.67.2-1652812855_amd64.deb


install vscode plug-in unit


Installing a plug-in , Recommended according to the development documentation , as follows :
- C/C++:C and C++ Compiler environment for
- C/C++ Snippets:C/C++ Reuse code blocks .
- C/C++ Advanced Lint:C/C++ The static test .
- Code Runner: That is, the code runs .
- Include AutoComplete: The automatic header file contains .
- Rainbow Brackets: Rainbow curly braces , Help read the code .
- One Dark Pro:VSCode The theme of .
- GBKtoUTF8: take GBK Convert to UTF8.
- Arm Assmebly: Namely support ARM Assembly syntax highlights .
- Chinese(Simplified): Chinese environment .
- vscode-icons:VSCode Icon plug in , Mainly the icons of various folders under Explorer .
- compareit: Compare plug-ins , It can be used to compare the differences between two files .
- DeviceTree: Device tree syntax plugin .
- TabNine AI:AI Auto completion plug-in .
After installation :

Shared file server samba
Sometimes the virtual machine has problems dragging and dropping files , In order to avoid , Installed here samba service , Let the external computer use it directly through the resource manager ip Address to access the virtual machine ubuntu Shared folder , Realize file transfer .
Refer to the post 《linux Practical skills :ubuntu18.04 install samba Server realizes LAN file sharing 》
Last one :《RK3568 Development Notes ( Two ): Starting with RK3568 Introduction to the kit of development board 、 Backplane introduction and peripheral test 》
Next : Coming soon …
If the article is original , Reprint please indicate the source of the original
This article blog address :https://hpzwl.blog.csdn.net/article/details/124981391
边栏推荐
猜你喜欢

硬件开发笔记(三):硬件开发基本流程,制作一个USB转RS232的模块(二):设计原理图库
![[understanding pointer] advanced level of pointer](/img/56/2db57773ed2d0c71b05455dd5e0d6c.png)
[understanding pointer] advanced level of pointer

花200W买流量,不如0成本起步做独立站私域运营收益高!

樹莓派開發筆記(十六):樹莓派4B+安裝mariadb數據庫(mysql開源分支)並測試基本操作

2022年云计算的趋势有哪些?

Getting to know Vxe table (I)

Translation software Bob installation tutorial

redis主从复制(九)

Software testing Q & A

Notes de développement de la tarte aux framboises (XVI): la tarte aux framboises 4b + installe la base de données mariadb (MySQL open source Branch) et teste les opérations de base
随机推荐
有一说一,高并发系统设计其实一点都不难!
1016. substring can represent binary string of numbers from 1 to n
postgis 如何用米制单位 buffer
Speech breakpoint detection (short time improved subband spectral entropy)
uniapp在解决谷歌浏览器跨域问题,在谷歌浏览器运行
Nuxt SSR packaging and deployment
泰山OFFICE技术讲座:微软雅黑字体故意设置的坑,粗体错误
[WUSTCTF2020]朴实无华-1
Getting started with reverse debugging - Basics
Pyenv installing Anaconda modifying Tsinghua source
[understanding pointer] advanced level of pointer
Pltmodify abscissa and ordinate colors
CVPR2022 | 弱监督多标签分类中的损失问题
同花顺VIP开户怎么开户,安全吗?
硬件开发笔记(三):硬件开发基本流程,制作一个USB转RS232的模块(二):设计原理图库
Uniapp encapsulates the request function to achieve unique login. One account can only log in to one device at the same time
How to use metric unit buffer in PostGIS
Specific methods of using cloud development to realize wechat payment
Ah ah ah ah ah ah
软件测试概念篇