Difference between revisions of "APITestPage"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[NanoPC-T6 Armbian Installation Guide/zh|查看中文]]
 
== Introduction ==
 
This is a simple guide to install Armbian on NanoPC-T6 and boot through SPI Nor Flash and NVMe SSD, covering the following contents:
 
* Erase SPI Nor Flash and eMMC
 
* Flash BootLoader to SPI Nor Flash
 
* Boot Armbian system from NVMe
 
  
== Prerequisites ==
+
{{BurnLinuxToExtDrive-Rockchip/zh|NanoPC-T4}}
Before starting, please ensure you have the following:
+
{{BurnLinuxToExtDrive-Rockchip|NanoPC-T4}}
* A NanoPC T6 development board with SPI Nor Flash
+
* A USB-C data cable
+
* An NVMe SSD
+
* A PC running Windows
+
* A power adapter, etc.
+
All steps in this guide are currently applicable only to Windows systems.
+
 
+
== 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 firmware''': Visit [https://www.armbian.com/nanopct6/ here] to download the Armbian firmware 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 ==
+
=== Put NanoPC-T6 into 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]]
+
 
+
=== Erase SPI Nor Flash and eMMC ===
+
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:
+
* 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]]
+
* Select '''SPINOR''', click '''Switch Storage''', and then click the '''EraseAll''' button to erase SPI Nor Flash.
+
[[File:Rkdevtool_erase_spinorflash.png|frameless|600px]]
+
 
+
=== Flash BootLoader to SPI Nor Flash ===
+
Refer to the demonstration image 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 interface, 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 Firmware to NVMe SSD ===
+
Extract the firmware file with the '''.img''' extension, and use the '''win32diskimager''' tool on Windows to write the '''.img''' format Armbian firmware to the NVMe SSD.
+
 
+
=== Run Armbian ===
+
Install the NVMe SSD on NanoPC-T6, power on, and follow the Armbian wizard to configure the system.
+
<!--
+
=== Install Armbian Firmware to eMMC ===
+
Launch armbian-config in the command line:
+
<syntaxhighlight lang="bash">
+
sudo armbian-config
+
</syntaxhighlight>
+
Go to '''System''' -> '''Install''', choose '''Boot from eMMC - system on eMMC''', and complete the subsequent operations as needed. After installation, power off, remove the NVMe SSD, and power on to boot Armbian from eMMC.
+
-->
+
=== Related information ===
+
* https://github.com/armbian/build/pull/5573
+

Latest revision as of 09:58, 29 October 2024

1 安装系统到M.2或USB硬盘

可以通过使用TF卡启动eFlasher系统,将引导和系统分别安装到不同存储设备,但是由于CPU不支持直接从M.2和USB设备引导,所以虽然系统可以安装到M.2和USB设备,但是引导仍然需要安装到eMMC或者TF卡。
操作步骤如下:

  • 准备一张32G或以上容量的TF卡;
  • 访问此处的下载地址下载文件名为XXXX-eflasher-multiple-os-YYYYMMDD-30g.img.gz的固件(位于"01_系统固件/02_SD卡刷机固件(SD-to-eMMC)"目录);
  • 将固件写入TF卡,在NanoPC-T4上连接好存储设备,插入TF卡上电开机,接下来要在界面上操作,如果没有显示设备,可以使用VNC代替,请参考使用VNC操作eFlasher;
  • 在eFlasher界面上,首先选择要安装的OS,然后选择引导安装的目的地 (通常选eMMC),以及选择系统安装的目的地(可以选eMMC,M.2硬盘,USB存储设备等),如下图所示:

Eflasher-select-boot-and-system-device.png

  • 没有eMMC时可使用TF卡作为引导,方法是将另一个TF卡通过USB读卡器插入USB端口,然后选择USB设备作为引导安装目的地,从而实现从TF卡引导,但系统存放在M.2或USB硬盘的目的;
  • 烧写完成后,从NanoPC-T4弹出SD卡,引导在eMMC的情况下,NanoPC-T4会自动重启至你刚刚烧写的系统,如果引导安装在TF卡,则需要拨掉电源,插入TF引导卡再上电开机;
  • 更详细的安装指南请参考此处;

2 Installing the System to M.2 or USB Drive

You can use a TF card to boot the eFlasher system, allowing the boot and system to be installed on different storage devices. However, since the CPU doesn’t support booting directly from M.2 and USB devices, the system can be installed on M.2 and USB devices, but the boot must still be installed on eMMC or a TF card.
Steps are as follows:

  • Prepare a TF card with a capacity of 32GB or larger.
  • Visit [the download link here](http://download.friendlyelec.com/APITestPage) to download the firmware file named XXXX-eflasher-multiple-os-YYYYMMDD-30g.img.gz (located in the “01_Official images/02_SD-to-eMMC images” directory).
  • Flash the firmware to the TF card, connect the storage device you intend to use on NanoPC-T4, insert the TF card and power on, we need to perform the operations in the eFlasher GUI. If your NanoPC-T4 does not have a display interface, you can use VNC; refer to Using VNC to Operate eFlasher.
  • In the eFlasher GUI, select the OS to install, and in the OS settings interface, choose the destination for boot installation (typically eMMC), then choose the destination for system installation (options include eMMC, M.2 hard drive, USB storage, etc.), as shown below:

Eflasher-select-boot-and-system-device.png

  • If no eMMC is available, the TF card can serve as the boot by inserting another TF card into the USB port via a USB card reader and selecting it as the boot destination, enabling booting from the TF card with the system stored on the M.2 or USB drive.
  • After flashing, eject the SD card from NanoPC-T4. If booting from eMMC, NanoPC-T4 will automatically restart into the newly flashed system. If boot installation is on a TF card, power off, insert the boot TF card, and power on again.
  • For a more detailed installation guide, please refer to this link.