Difference between revisions of "APITestPage"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
Line 1: Line 1:
====Install OS to eMMC====
+
====烧写系统到eMMC====
=====Option 1: Install OS on Web Page=====
+
=====方法1: 在网页上烧写=====
Get a TF card which has been installed with FriendlyWrt, log in FriendlyWrt on the web page, click on “System” ->”eMMC Tools”. Click on “Select file” to select your wanted image file, either an official image (the name might start with “rk3399-sd”) or a third party image. The file should be a “.gz” or “.img” file.<br/>
+
使用刷写了FriendlyWrt固件的TF卡启动{{{1}}}, 登录FriendlyWrt页面, 在网页菜单上点击 "系统" -> "eMMC刷机助手" 进入eMMC刷机助手界面, 点击界面上的 "选择文件" 按钮, 选择你要刷写的文件 (官方固件以rk3399-sd开头), 亦可选择第三方固件, 文件支持 .gz 格式的压缩文件, 或者以 .img 作为扩展名的raw格式。<br/><br/>
After a file is selected, click on “Upload and Write” to start installing an OS.<br/>
+
选择文件后, 点击 “上传并烧写” 按钮, 开始上传并烧写, 如下图所示:<br/>
[[File:Friendlywrt-emmctools2-en.png|frameless|600px]]<br/>
+
[[File:Friendlywrt-emmctools2-cn.png|frameless|600px]]<br/>
After installation is done, eject the SD card, the system will automatically reboot and load the OS from eMMC. After the OS begins to load, if the system LED is flashing and the network LED is on, it means the the OS has loaded successfully. If the OS is FriendlyWrt, you can click on “Go to Homepage” to enter the homepage. <br/>
+
烧写完成后,请弹出SD卡,设备会自动重启, 并从eMMC引导新系统,可留意指示灯的状态, 在系统状态灯闪烁,同时网卡状态灯亮起时,表示系统启动完成, 如果eMMC安装的系统是 FriendlyWrt, 则可以通过点击“进入首页”进入FriendlyWrt管理页面。<br />
Note that if you are burning the FriendlyElec firmware, you need to use an image file with the "-sd-" file name, similar to the one below:
+
需要注意的是, 如果烧写的是FriendlyElec的固件, 网页烧写需要选用文件名带 "-sd-" 字样的镜像文件, 类拟如下的文件名:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 12: Line 12:
 
   | rk3399-sd-friendlywrt-21.02-docker-YYYYMMDD.img.gz
 
   | rk3399-sd-friendlywrt-21.02-docker-YYYYMMDD.img.gz
 
|}
 
|}
If the file is in 7z, zip or rar format, you will need to extract it first. If the file is too large to write, you can compress it into .gz format and try again.
+
第三方固件由于命名不规则,你需要确认的是:此固件是支持从eMMC启动的,如果文件格式是7z、zip或者rar格式, 需要先解压缩, 如果文件太大无法写入, 可以先压缩成 .gz 格式再尝试。
=====Option 2: Install OS via TF Card=====
+
 
