Difference between revisions of "APITestPage/zh"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
====Flash to TF====
+
 
Visit [http://download.friendlyelec.com/{{#replace:{{#replace:{{BASEPAGENAME}}| |}}|/zh|}} download link]to download image files (in the "01_Official images/01_SD card images" directory) and utilities (in the "05_Tools" directory):<br />
+
{{RockchipUnbrick/zh|NanoPC-T6}}
{| class="wikitable"
+
|-
+
  | colspan=3 | '''Image Files'''
+
|-
+
  | [[File:Openwrt-icon.svg|frameless|40px]]
+
  | rk3588-sd-friendlywrt-21.02-YYYYMMDD.img.gz
+
  | [[How to Build FriendlyWrt|FriendlyWrt]] lite image file, based on OpenWrt 21.02, kernel version 5.10.y
+
|-
+
  | [[File:Openwrt-icon.svg|frameless|40px]]
+
  | rk3588-sd-friendlywrt-21.02-docker-YYYYMMDD.img.gz
+
  | [[How to Build FriendlyWrt|FriendlyWrt]] with Docker image file, based on OpenWrt 21.02, kernel version 5.10.y
+
|-
+
  | [[File:Openwrt-icon.svg|frameless|40px]]
+
  | rk3588-sd-friendlywrt-22.03-YYYYMMDD.img.gz
+
  | [[How to Build FriendlyWrt|FriendlyWrt]] lite image file, based on OpenWrt 22.03, kernel version 5.10.y
+
|-
+
  | [[File:Openwrt-icon.svg|frameless|40px]]
+
  | rk3588-sd-friendlywrt-22.03-docker-YYYYMMDD.img.gz
+
  | [[How to Build FriendlyWrt|FriendlyWrt]] with Docker image file, based on OpenWrt 22.03, kernel version 5.10.y
+
|-
+
  | [[File:Android-icon.svg|frameless|40px]]
+
  | rk3588-sd-androidtv-YYYYMMDD.img.zip
+
  | Android 12 TV
+
|-
+
  | [[File:Android-icon.svg|frameless|40px]]
+
  | rk3588-sd-android12-YYYYMMDD.img.zip
+
  | Android 12 Tablet
+
|-
+
  | [[File:Debian-icon.svg|frameless|40px]]
+
  | rk3588-sd-debian-bullseye-core-5.10-arm64-YYYYMMDD.img.gz
+
  | Debian 11(Bullseye) Core, no desktop environment, command line only, kernel version 5.10.y
+
|-
+
  | [[File:Debian-icon.svg|frameless|40px]]
+
  | rk3588-sd-debian-bullseye-minimal-5.10-arm64-YYYYMMDD.img.gz
+
  | Debian 11(Bullseye) Desktop, uses Xfce as default desktop, no pre-installed recommended software, supports hardware acceleration, kernel version 5.10.y
+
|-
+
  | [[File:Debian-icon.svg|frameless|40px]]
+
  | rk3588-sd-debian-bullseye-desktop-5.10-arm64-YYYYMMDD.img.gz
+
  | Debian 11(Bullseye) Desktop, uses Xfce as default desktop, pre-installed mpv, smplayer and chromium brower, supports hardware acceleration, kernel version 5.10.y
+
|-
+
  | [[File:Ubuntu-icon.svg|frameless|40px]]
+
  | rk3588-sd-ubuntu-focal-desktop-5.10-arm64-YYYYMMDD.img.gz
+
  | Ubuntu20.04(Focal) Desktop, uses LXQT as default desktop, pre-installed mpv, smplayer and chromium brower, supports hardware acceleration, kernel version 5.10.y
+
|-
+
  | [[File:Ubuntu-icon.svg|frameless|40px]]
+
  | rk3588-sd-ubuntu-jammy-desktop-5.10-arm64-YYYYMMDD.img.gz
+
  | Ubuntu 22.04 with GNOME and Wayland, pre-installed web browser and other recommended software, kernel version 5.10.y
+
|-
+
  | [[File:Ubuntu-icon.svg|frameless|40px]]
+
  | rk3588-sd-ubuntu-jammy-minimal-5.10-arm64-YYYYMMDD.img.gz
+
  | Lightweight Ubuntu 22.04 with GNOME and Wayland, recommended software is not included, kernel version 5.10.y
+
|-
+
  | [[File:Ubuntu-icon.svg|frameless|40px]]
+
  | rk3588-sd-ubuntu-jammy-x11-desktop-arm64-YYYYMMDD.img.gz
+
  | Ubuntu 22.04 with Xubuntu and X11, pre-installed Panfrost GPU driver and other recommended software, kernel version 5.10.y
+
|-
+
  | [[File:Ubuntu-icon.svg|frameless|40px]]
+
  | rk3588-sd-friendlycore-focal-5.10-arm64-YYYYMMDD.img.gz
+
  | 64-bit FriendlyCore image file,pre-installed Qt5, based on Ubuntu core 20.04, kernel version 5.10.y
+
|-
+
  | colspan=3 | '''Other Image'''
+
|-
+
  | [[File:Openwrt-icon.svg|frameless|40px]]
+
  | Github Actions
+
  | [https://github.com/friendlyarm/Actions-FriendlyWrt/releases FriendlyWrt]
+
|-
+
  | colspan=3 | '''Flash Utility:'''
+
|-
+
  |
+
  | win32diskimager.rar
+
  | Windows utility. Under Linux users can use "dd"
+
|}
+

Latest revision as of 07:13, 4 June 2024

1 救砖办法

如何固件没有正确安装,导致开发板变砖,而且可能没有机会通过SD卡重新安装固件,这时,就需要进入Maskrom模式,通过擦除存储设备的办法救砖。

1.1 Windows用户

1.1.1 下载所需文件

  • 获取所需工具:访问这里,在 05_Tools 目录中找到 RKDevTool_v3.19_for_window.zip, DriverAssitant_v5.12.zip 下载到本地
  • 安装Rockchip USB驱动和RKDevTool: 解压 DriverAssitant_v5.12.zip 安装Rockchip USB驱动, 解压 RKDevTool_v3.19_for_window.zip 获得 Rockchip烧写工具 RKDevTool
  • 获取loader: 访问这里,进入CPU型号对应的tools目录,下载 MiniLoaderAll.bin

1.1.2 进入Maskrom模式擦除存储设备

  • 在电脑上启动 RKDevTool
  • 按住Mask按键不放, 插上电源, 保持按住Mask键, 状态灯亮起3秒后即可松开
  • 用USB C-to-A数据线, 将NanoPC-T6与电脑进行连接, 连接到NanoPC-T6的USB C接口

T6LTS-usbflash.jpg

  • 正常情况下,界面下方会显示 Found One MASKROM Device, 如下图所示:

Rkdevtool found one maskrom device.png

  • RKDevTool 界面上点击 Advanced Function 选项卡
  • Boot 编辑框中选择 MiniLoaderAll.bin,然后点击 Download 按钮
  • 选中 EMMC,点 Switch Storage,再点击 ErashAll 按钮擦除eMMC

Rkdevtool erase emmc.png

  • (可选): 如果你的NanoPC-T6上有SPI Nor Flash,选中 SPINOR, 点 Switch Storage,再点击 ErashAll 按钮擦除SPI Nor Flash

Rkdevtool erase spinorflash.png

  • 至此,NanoPC-T6恢复至初始状态,可以正常通过SD卡或eMMC引导系统了

1.2 Linux

1.2.1 下载所需文件

  • 获取所需工具:访问这里,在 05_Tools 目录中找到 upgrade_tool_v2.30_for_linux.tgz 下载到本地
  • 获取loader: 访问这里,进入CPU型号对应的tools目录,下载 MiniLoaderAll.bin

1.2.2 安装upgrade_tool工具

输入如下命令:

tar xzf upgrade_tool_v2.30_for_linux.tgz
cd upgrade_tool_v2.30_for_linux
sudo cp upgrade_tool /usr/local/sbin/
sudo chmod 755 /usr/local/sbin/upgrade_tool

1.2.3 进入Maskrom模式擦除存储设备

  • 使用USB数据线将NanoPC-T6与电脑相连接
  • 将NanoPC-T6断开电源,按住 MASK 键,连接电源,4秒后松开按键
  • 用如下命令检查连接:
upgrade_tool LD

显示类似 "DevNo=1 Vid=0x2207,Pid=0x350b,LocationID=13 Mode=Maskrom SerialNo=" 的内容表示已检测到设备。

  • 用如下命令擦除eMMC:
upgrade_tool EF MiniLoaderAll.bin
  • (可选): 如果你的NanoPC-T6上有SPI Nor Flash,用如下命令擦除SPI Nor Flash:
upgrade_tool DB MiniLoaderAll.bin
upgrade_tool SSD   #选5, SPINOR
dd if=/dev/zero of=zero.img bs=1M count=16   # 针对16M NOR FLASH
upgrade_tool WL 0 zero.img
  • 至此,NanoPC-T6恢复至初始状态,可以正常通过SD卡或eMMC引导系统了

1.3 Mac Users

我们测试发现Mac下的upgrade_tool_v2.25无法正常工作,因此建议使用Windows和Linux,除非获得了更新版本的upgrade_tool。