Difference between revisions of "APITestPage"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
(239 intermediate revisions by the same user not shown)
Line 1: Line 1:
::{| class="wikitable"
+
 
|-
+
{{RockchipUnbrick|NanoPC-T4}}
| style="background: PaleTurquoise; color: black" colspan="2"| '''Lubuntu系统'''       
+
|-
+
|交叉编译器
+
|style="width: 90%;"|
+
* Uboot和内核使用 [https://github.com/friendlyarm/prebuilts.git aarch64-cortexa53-linux-gnu-6.4.tar.xz]<br>
+
* 应用软件的交叉编译:使用Ubuntu 16.04自带的32位编译器 gcc-arm-linux-gnueabihf 和 g++-arm-linux-gnueabihf,在PC上可用apt-get命令安装<br>
+
* [http://github.com/friendlyarm/friendlyelec-ubuntu16-docker Docker编译环境] <br>
+
|-
+
|rowspan="1"| U-boot-2017.11
+
|
+
* 基于RockChip原厂提供的U-boot-2014.10,保留了原厂提供的所有功能特性
+
* 支持eDP屏的自动识别
+
* 支持RockChip原厂USB烧写工具,可通过Type-C接口线刷固件
+
|-
+
|rowspan="1"| Linux-4.14
+
|
+
{{RK3399SoftwareFeature-AndroidKernelGeneral/zh}}
+
|-
+
|rowspan="1"| 文件系统
+
|
+
*基于Lubuntu-16.04 32位系统构建
+
*集成X.org驱动,支持Hardware Cursor、OpenGL图形加速等
+
*集成经过优化的Qt5.10,支持GPU和VPU加速,提供QtQuick/QtWebEngine/QtMultimedia/WebGL等Qt模块
+
*集成Arduino IDE
+
*集成命令行视频播放器 和 Qt硬解播放器
+
*支持 Gstreamer 1.0 多媒体框架
+
*支持7寸电容屏HD702,与HDMI同时连接时,可实现桌面扩展显示
+
*支持5G WiFi
+
*支持蓝牙传输文件
+
*支持USB摄像头
+
*支持NVME SSD和PCI-E转Sata
+
*支持eDP屏幕旋转
+
|-
+
|}
+

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.