======Install OS to eMMC======
+
=====方法2: 用TF启动卡进行自动烧写=====
* This method firstly boots a mini Linux from a TF card and then automatically runs an EFlasher utility to install the OS to eMMC.<br />
+
======烧写系统固件到eMMC======
* You can watch its progress by observing its LEDs as well.<br />
+
* 此方法是通过SD卡启动一个小型的Linux系统, 然后自动运行一个名为EFlasher的工具来将固件烧写到eMMC中。<br />
Visit [http://download.friendlyelec.com/{{#replace:{{#replace:{{BASEPAGENAME}}| |}}|/zh|}} download link] to download the needed utilities and image file:<br />
+
* 通过LED灯来掌握烧写进度。<br />
 +
<br />
 +
访问[http://download.friendlyelec.com/{{#replace:{{#replace:{{BASEPAGENAME}}| |}}|/zh|}} 此处的下载地址]下载需要的固件文件(位于"01_系统固件/02_SD卡刷机固件(SD-to-eMMC)"目录)和烧写工具(位于"05_工具软件"目录):<br />
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
   | colspan=2 | '''Image File'''
+
   | colspan=2 | '''固件文件'''
 
|-
 
|-
 
   | rk3399-eflasher-friendlywrt-21.02-YYYYMMDD.img.gz
 
   | rk3399-eflasher-friendlywrt-21.02-YYYYMMDD.img.gz
   | '''[[How to Build FriendlyWrt|FriendlyWrt]]'''<br/>Based on OpenWrt 21.02.3<br />Kernel version 5.15.y
+
   | [[How to Build FriendlyWrt|FriendlyWrt]]系统固件,基于OpenWrt 21.02.3构建,内核版本 5.15.y
 
|-
 
|-
 
   | rk3399-eflasher-friendlywrt-21.02-docker-YYYYMMDD.img.gz
 
   | rk3399-eflasher-friendlywrt-21.02-docker-YYYYMMDD.img.gz
   | '''[[How to Build FriendlyWrt|FriendlyWrt]]'''<br/>Pre-installed Docker<br />Based on OpenWrt 21.02.3<br />Kernel version 5.15.y
+
   | 预装了Docker的[[How to Build FriendlyWrt|FriendlyWrt]]系统固件,基于OpenWrt 21.02.3构建,内核版本 5.15.y
 
|-
 
|-
   | rk3399-eflasher-debian-buster-desktop-arm64-YYYYMMDD.img.gz
+
   | rk3399-eflasher-debian-buster-desktop-4.19-arm64-20220725.img.gz
   | '''Debian 10(buster) Desktop'''<br />Uses LXDE as default desktop<br />Pre-installed mpv, smplayer and chromium brower<br />Supports hardware acceleration<br >Kernel version 5.15.y
+
   | Debian10系统固件,内核版本 4.19.y
 
|-
 
|-
 
   | rk3399-eflasher-friendlycore-lite-focal-5.15-arm64-YYYYMMDD.img.gz
 
   | rk3399-eflasher-friendlycore-lite-focal-5.15-arm64-YYYYMMDD.img.gz
   | '''FriendlyCore'''<br />Minimal system<br />Based on Ubuntu core 20.04<br />kernel version 5.15.y
+
   | 精简版64位FriendlyCore系统固件,基于Ubuntu core 20.04构建,内核版本 5.15.y
 
|-
 
|-
 
   | colspan=2 | '''Flash Utility:'''
 
   | colspan=2 | '''Flash Utility:'''
Line 39: Line 41:
 
   | Windows utility. Under Linux users can use "dd"
 
   | Windows utility. Under Linux users can use "dd"
 
|}
 
|}
Here are the steps:<br />
+
详细操作步骤如下:<br />
* Get an SDHC card with a minimum capacity of 8G
+
* 准备一张8G或以上容量的SDHC卡;
* Download a rk3399-eflasher-OSNAME-YYYYMMDD.img.gz image file and a win32diskimager;
+
* 下载并解压 固件文件rk3399-eflasher-OSNAME-YYYYMMDD.img.gz 和 工具win32diskimager;
* Under Windows, run win32diskimager as administrator, select your SD card and extracted [[EFlasher/zh|EFlasher]] image file, and click on “Write” to write image file on the SD card; or under Linux, you use the dd command to write the rk3399-eflasher-OSNAME-YYYYMMDD.img file to the SD card. 
+
* 在Windows下以管理员身份运行 win32diskimager,在界面上选择你的SD卡盘符,选择解压后的[[EFlasher/zh|EFlasher]]固件,点击 Write 按钮烧写到SD卡; 或者在 Linux下使用 dd 命令将 rk3399-eflasher-OSNAME-YYYYMMDD.img 写入 SD卡;
* Eject your SD card and insert it to {{{1}}}’s microSD card slot.
+
* 将SD卡从电脑端弹出,插入{{{1}}}的microSD卡槽;
* Turn on {{{1}}}, it will boot from the SD card and automatically run [[EFlasher/zh|EFlasher]] to install the OS to the board’s eMMC. You can observer the board’s LEDs to watch its installation progress 
+
* 连接{{{1}}}的电源,系统会从SD卡启动,并自动启动 [[EFlasher/zh|EFlasher]] 烧写工具将系统安装到 eMMC, 可以通过板载 LED 灯来了解安装进度:
 
