Difference between revisions of "APITestPage"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
(91 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Downloads===
+
 
====Official image====
+
{{RockchipUnbrick|NanoPC-T4}}
Visit [http://download.friendlyelec.com/{{#replace:{{#replace:{{BASEPAGENAME}}| |}}|/zh|}} download link] to download official image files (in the "01_Official images" directory).<br />
+
The table below lists all official image, in the table, the word 'XYZ' in image filename meaning: <br />
+
* '''sd''': SD card image, use to create a bootable SD card
+
* '''eflasher''': SD-to-eMMC image, use to flash image from SD to eMMC
+
* '''usb''': USB upgrade image, use to flash image to eMMC via USB
+
{| class="wikitable"
+
|-
+
  ! Icon
+
  ! Image Filename
+
  ! Version
+
  ! Description
+
|-
+
  | [[File:Android-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-androidtv-YYYYMMDD.img.zip
+
  | 12
+
  | Android 12 TV
+
|-
+
  | [[File:Android-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-android12-YYYYMMDD.img.zip
+
  | 12
+
  | Android 12 Tablet
+
|-
+
  | [[File:Debian-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-debian-bullseye-core-5.10-arm64-YYYYMMDD.img.gz
+
  | bullseye
+
  | Debian 11 Core, command line only, kernel version 5.10.y
+
|-
+
  | [[File:Debian-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-debian-bullseye-minimal-5.10-arm64-YYYYMMDD.img.gz
+
  | bullseye
+
  | Debian 11 Desktop, Xfce desktop, no pre-installed recommended software, supports HW acceleration, kernel version 5.10.y
+
|-
+
  | [[File:Debian-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-debian-bullseye-desktop-5.10-arm64-YYYYMMDD.img.gz
+
  | bullseye
+
  | Debian 11 Desktop, Xfce desktop, pre-installed mpv, smplayer and chromium brower, supports HW acceleration, kernel version 5.10.y
+
|-
+
  | [[File:Ubuntu-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-ubuntu-focal-desktop-5.10-arm64-YYYYMMDD.img.gz
+
  | focal
+
  | Ubuntu 20.04 Desktop, LXQT desktop, pre-installed mpv, smplayer and chromium brower, supports HW acceleration, kernel version 5.10.y
+
|-
+
  | [[File:Ubuntu-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-ubuntu-jammy-desktop-5.10-arm64-YYYYMMDD.img.gz
+
  | jammy
+
  | Ubuntu 22.04 with GNOME and Wayland with recommended software, kernel version 5.10.y
+
|-
+
  | [[File:Ubuntu-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-ubuntu-jammy-minimal-5.10-arm64-YYYYMMDD.img.gz
+
  | jammy
+
  | Lightweight Ubuntu 22.04 with GNOME and Wayland, kernel version 5.10.y
+
|-
+
  | [[File:Ubuntu-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-ubuntu-jammy-x11-desktop-arm64-YYYYMMDD.img.gz
+
  | jammy
+
  | Ubuntu 22.04 with Xubuntu and X11, use Panfrost GPU driver, kernel version 5.10.y
+
|-
+
  | [[File:Ubuntu-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-friendlycore-focal-5.10-arm64-YYYYMMDD.img.gz
+
  | focal
+
  | FriendlyCore,command line only, pre-installed Qt5, based on Ubuntu core 20.04, kernel version 5.10.y
+
|-
+
  | [[File:Openwrt-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-friendlywrt-21.02-YYYYMMDD.img.gz
+
  | 21.02
+
  | [[How to Build FriendlyWrt|FriendlyWrt]], based on OpenWrt 21.02, kernel version 5.10.y
+
|-
+
  | [[File:Openwrt-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-friendlywrt-21.02-docker-YYYYMMDD.img.gz
+
  | 21.02
+
  | [[How to Build FriendlyWrt|FriendlyWrt]] with Docker, based on OpenWrt 21.02, kernel version 5.10.y
+
|-
+
  | [[File:Openwrt-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-friendlywrt-22.03-YYYYMMDD.img.gz
+
  | 22.03
+
  | [[How to Build FriendlyWrt|FriendlyWrt]], based on OpenWrt 22.03, kernel version 5.10.y
+
|-
+
  | [[File:Openwrt-icon.svg|frameless|40px]]
+
  | rk3588-XYZ-friendlywrt-22.03-docker-YYYYMMDD.img.gz
+
  | 22.03
+
  | [[How to Build FriendlyWrt|FriendlyWrt]] with Docker, based on OpenWrt 22.03, kernel version 5.10.y
+
|-
+
  | colspan=3 | '''Other Image'''
+
|-
+
  | [[File:Openwrt-icon.svg|frameless|40px]]
+
  | Github Actions - FriendlyWrt
+
  | 21.02,22.03
+
  | [https://github.com/friendlyarm/Actions-FriendlyWrt/releases FriendlyWrt]
+
|-
+
  | [[File:Linux-tux.svg|frameless|40px]]
+
  | rk3588-eflasher-multiple-os-YYYYMMDD-25g.img.gz
+
  | -
+
  | A collection of multiple OS, you need to connect a monitor and mouse, and select which OS you want to flash on the interface
+
|}
+
====Tools====
+
Visit [http://download.friendlyelec.com/{{#replace:{{#replace:{{BASEPAGENAME}}| |}}|/zh|}} download link] to download tools (in the "05_Tools" directory).<br />
+
{| class="wikitable"
+
|-
+
  ! Filename
+
  ! Description
+
|-
+
  | win32diskimager.rar
+
  | This program is designed to write a raw disk image to a removable device or backup a removable device to a raw image file
+
|-
+
  | SD Card Formatter
+
  | A program (application) that allows easy and quick clear the SD card
+
|-
+
  | RKDevTool_Release_v2.84.zip
+
  | Rockchip flashing tool, for USB upgrade
+
|}
+

Latest revision as of 09:23, 4 June 2024

1 Unbricking Method

If the ROM is not installed correctly, causing the development board to become bricked, and you might not have the opportunity to reinstall the ROM via an SD card, you need to enter Maskrom mode to unbrick it by erasing the storage device.

1.1 Windows Users

1.1.1 Download Required Files

  • Get the necessary tools: Visit here, find RKDevTool_v3.19_for_window.zip and DriverAssitant_v5.12.zip in the 05_Tools directory, and download them to your local machine.
  • Install Rockchip USB driver and RKDevTool: Extract DriverAssitant_v5.12.zip to install the Rockchip USB driver, and extract RKDevTool_v3.19_for_window.zip to obtain the Rockchip flashing tool RKDevTool.
  • Get the loader: Visit here, enter the tools directory corresponding to your CPU model, and download MiniLoaderAll.bin.

1.1.2 Enter Maskrom Mode to Erase the Storage Device

  • Connect NanoPC-T4 to your computer using a USB data cable.
  • Start RKDevTool on your computer.
  • Disconnect the power from NanoPC-T4, hold down the MASK button, connect the power, and release the button when you see Found One MASKROM Device displayed at the bottom of the interface, as shown below:

Rkdevtool found one maskrom device.png

  • Click the Advanced Function tab in the RKDevTool interface.
  • In the Boot text box, select MiniLoaderAll.bin, then click the Download button.
  • Select EMMC, click Switch Storage, then click the EraseAll button to erase the eMMC.

Rkdevtool erase emmc.png

  • At this point, NanoPC-T4 is restored to its initial state and can be normally booted via SD card or eMMC.

1.2 Linux/Mac Users

1.2.1 Download the Required Files

  • Get the necessary tools: Visit here and find upgrade_tool_v2.30_for_linux.tgz (or for Mac users, select upgrade_tool_v2.25_for_mac.tgz) in the 05_Tools directory and download it locally.
  • Get the loader: Visit here, enter the tools directory corresponding to your CPU model, and download MiniLoaderAll.bin.

1.2.2 Installation for upgrade_tool

The following commands are for Linux, with only slight differences in file and directory names for Mac users:

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 Enter Maskrom Mode to Erase the Storage Device

  • Connect NanoPC-T4 to the computer using a USB data cable.
  • Disconnect the power from NanoPC-T4, hold down the MASK button, connect the power, and release the button after 4 seconds.
  • Check the connection with the following command:
upgrade_tool LD

A result similar to "DevNo=1 Vid=0x2207,Pid=0x350b,LocationID=13 Mode=Maskrom SerialNo=" indicates that the device has been detected.

  • Erase the eMMC with the following command:
upgrade_tool EF MiniLoaderAll.bin
  • At this point, NanoPC-T4 has been restored to its initial state and can boot the system normally via SD card or eMMC.