打开主菜单

Wiki-Orange Pi β

更改

Orange Pi 5 Plus

添加396字节, 2023年5月29日 (一) 20:11
网络adb的使用方法
<li><p>然后使用下面的命令连接网络adb</p></li></ol>
{| class="wikitable" style="width:800px;" |-|test@test:~$ '''adb connect 192.168.1.xx:5555 <span style="color:#FF0000">#IP地址请替换为开发板的IP地址</span>'''
* daemon not running; starting now at tcp:5037
'''192.168.1.xx:5555 device'''
|}
<ol start="5" style="list-style-type: decimal;">
<li>然后使用下面的命令就可以登录开发板的linux系统</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~$ '''adb shell'''
'''root@orangepi5plus:/# &lt;--- 看到这个提示符后说明已成功登录开发板'''
|}
<ol start="6" style="list-style-type: decimal;">
<li><p>使用adb上传文件到开发板的命令如下所示</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''adb push filename /root'''</p>
<p>filename: 1 file pushed. 3.7 MB/s (1075091 bytes in 0.277s)</p>|}</li>
<li><p>使用adb重启开发板的命令如下所示</p>
{| class="wikitable" style="width:800px;" |-|<p>test@test:~$ '''adb reboot'''</p>|}</li></ol>
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''如果您的Windows系统中没有adb工具,可以使用RKDevTool软件([[\lOrange Pi 5 Plus#使用RKDevTool烧录Linux镜像到TF卡中的方法|使用RKDevTool烧录Linux镜像到TF卡中的方法]]一小节有用到这个软件)中的adb程序。'''
[[File:media/image233.png|576x131px]]
'''在Windows中使用adb的示例如下所示:'''</big>
[[File:media/image234.png|576x335px]]
|}
=== 使用type-c数据线连接adb ===
8,460
个编辑