{| class="wikitable"  
 
{| class="wikitable"  
 
|-
 
|-
! Progress
+
! 进度
! SYS LED(Red)
+
! SYS灯 (红灯)
! LAN LED(Green)
+
! LAN灯(绿灯)
! WAN LED(Green)
+
! WAN灯(绿灯)
 
|-
 
|-
| Power On
+
| 上电开机
| Solid On
+
| 长亮
| Off
+
|
| Off
+
|
 
|-
 
|-
| System Boot
+
| 系统启动
| Slow Flashing
+
| 慢闪
| Off
+
|
| Off
+
|
 
|-
 
|-
| Installation in Progress
+
| 正在烧写
| Fast Flashing
+
| 快闪
| Off
+
|
| Off
+
|
 
|-
 
|-
| Installation Done
+
| 烧写完成
| Slow Flashing
+
| 慢闪
| Solid On
+
| 长亮
| Solid On
+
| 长亮
 
|}
 
|}
* After installation is done, power off the board, eject the SD card from {{{1}}}, power on the board again, {{{1}}} will load the OS from its eMMC
+
* 烧写完成后,切断电源,然后从{{{1}}}端弹出SD卡,重新上电开机,{{{1}}}会从eMMC启动你刚刚烧写的系统;
======Install Flash Image File to eMMC======
+
======烧写flash镜像文件到eMMC======
* Auto Install (Default Behavior)
+
* 自动烧写(默认行为)
1) Download an “eflasher” firmware from [http://download.friendlyelec.com/{{#replace:{{#replace:{{BASEPAGENAME}}| |}}|/zh|}} network drive], extract it and install it to a TF card ;<br />
+
1) [http://download.friendlyelec.com/{{#replace:{{#replace:{{BASEPAGENAME}}| |}}|/zh|}} 网盘]上下载文件名带 '''eflasher''' 字样的任意固件, 解压后烧进TF卡;<br />
2) Eject and insert the TF card to your PC, after a “FriendlyARM” device shows up(Under Linux, it is a “FriendlyARM” directory), copy an .img or .gz file to the TF card.<br />
+
2) 重新拨插一次TF卡, PC上会出现一个名为FriendlyARM的盘符(Linux下是FriendlyARM目录), .img 或者 .gz结尾的固件复制进去;<br />
3) Open the eflasher.conf file on the TF card, set “autoStart=” to the name of your image file, such as:<br />
+
3) 编辑TF卡上的 eflasher.conf 配置文件, 修改 autoStart= 后面的值指定为你的固件文件名, 例如:<br />
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
autoStart=openwrt-rockchip-armv8_nanopi-ext4-sysupgrade.img.gz
 
autoStart=openwrt-rockchip-armv8_nanopi-ext4-sysupgrade.img.gz
 
</syntaxhighlight>
 
</syntaxhighlight>
Anyone of the files that contain “-sd-” will work. Here is a list:
+
支持文件名带 "-sd-" 字样的镜像文件, 如下所示:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 92: Line 94:
 
   | rk3399-sd-friendlywrt-22.03-docker-YYYYMMDD.img.gz
 
   | rk3399-sd-friendlywrt-22.03-docker-YYYYMMDD.img.gz
 
|}
 
