Difference between revisions of "APITestPage"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
Line 1: Line 1:
[[NanoPC-T6 Armbian Installation Guide/zh|查看中文]]
+
===救砖办法===
== Introduction ==
+
{{#switch: {{{1}}}
This is a simple guide to install Armbian on NanoPC-T6 and boot through SPI Nor Flash and NVMe SSD, covering the following contents:
+
| NanoPi-R4SE
* Erase SPI Nor Flash and eMMC
+
| NanoPi-R6S
* Flash BootLoader to SPI Nor Flash
+
| CM3588
* Boot Armbian system from NVMe
+
| NanoPi-R5C
 
+
| NanoPi-R6C
== Prerequisites ==
+
| NanoPC-T4
Before starting, please ensure you have the following:
+
| NanoPi-R2C-Plus
* A NanoPC T6 with SPI Nor Flash
+
| NanoPi-R2S-Plus
* A USB-C cable
+
| SOM-RK3399 =
* An NVMe SSD
+
如何固件没有正确安装,导致开发板变砖,而且可能没有机会通过SD卡重新安装固件,这时,就需要通过Maskrom模式,擦除eMMC的办法救砖,方法如下:
* A PC running Windows
+
* 使用USB数据线将{{{1}}}与电脑相连接
* A power adapter, etc.
+
* 在电脑上启动 '''RKDevTool''' (注:要使用v2.96及以上版本)
All steps in this guide are currently applicable only to Windows systems.
+
* 将{{{1}}}断开电源,按住 '''MASK''' 键,连接电源,当看到界面下方显示 '''Found One MASKROM Device''' 时松开按键, 如下图所示:
 
+
== Download Required Files ==
+
* '''Get the necessary tools''': Visit [https://dl.friendlyelec.com/nanopct6 here], find '''RKDevTool_v3.19_for_window.zip''', '''DriverAssitant_v5.1.1.zip''' and '''win32diskimager.rar''' in the '''05_Tools''' directory, and download them locally.
+
* '''Get Armbian image''': Visit [https://www.armbian.com/nanopct6/ here] to download the Armbian image file.
+
* '''Get RK3588 loader and SPI Images''': Visit [http://112.124.9.243/dvdfiles/RK3588/tools/ here] to download '''MiniLoaderAll.bin''' and '''rkspi_loader.img.zip'''.
+
The downloaded files are in compressed packages, and need to be extracted.
+
 
+
== Install Rockchip USB Driver and RKDevTool ==
+
* Extract '''DriverAssitant_v5.1.1.zip''' to install Rockchip USB driver.
+
* Extract '''RKDevTool_v3.19_for_window.zip''' to obtain the Rockchip flashing tool '''RKDevTool'''.
+
 
+
== Flashing Steps ==
+
=== Let NanoPC-T6 enter Rockusb Maskrom Mode ===
+
* Connect NanoPC-T6 to the computer using a USB Type-C cable.
+
* Launch '''RKDevTool''' on the computer (Note: use version 2.96 or later).
+
* Disconnect the power from NanoPC-T6, hold down the '''MASK''' button, connect the power, and release the button when you see '''Found One MASKROM Device''' at the bottom of the screen, as shown below:
+
 
[[File:Rkdevtool_found_one_maskrom_device.png|frameless|600px]]
 
[[File:Rkdevtool_found_one_maskrom_device.png|frameless|600px]]
 
+
* '''RKDevTool''' 界面上点击 '''Advanced Function''' 选项卡
=== Erase SPI Nor Flash and eMMC ===
+
* '''Boot''' 编辑框中选择 '''MiniLoaderAll.bin''',然后点击 '''Download''' 按钮
Remove the SD card from the development board (if any). To avoid any residual boot data interfering with the Armbian startup, it is recommended to erase the SPI Nor Flash and eMMC once (optional). The method is as follows:
+
* 选中 '''EMMC''',点 '''Switch Storage''',再点击 '''ErashAll''' 按钮擦除eMMC
* In the '''RKDevTool''' interface, click the '''Advanced Function''' tab.
+
* Select '''MiniLoaderAll.bin''' in the '''Boot''' text box, then click the '''Download''' button.
+
* Select '''EMMC''', click '''Switch Storage''', and then click the '''EraseAll''' button to erase eMMC.
+
 
[[File:Rkdevtool_erase_emmc.png|frameless|600px]]
 
[[File:Rkdevtool_erase_emmc.png|frameless|600px]]
* Select '''SPINOR''', click '''Switch Storage''', and then click the '''EraseAll''' button to erase SPI Nor Flash.
+
* 至此,{{{1}}}应该恢复可以通过SD卡或eMMC引导系统了
 +
| NanoPi-R5S
 +
| NanoPC-T6 =
 +
如何固件没有正确安装,导致开发板变砖,而且可能没有机会通过SD卡重新安装固件,这时,就需要通过Maskrom模式,擦除eMMC和SPI Nor Flash(如果有的话)的办法救砖,方法如下:
 +
* 使用USB数据线将{{{1}}}与电脑相连接
 +
* 在电脑上启动 '''RKDevTool''' (注:要使用v2.96及以上版本)
 +
* 将{{{1}}}断开电源,按住 '''MASK''' 键,连接电源,当看到界面下方显示 '''Found One MASKROM Device''' 时松开按键, 如下图所示:
 +
[[File:Rkdevtool_found_one_maskrom_device.png|frameless|600px]]
 +
* 在 '''RKDevTool''' 界面上点击 '''Advanced Function''' 选项卡
 +
* 在 '''Boot''' 编辑框中选择 '''MiniLoaderAll.bin''',然后点击 '''Download''' 按钮
 +
* 选中 '''EMMC''',点 '''Switch Storage''',再点击 '''ErashAll''' 按钮擦除eMMC
 +
[[File:Rkdevtool_erase_emmc.png|frameless|600px]]
 +
* 选中 '''SPINOR''', '''Switch Storage''',再点击 '''ErashAll''' 按钮擦除SPI Nor Flash
 
[[File:Rkdevtool_erase_spinorflash.png|frameless|600px]]
 
[[File:Rkdevtool_erase_spinorflash.png|frameless|600px]]
 
+
* 至此,{{{1}}}应该恢复可以通过SD卡或eMMC引导系统了
=== Flash BootLoader to SPI Nor Flash ===
+
| #default =
Refer to the picture below to set the flashing content in the '''RKDevTool''' interface:<br/>
+
}}
[[File:Rkdevtool_flash_spinor.png|frameless|600px]]<br/>
+
You can right-click in the list, choose '''Load Config''', select '''friendlyelec-spinor-config.cfg''' to load the preset settings, then check '''Write by Address''' (important). Finally, click the '''Run''' button and wait for the process to complete.
+
 
+
=== Flash Armbian Image to NVMe SSD ===
+
Use the '''win32diskimager''' tool on Windows to write the '''.img''' format Armbian image to the NVMe SSD.
+
 
+
=== Run Armbian ===
+
Install the NVMe SSD on NanoPC-T6, power on, and follow the Armbian wizard to configure the system.
+
 
+
=== Related information ===
+
* https://github.com/armbian/build/pull/5573
+

Revision as of 06:36, 4 June 2024

救砖办法