|}
4) Eject the TF card, insert the TF card to {{{1}}}, power it on it will automatically install your firmware. You can watch the installation progress by observing the LEDs’ status.<br />
+
4) 安全弹出TF卡, 将TF卡放在{{{1}}}上上电启动, 会自动烧写你的固件, 通过板载 LED 灯来了解安装进度;<br />
=====Option 3: Install OS via USB=====
+
=====方法3: 通过USB烧写=====
======Step 1: Install USB Driver and Tools/Utilities======
+
======步骤1: 安装USB驱动和工具======
Download a driver file DriverAssitant_v5.1.1.zip under the “tools” directory from [http://download.friendlyelec.com/{{#replace:{{#replace:{{BASEPAGENAME}}| |}}|/zh|}} network drive], extract and install it. <br />
+
[http://download.friendlyelec.com/{{#replace:{{#replace:{{BASEPAGENAME}}| |}}|/zh|}} 网盘]的tools目录下载瑞芯微的USB驱动: DriverAssitant_v5.1.1.zip, 解压后安装; <br />
Under the same directory, download a utility RKDevTool_Release_v2.84.zip and extract it. <br />
+
在相同目录下, 下载瑞芯微开发工具: RKDevTool_Release_v2.84.zip, 解压后备用; <br />
======Step 2: Connect {{{1}}} to PC and Enter Installation Mode======
+
======步骤2: {{{1}}}与电脑连接, 并进入刷机模式======
1) Disconnect the connected USB cable and the power cord from {{{1}}}, eject the TF card;<br />
+
1) 断开{{{1}}}上连接的USB和电源线, 弹出TF卡;<br />
2) Press and hold the “Mask” key, power on the board. After the status LED has been on for at least 3 seconds, release the Mask key.<br />
+
2) 按住Mask按键不放, 插上电源, 保持按住Mask键, 状态灯亮起3秒后即可松开;<br />
3) Use a USB A-to-A cable, connect {{{1}}} to a PC as follows. Note: please pay attention to the USB port the USB cable is connected to in the screenshot. <br />
+
3) 用USB A-to-A数据线 (也叫USB公对公数据线), {{{1}}}与电脑进行连接, 连接方法参照下图, 需要连接靠近外侧的USB端口:<br />
 
[[File:Nanopir4se-usba-to-usba.jpg|frameless|400px]]<br />
 
[[File:Nanopir4se-usba-to-usba.jpg|frameless|400px]]<br />
======Step 3: Install image to eMMC======
+
======步骤3: 烧写固件到eMMC======
A firmware in general is packaged in either of the two options: the first is an whole image (ie, update.img) which is often offered by third party developers, the second is that an image is packaged and placed in multiple partition images. FriendlyElec offers an image in the latter option.
+
固件格式一般有两种格式, 一种是单个的image文件, 通常第三方固件会使用这种打包方式, 另一种是多个分区镜像, FriendlyELEC的固件采用这种方式, 下面分别对这两种格式的固件进行说明:
* Option 1: Install whole image (ie, update.img)<br />
+
* 选项1: 烧写打包成单个image文件的固件<br />
On a PC which has the extracted RKDevTool_Release_v2.84 utility, go to the RKDevTool_Release_v2.84 directory, run the RKDevTool.exe file. If everything works, you will see a “Found a new Maskrom device” message on the utility;<br />
+
在电脑上双击 RKDevTool_Release_v2.84 目录下的 RKDevTool.exe 启动瑞芯微开发工具, 与电脑连接正常的情况下, 瑞芯微开发工具界面上会显示 "发现一个Maskrom设备";<br />
Go to “Upgrade Firmware(升级固件)”, click on “Firmware(固件)”, select your wanted image file, and click on “Upgrade(升级)” to install. After installation is done, your board will reboot automatically and load the system from eMMC;<br />
+
在瑞芯微开发工具界面上, 点击 “升级固件”, 再点击 “固件” 按钮, 选择你要烧写的image文件, 点击 “升级” 然后等待烧写完成即可, 完成后设备会自动重启, 并从eMMC启动你刚刚安装的系统;<br />
* Option 2: Install OS that is packaged & placed in multiple partition images<br />
+
* 选项2: 烧写由多个分区镜像组成的固件<br />
Go to [http://download.friendlyelec.com/{{#replace:{{#replace:{{BASEPAGENAME}}| |}}|/zh|}} network drive] to download your needed package and extract it.
+
根据需要到[http://download.friendlyelec.com/{{#replace:{{#replace:{{BASEPAGENAME}}| |}}|/zh|}} 网盘]上下载对应的压缩包, 在电脑上解压:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
   | colspan=2 | '''Image File'''
+
   | colspan=2 | '''固件文件'''
 
|-
 
|-
 
   | rk3399-usb-friendlywrt-21.02-YYYYMMDD.img.gz
 
   | rk3399-usb-friendlywrt-21.02-YYYYMMDD.img.gz
   | '''[[How to Build FriendlyWrt|FriendlyWrt]]'''<br/>Based on OpenWrt 21.02.3<br />Kernel version 5.15.y
+
   | 精简版[[How to Build FriendlyWrt|FriendlyWrt]]系统固件,基于OpenWrt 21.02.3构建,内核版本 5.15.y
 
|-
 
|-
 
   | rk3399-usb-friendlywrt-21.02-docker-YYYYMMDD.img.gz
 
   | rk3399-usb-friendlywrt-21.02-docker-YYYYMMDD.img.gz
   | '''[[How to Build FriendlyWrt|FriendlyWrt]]'''<br/>Pre-installed Docker<br />Based on OpenWrt 21.02.3<br />Kernel version 5.15.y
+
   | 预装了Docker的[[How to Build FriendlyWrt|FriendlyWrt]]系统固件,基于OpenWrt 21.02.3构建,内核版本 5.15.y
 
|-
 
|-
 
   | rk3399-usb-debian-buster-desktop-arm64-YYYYMMDD.img.gz
 
   | rk3399-usb-debian-buster-desktop-arm64-YYYYMMDD.img.gz
   | '''Debian 10(buster) Desktop'''<br />Uses LXDE as default desktop<br />Pre-installed mpv, smplayer and chromium brower<br />Supports hardware acceleration<br >Kernel version 5.15.y
+
   | Debian10 系统固件,内核版本 4.19.y
 
|-
 
|-
 
   | rk3399-usb-friendlycore-lite-focal-5.10-arm64-YYYYMMDD.img.gz
 
   | rk3399-usb-friendlycore-lite-focal-5.10-arm64-YYYYMMDD.img.gz
   | '''FriendlyCore'''<br />Minimal system<br />Based on Ubuntu core 20.04<br />kernel version 5.15.y
+
   | 精简版64位FriendlyCore系统固件,基于Ubuntu core 20.04构建,内核版本 5.15.y
 
|}
 
|}
After it is extracted, you will see some utilities and a configuration file under the directory. double click on RKDevTool.exe, you will see a “Found a new Maskrom device” message on the utility. Click on the “Execute”, wait a moment and it will be installed. After installation is done your system will automatically reboot and load the system from eMMC.<br />
+
解压后, 可以看到固件目录下已内置了瑞芯微开发工具和预设好的配置文件, 双击 RKDevTool.exe 启动瑞芯微开发工具, 界面上会显示 "发现一个Maskrom设备", 点击界面上的“执行”按钮, 稍等片刻即可完成烧写, 完成后设备会自动重启, 并从eMMC启动你安装的系统;<br />

Revision as of 09:51, 27 July 2022

1 烧写系统到eMMC

1.1 方法1: 在网页上烧写

使用刷写了FriendlyWrt固件的TF卡启动{{{1}}}, 登录FriendlyWrt页面, 在网页菜单上点击 "系统" -> "eMMC刷机助手" 进入eMMC刷机助手界面, 点击界面上的 "选择文件" 按钮, 选择你要刷写的文件 (官方固件以rk3399-sd开头), 亦可选择第三方固件, 文件支持 .gz 格式的压缩文件, 或者以 .img 作为扩展名的raw格式。

选择文件后, 点击 “上传并烧写” 按钮, 开始上传并烧写, 如下图所示:
Friendlywrt-emmctools2-cn.png
烧写完成后,请弹出SD卡,设备会自动重启, 并从eMMC引导新系统,可留意指示灯的状态, 在系统状态灯闪烁,同时网卡状态灯亮起时,表示系统启动完成, 如果eMMC安装的系统是 FriendlyWrt, 则可以通过点击“进入首页”进入FriendlyWrt管理页面。
需要注意的是, 如果烧写的是FriendlyElec的固件, 网页烧写需要选用文件名带 "-sd-" 字样的镜像文件, 类拟如下的文件名:

rk3399-sd-friendlywrt-21.02-YYYYMMDD.img.gz
rk3399-sd-friendlywrt-21.02-docker-YYYYMMDD.img.gz

第三方固件由于命名不规则,你需要确认的是:此固件是支持从eMMC启动的,如果文件格式是7z、zip或者rar格式, 需要先解压缩, 如果文件太大无法写入, 可以先压缩成 .gz 格式再尝试。

1.2 方法2: 用TF启动卡进行自动烧写
1.2.1 烧写系统固件到eMMC
  • 此方法是通过SD卡启动一个小型的Linux系统, 然后自动运行一个名为EFlasher的工具来将固件烧写到eMMC中。
  • 通过LED灯来掌握烧写进度。


访问此处的下载地址下载需要的固件文件(位于"01_系统固件/02_SD卡刷机固件(SD-to-eMMC)"目录)和烧写工具(位于"05_工具软件"目录):

固件文件
rk3399-eflasher-friendlywrt-21.02-YYYYMMDD.img.gz FriendlyWrt系统固件,基于OpenWrt 21.02.3构建,内核版本 5.15.y
rk3399-eflasher-friendlywrt-21.02-docker-YYYYMMDD.img.gz 预装了Docker的FriendlyWrt系统固件,基于OpenWrt 21.02.3构建,内核版本 5.15.y
rk3399-eflasher-debian-buster-desktop-4.19-arm64-20220725.img.gz Debian10系统固件,内核版本 4.19.y
rk3399-eflasher-friendlycore-lite-focal-5.15-arm64-YYYYMMDD.img.gz 精简版64位FriendlyCore系统固件,基于Ubuntu core 20.04构建,内核版本 5.15.y
Flash Utility:
win32diskimager.rar Windows utility. Under Linux users can use "dd"

详细操作步骤如下:

  • 准备一张8G或以上容量的SDHC卡;
  • 下载并解压 固件文件rk3399-eflasher-OSNAME-YYYYMMDD.img.gz 和 工具win32diskimager;
  • 在Windows下以管理员身份运行 win32diskimager,在界面上选择你的SD卡盘符,选择解压后的EFlasher固件,点击 Write 按钮烧写到SD卡; 或者在 Linux下使用 dd 命令将 rk3399-eflasher-OSNAME-YYYYMMDD.img 写入 SD卡;
  • 将SD卡从电脑端弹出,插入{{{1}}}的microSD卡槽;
  • 连接{{{1}}}的电源,系统会从SD卡启动,并自动启动 EFlasher 烧写工具将系统安装到 eMMC, 可以通过板载 LED 灯来了解安装进度:
进度 SYS灯 (红灯) LAN灯(绿灯) WAN灯(绿灯)
上电开机 长亮
系统启动 慢闪
正在烧写 快闪
烧写完成 慢闪 长亮 长亮
  • 烧写完成后,切断电源,然后从{{{1}}}端弹出SD卡,重新上电开机,{{{1}}}会从eMMC启动你刚刚烧写的系统;
1.2.2 烧写flash镜像文件到eMMC
  • 自动烧写(默认行为)

1) 从网盘上下载文件名带 eflasher 字样的任意固件, 解压后烧进TF卡;
2) 重新拨插一次TF卡, PC上会出现一个名为FriendlyARM的盘符(Linux下是FriendlyARM目录), 将 .img 或者 .gz结尾的固件复制进去;
3) 编辑TF卡上的 eflasher.conf 配置文件, 修改 autoStart= 后面的值指定为你的固件文件名, 例如:

autoStart=openwrt-rockchip-armv8_nanopi-ext4-sysupgrade.img.gz

支持文件名带 "-sd-" 字样的镜像文件, 如下所示:

rk3399-sd-friendlywrt-21.02-YYYYMMDD.img.gz
rk3399-sd-friendlywrt-21.02-docker-YYYYMMDD.img.gz
rk3399-sd-friendlywrt-22.03-YYYYMMDD.img.gz
rk3399-sd-friendlywrt-22.03-docker-YYYYMMDD.img.gz

4) 安全弹出TF卡, 将TF卡放在{{{1}}}上上电启动, 会自动烧写你的固件, 通过板载 LED 灯来了解安装进度;

1.3 方法3: 通过USB烧写
1.3.1 步骤1: 安装USB驱动和工具

网盘的tools目录下载瑞芯微的USB驱动: DriverAssitant_v5.1.1.zip, 解压后安装;
在相同目录下, 下载瑞芯微开发工具: RKDevTool_Release_v2.84.zip, 解压后备用;

1.3.2 步骤2: 将{{{1}}}与电脑连接, 并进入刷机模式

1) 断开{{{1}}}上连接的USB和电源线, 弹出TF卡;
2) 按住Mask按键不放, 插上电源, 保持按住Mask键, 状态灯亮起3秒后即可松开;
3) 用USB A-to-A数据线 (也叫USB公对公数据线), 将{{{1}}}与电脑进行连接, 连接方法参照下图, 需要连接靠近外侧的USB端口:
Nanopir4se-usba-to-usba.jpg

1.3.3 步骤3: 烧写固件到eMMC

固件格式一般有两种格式, 一种是单个的image文件, 通常第三方固件会使用这种打包方式, 另一种是多个分区镜像, FriendlyELEC的固件采用这种方式, 下面分别对这两种格式的固件进行说明:

  • 选项1: 烧写打包成单个image文件的固件

在电脑上双击 RKDevTool_Release_v2.84 目录下的 RKDevTool.exe 启动瑞芯微开发工具, 与电脑连接正常的情况下, 瑞芯微开发工具界面上会显示 "发现一个Maskrom设备";
在瑞芯微开发工具界面上, 点击 “升级固件”, 再点击 “固件” 按钮, 选择你要烧写的image文件, 点击 “升级” 然后等待烧写完成即可, 完成后设备会自动重启, 并从eMMC启动你刚刚安装的系统;

  • 选项2: 烧写由多个分区镜像组成的固件

根据需要到网盘上下载对应的压缩包, 在电脑上解压:

固件文件
rk3399-usb-friendlywrt-21.02-YYYYMMDD.img.gz 精简版FriendlyWrt系统固件,基于OpenWrt 21.02.3构建,内核版本 5.15.y
rk3399-usb-friendlywrt-21.02-docker-YYYYMMDD.img.gz 预装了Docker的FriendlyWrt系统固件,基于OpenWrt 21.02.3构建,内核版本 5.15.y
rk3399-usb-debian-buster-desktop-arm64-YYYYMMDD.img.gz Debian10 系统固件,内核版本 4.19.y
rk3399-usb-friendlycore-lite-focal-5.10-arm64-YYYYMMDD.img.gz 精简版64位FriendlyCore系统固件,基于Ubuntu core 20.04构建,内核版本 5.15.y

解压后, 可以看到固件目录下已内置了瑞芯微开发工具和预设好的配置文件, 双击 RKDevTool.exe 启动瑞芯微开发工具, 界面上会显示 "发现一个Maskrom设备", 点击界面上的“执行”按钮, 稍等片刻即可完成烧写, 完成后设备会自动重启, 并从eMMC启动你安装的系统;