1. Execute the commands to reconfig the kernel
# cd kernel
# make ARCH=arm64 menuconfig
2. After reconfig, rename the file kernel\.config to rockchip_linux_defconfig
3. Copy the file kernel\rockchip_linux_defconfig to replace kernel\arch\arm64\configs\rockchip_linux_defconfig
It is recommended to back up the original rockchip_linux_defconfig before replacing.
Products
- +Single board computer
- SBC3588 Idea3588 Idea3588S EM3568 EM3568-AV CAM SBC3566 EM3566 EMT507 EM3326S SBC1108 Idea1126 EM1126 EMH6 EM-IMX8M-MINI EM-MT6737 EM-HI3559V200 EM1808 SBC3399 Idea3399 EM3399 Idea3288 EM3288 EM3188 EM3128 EMA40i EINK-IMX7 EM6ull EM4418 EM4412 Android210 MINI210S EM210 EM210-III SBC6410 Idea6410 EM2000 EM2416 EM2440 EM2440-III
- -Computer-on-Module
- CM3566 CM3588S CM3588 MINI3568 CM3568 PICO3566 MINI507 CM3326S CM1126 MINI1126 PICO-IMX8M-MINI CM-A40i CM-MT6737 MINI3399 CM3399 PICO3399 CM3288 MINI3288 CMH6 MINI3188 MINI4418 MINI4412 CM3128 CMIMX7 CM6ULL CM210-II CM210-III MINI210-III MINI6410 CM9X35 MINI287 MINI9G25 MINI2416 MINI2416-III MINI2440
* Processor: Rockchip RK3566 Quad-core Cortex-A55, 1.8 GHz
* NPU: 1 TOPS
* RAM: 1/2/4/8GB
* Storage: 8/16/32/64/128GB
* Pin out: LVDS/MIPI DSI, eDP, MIPI CSI, I2S, HDMI, 2x USB2.0 Host, USB3.0, USB2.0 OTG, 2x SDMMC, I2C, SPI, 9x UART, PWM, ADC IN
* Operating system: Android 12, Debian 11, Buildroot
* Board size: 40 x 47mm
* Package: 186-pin, 0.9mm pitch
Certificate of conformity, Test Report
REACH.pdf
ROHS.pdf
Rockchip RK3566 is a mid-range SoC launched by Rockchip in 2020. It is an upgrade version of the classic RK3288.
The CM3566 is a System-on-Module (SoM) that excels in versatility and power. It is equipped with a 1.8GHz RK3566 Quad-core 64-bit Cortex-A55 processor, a mali-G52 2EE GPU, a high-performance VPU, and 1 TOPS NPU, supporting OpenGL, Vulkan, and 4K video decoding.
This RK3566 module is a powerhouse built for efficiency. One of its standout features is its wealth of expansion interfaces. From high-capacity storage options like PCIe2.1 and SATA3.0 to versatile ports including UART, I2C, and USB 3.0. Its unique 186-pin stamp-hole interface not only makes it easy for customers to use, but also makes your product low cost and fast to market.
The CM3566 adopts a hard high-temperature resistant TG170 PCB, and the core board flatness is controlled under 0.5%.
It has obtained certifications for CE and FCC, and passed the tests including Storage test, Operation Test, Continuous operation test, Vibration test and Drop test.
The CM3566 module has gained many enterprise customers due to its strong and stable performance, and is used in various fields like Sports equipment, Makeup mirror, Smart medical care POCT, e-books, Electronic organ and DJ equipment.
The SoM has been released into mass production.
Boardcon also provides the EM3566 development board and comprehensive documentation to quickly get started with the module and evaluate the solution.
RK3566 VS RK3288 |
|||
---|---|---|---|
Processor | RK3566 | RK3288 | |
Lithography | 22nm | 28nm | |
CPU | Quad-core 64-bit Cortex-A55 @1.8GHz | Quad-core 32-bit Cortex-A17 @1.8GHz | |
GPU | ARM G52 2EE | ARM Mali-T764 | |
AI accelerator (NPU) | 1 TOPS | N/A | |
Memory | DDR3/DDR3L/DDR4 LPDDR3/LPDDR4/LPDDR4X | DDR3/DDR3L/LPDDR2 | |
Storage | NOR flash, SPI NAND, eMMC 5.1, 8K OTP | MLC NAND Flash, eMMC 4.5, SD/MMC Interface (SD 3.0, MMC ver 4.5) | |
SATA | SATA 3.0 | N/A | |
Display | Support eDP1.3, HDMI2.0, MIPI, LVDS, T-CON. | Dual-display support. Support eDP1.1, HDMI2.0, RGB, Dual LVDS, Dual MIPI | |
VPU | Video decode | 4Kp60 H.264/H.265/VP9 | 4Kp60 HEVC; 4K2K@24fps: H.264, MPEG-2, VP6/VP8, MVC; 1080p: MPEG-4, Sorenson Spark, VC-1, RV8/RV9/RV10, and AVS; 720×576: H.263 |
Video encode | 1080p60 H.264/H.265 | 1080p30: H.264, MVC, and VP8 | |
Camera I/F | 8M ISP with HDR 4-lane / 2x 2-lane MIPI CSI2 @ 2.5 Gbps per lane 16-bit DVP camera support with BT.656/601/1120 |
12-bit CCIR/Camera I/F up to 5MP MIPI CSI2 I/F up to 14MP 8/10/12-bit raw data interface |
|
Audio | 8-channel I2S/TDM, 2x 2-channel I2S 8-channel PDM S/PDIF out |
PCM/I2S S/PDIF |
|
Networking | 1x Gigabit Ethernet (GMAC) | 1x GMAC (RMII/RGMII) | |
USB | 2x USB 2.0 Host 1x USB 2.0 OTG USB 3.0 Host |
2x USB 2.0 Host 1x USB 2.0 OTG HSIC |
|
PCIe | PCIe 2.1 1x1 lane | N/A | |
Other I/Os | SDIO 3.0 10x UART, 4x SPI, 16x PWM, 6x I2C, 2x SARADC |
3x SPI, 6x I2C, 5x UART, 4x PWM, 2x DMAC, 160 GPIO |
Specifications | |
---|---|
CPU | Rockchip RK3566 Quad-core Cortex-A55, 1.8 GHz |
GPU | Mali-G52 GPU. Support OpenGL ES 1.1/2.0/3.2, OpenCL 2.0, Vulkan 1.1 |
NPU | 1 TOPS |
Memory | 1/2/4/8GB |
Storage | 8/16/32/64/128GB |
Supply Voltage | DC 3.3V |
Pin out | LVDS/MIPI DSI, eDP, MIPI CSI, 3x I2S, HDMI out, 2x USB2.0 Host, 1x USB3.0, 1x USB2.0 OTG, 2x SATA, 2x SDMMC, 4x I2C, 4x SPI, 8x UART, 1x Debug serial port, 14x PWM, 3x ADC IN |
Ethernet | 1000M GMAC. If GMAC is not needed, it can be designed to 2x UART and 2x SPI. |
PCB Layer | 8 |
Dimensions | 40 x 47mm |
Weight | 8.6 gram |
Package | 186-pin, 0.9mm pitch |
Application | TV box, AI robot, smart POS machine, e-book, face recognition terminal, business display integrated equipment |
Development Board | EM3566 |
PCB Dimension
Pin Definition
Pin | Signal | Pin | Signal | Pin | Signal | Pin | Signal |
---|---|---|---|---|---|---|---|
1 | VCC3V3_SYS | 52 | MIPI_CSI_RX_D0N | 94 | UART1_RX_M0 | 145 | SPDIF_TX_M2 |
2 | VCC3V3_SYS | 53 | MIPI_CSI_RX_D0P | 95 | UART1_TX_M0 | 146 | GPIO0_A6_d |
3 | VCC3V3_SYS | 54 | MIPI_CSI_RX_CLK0N | 96 | UART1_RTSn_M0 | 147 | GPIO0_A3_u |
4 | VCC_RTC | 55 | MIPI_CSI_RX_CLK0P | 97 | UART1_CTSn_M0 | 148 | GPIO0_A0_d |
5 | PMIC_32KOUT | 56 | GND | 98 | BT_REG_ON_H | 149 | CAMERAF_RST_L |
6 | GND | 57 | PWM5 | 99 | BT_WAKE_HOST_H | 150 | CAMERAB_RST_L |
7 | HDMITX_CEC_M0 | 58 | LCD_BL_PWM | 100 | HOST_WAKE_BT_H | 151 | CIFT_8BIT_D7 |
8 | HDMITX_SDA | 59 | PWM3_IR | 101 | WIFI_WAKE_HOST_H | 152 | CIFT_8BIT_D6 |
9 | HDMITX_SCL | 60 | PCIE20_SATA2_RXP | 102 | WIFI_REG_ON_H | 153 | CIFT_8BIT_D5 |
10 | GMAC1_RXER_M0* | 61 | PCIE20_SATA2_RXN | 103 | I2S2_SCLK_TX_M0 | 154 | CIFT_8BIT_D4 |
11 | GMAC1_MCLKINOUT_M0 | 62 | PCIE20_SATA2_TXN | 104 | I2S2_LRCK_TX_M0 | 155 | CIFT_8BIT_D3 |
12 | GND | 63 | PCIE20_SATA2_TXP | 105 | I2S2_SDO_M0 | 156 | CIFT_8BIT_D2 |
13 | GMAC1_TXD0_M0 | 64 | PCIE20_REFCLKP | 106 | I2S2_SDI_M0 | 157 | CIFT_8BIT_D1 |
14 | GMAC1_TXD1_M0 | 65 | PCIE20_REFCLKN | 107 | SDMMC1_D3 | 158 | CIFT_8BIT_D0 |
15 | GMAC1_TXEN_M0 | 66 | USB3_HOST1_SSTXP | 108 | SDMMC1_D2 | 159 | GND |
16 | GMAC1_RXDV_CRS_M0 | 67 | USB3_HOST1_SSTXN | 109 | SDMMC1_D1 | 160 | USB2_HOST2_DM |
17 | GMAC1_RXD1_M0 | 68 | USB3_HOST1_SSRXP | 110 | SDMMC1_D0 | 161 | USB2_HOST2_DP |
18 | GMAC1_RXD0_M0 | 69 | USB3_HOST1_SSRXN | 111 | SDMMC1_CMD | 162 | USB2_HOST3_DP |
19 | GMAC1_RXD3_M0 | 70 | USB_OTG0_DM | 112 | SDMMC1_CLK | 163 | USB2_HOST3_DM |
20 | GMAC1_RXD2_M0 | 71 | USB_OTG0_DP | 113 | GND | 164 | CIFT_8BIT_VSYNC |
21 | GMAC1_RXCLK_M0 | 72 | USB3_HOST1_DP | 114 | SARADC_VIN3 | 165 | CIFT_8BIT_HREF |
22 | GMAC1_TXD2_M0 | 73 | USB3_HOST1_DM | 115 | SARADC_VIN2_HP_HOOK | 166 | CIFT_8BIT_CLKIN |
23 | GMAC1_TXD3_M0 | 74 | EDP_TX_D2N | 116 | SARADC_VIN0_KEY/ RECOVERY |
167 | GND |
24 | GMAC1_TXCLK_M0 | 75 | EDP_TX_D2P | 117 | GND | 168 | CIF_CLKOUT |
25 | MIPI_DSI_TX0_D3N/ LVDS_TX0_D3N |
76 | EDP_TX_D1N | 118 | PCIE20_PERSTn_M2 | 169 | VOP_BT656_D7_M1 |
26 | MIPI_DSI_TX0_D3P/ LVDS_TX0_D3P |
77 | EDP_TX_D1P | 119 | PCIE20_WAKEn_M2 | 170 | VOP_BT656_D6_M1 |
27 | MIPI_DSI_TX0_D2N/ LVDS_TX0_D2N |
78 | EDP_TX_D0N | 120 | PCIE20_CLKREQn_M2 | 171 | VOP_BT656_D5_M1 |
28 | MIPI_DSI_TX0_D2P/ LVDS_TX0_D2P |
79 | EDP_TX_D0P | 121 | UART3_RX_M0 | 172 | VOP_BT656_D4_M1 |
29 | MIPI_DSI_TX0_D1N/ LVDS_TX0_D1N |
80 | EDP_TX_D3N | 122 | UART3_TX_M0 | 173 | VOP_BT656_D3_M1 |
30 | MIPI_DSI_TX0_D1P/ LVDS_TX0_D1P |
81 | EDP_TX_D3P | 123 | UART4_RX_M0 | 174 | VOP_BT656_D2_M1 |
31 | MIPI_DSI_TX0_D0N/ LVDS_TX0_D0N |
82 | EDP_TX_AUXN | 124 | UART4_TX_M0 | 175 | VOP_BT656_D1_M1 |
32 | MIPI_DSI_TX0_D0P/ LVDS_TX0_D0P |
83 | EDP_TX_AUXP | 125 | I2S1_LRCK_TX_M0_PMIC | 176 | VOP_BT656_D0_M1 |
33 | MIPI_DSI_TX0_CLKN/ LVDS_TX0_CLKN |
84 | SDMMC0_DET_L | 126 | I2S1_SDI0_M0/ PDM_SDI0_M0_PMIC |
177 | VOP_BT656_CLK_M1 |
34 | MIPI_DSI_TX0_CLKP/ LVDS_TX0_CLKP |
85 | SDMMC0_CLK | 127 | I2S1_SCLK_TX_M0_PMIC | 178 | GPIO4_B5_d_1V8 |
35 | HDMI_TX_HPDIN | 86 | GND | 128 | I2S1_SDO0_M0_PMIC | 179 | I2C4_SDA_M0_1V8 |
36 | HDMI_TXCLKN | 87 | SDMMC0_CMD | 129 | I2S1_MCLK_M0_PMIC | 180 | I2C4_SCL_M0_1V8 |
37 | HDMI_TXCLKP | 88 | SDMMC0_D3 | 130 | GND | 181 | GND |
38 | HDMI_TX0N | 89 | SDMMC0_D2 | 131 | SPI0_CS0_M0 | 182 | I2C1_SDA |
39 | HDMI_TX0P | 90 | SDMMC0_D1 | 132 | SPI0_MISO_M0 | 183 | I2C1_SCL |
40 | HDMI_TX1N | 91 | SDMMC0_D0 | 133 | SPI0_MOSI_M0 | 184 | GPIO0_A5_d |
41 | HDMI_TX1P | 92 | USB_OTG0_ID | 134 | SPI0_CLK_M0 | 185 | GMAC1_MDIO_M0 |
42 | HDMI_TX2N | 93 | USB_OTG0_VBUSDET | 135 | SPI3_CS0_M1 | 186 | GMAC1_MDC_M0 |
43 | HDMI_TX2P | 136 | SPI3_MISO_M1 | ||||
44 | MIPI_CSI_RX_CLK1N | 137 | SPI3_MOSI_M1 | ||||
45 | MIPI_CSI_RX_CLK1P | 138 | SPI3_CLK_M1 | ||||
46 | MIPI_CSI_RX_D3N | 139 | LCD_PWREN_H | ||||
47 | MIPI_CSI_RX_D3P | 140 | PWM0_M0 | ||||
48 | MIPI_CSI_RX_D2N | 141 | UART5_RX_M1 | ||||
49 | MIPI_CSI_RX_D2P | 142 | UART5_TX_M1 | ||||
50 | MIPI_CSI_RX_D1P | 143 | UART2DBG_RX | ||||
51 | MIPI_CSI_RX_D1N | 144 | UART2DBG_TX |
* pin10: V2 = GND, V3 = GMAC1_RXER_M0
OS | Item | Feature | Description |
---|---|---|---|
Android12 | Boot | U-Boot 2017.09-dirty | rk356x_spl_loader_v1.15.112.bin |
Kernel | Version | linux 4.19.232 | |
Drivers | HDMI | Support 4K, 1080P, 720P, 480P resolution | |
Audio | Audio in/out | ||
SD card | Micro SD card | ||
USB2.0 | 4x USB2.0 Host | ||
USB3.0 | 1x USB3.0 Host | ||
OTG | OTG2.0 | ||
Ethernet | 10/100/1000 Mbit/s Ethernet | ||
Camera | 13 Megapixels, OV13850 model | ||
WiFi | Wireless-2.4GHz 802.11 b/g/n | ||
Bluetooth | Bluetooth 4.2 | ||
Serial Port | 1x Debug serial, 2x UART | ||
SSD | Support NVME SSD (M.2) | ||
eMMC | Support eMMC 5.1 | ||
4G | EC20 LTE (mPCIe) | ||
GPS | EC20 (mPCIe) | ||
IR | IR in | ||
ADC | 2x ADC in | ||
LCD | 7-inch/10.1-inch LVDS LCD, 10.1-inch MIPI LCD | ||
Embedded GUI | Android12 | Clock, Gallery, Calculator, Camera, Files, Video, Music etc. | |
Cross-compiler Environment | ubuntu-18.04, openjdk version "11.0.4" | ||
Debug Tools | SecureCRT, AndroidTool.exe, ADB |
OS | Item | Feature | Description |
---|---|---|---|
Debian11 | Boot | U-Boot 2017.09 | MiniLoaderAll.bin |
Kernel | version | Linux version 5.10.110 | |
Drivers | HDMI OUT | Support up to 4K@50Hz | |
MIPI DSI/LVDS | 7-inch/10.1-inch LVDS LCD, 10.1-inch MIPI LCD | ||
Audio | headphone(in/out) | ||
USB3.0 | Support | ||
OTG | OTG2.0 | ||
Serial Port | Debug serial | ||
Ethernet | Gigabit Ethernet | ||
USB2.0 | Support 4x USB2.0 | ||
RS485 | Support | ||
IR | Support | ||
4G&GPS | EC20 LTE | ||
SSD | NVME SSD | ||
Camera | 13 Megapixels, OV13850 model | ||
SIM card | Nano SIM card | ||
SD | Micro SD card | ||
WiFi&Bluetooth | Support IEEE 802.11b/g/n, BT2.1+EDR/BT3.0 and BT4.2 | ||
ADC | 2x ADC in | ||
RTC | HYM8563TS | ||
Embedded GUI | Debian11 | Trash, Quick Launch Bar, Taskbar, System Tray Area | |
Cross-compiler Environment | ubuntu-20.04 | ||
Debug Tools | SecureCRT, AndroidTool.exe, ADB |
OS | Item | Feature | Description |
---|---|---|---|
Buildroot | Bootloader | Boot | u-boot 2017.09 |
Boot mode | Boot from eMMC | ||
Download | Download via USB OTG,TF Card, Udisk | ||
Kernel | Version | Linux 5.10.110 | |
File system format | Default support ext2, ext3, ext4, fat, jeffs2, UBIFS, nfs, etc. Boardcon only provides ext4, R/W file system. | ||
LED | Support | ||
Serial | 1x Debug, 2x UART | ||
RTC | Support | ||
Ethernet | 10/100/1000M Ethernet Support | ||
RS485 | Support | ||
WIFI | 2.4G WiFi | ||
Bluetooth | Bluetooth4.2 | ||
USB Host | USB2.0, USB3.0 | ||
USB OTG | USB2.0 OTG | ||
LCD | 7-inch/10.1-inch LVDS LCD, 10.1-inch MIPI LCD | ||
HDMI | Support 4KP60 H.265/H.264/VP9 video decoder | ||
Audio I/O | Support | ||
eMMC | Support | ||
MMC/SD | Support | ||
GPIO | Support | ||
4G&GPS | Support | ||
SSD | NVMe SSD | ||
Camera | 13 Megapixels, OV13850 model | ||
ADC | 2x ADC in | ||
Button | power(sleep/wake_up/reset), recovery/volum_up, reset | ||
Embedded GUI | Buildroot | 2018.02-rc3 | |
File system | TCP/IP | TCP/IP protocol | |
Network ping | Check the network | ||
Ifconfig, route | For network configuration and related service application | ||
Basic tool | linux common commands | cat, chmod, echo, free, init, kill, ls, mkdir, mount, ps, reboot, rm, yes, insmod, lsmod, rmmod, dd, df, aplay | |
Tools | CRT, AndroidTool |
Datasheet |
Rockchip RK3566 Datasheet V1.2.pdf (3.35MB) |
Realtek RTL8211F-CG.pdf (1.86MB) |
Reference Manual |
CM3566 Hardware Manual V3.pdf (1.93MB) |
Tools |
SecureCRT (6.94MKB) |
DriverAssitant v5.11 (9.35MB) |
Certification |
Certificate of conformity (271KB) |
Test Report (3.83MB) |
REACH (1.23MB) |
RoHS (1.27MB) |
If you order the CM3566 SoM or any question, please feel free to contact us at market@armdesigner.com
eg. Switch HDMI to MIPI LCD (Debian11)
Config files path: k356x_linux5.10\kernel\arch\arm64\boot\dts\rockchip\
1. open the file rk3566-evb2-lp4x-v10-linux.dts with an editor. Comment HDMI, uncomment MIPI and save:
//#include "rk3566-evb2-lp4x-v10_hdmi.dtsi"
#include "rk3566-evb2-lp4x-v10_mipi.dtsi"
2. recompile kernel
3. reflash kernel to the board.
I downloaded the source code,when I try to compile, I got this error:
@ubuntu:~/rk356x_linux5.10$ ./build.sh kernel
processing option: kernel
============Start building kernel============
TARGET_ARCH =arm64 TARGET_KERNEL_CONFIG =rockchip_linux_defconfig TARGET_KERNEL_DTS =rk3566-evb2-lp4x-v10-linux TARGET_KERNEL_CONFIG_FRAGMENT =
==========================================
# # No change to .config # CALL scripts/atomic/check-atomics.sh CALL scripts/checksyscalls.sh CHK include/generated/compile.h LZ4C arch/arm64/boot/Image.lz4
Incorrect parameters Usage : lz4 [arg] [input] [output] input : a filename with no FILE, or when FILE is - or stdin, read standard input
Arguments :
-1 : Fast compression (default) -9 : High compression -d : decompression (default for .lz4 extension) -z : force compression -f : overwrite output without prompting -h/-H : display help/long help and exit arch/arm64/boot/Makefile:31: recipe for target 'arch/arm64/boot/Image.lz4' failed make[2]: *** [arch/arm64/boot/Image.lz4] Error 1 make[2]: *** Deleting file 'arch/arm64/boot/Image.lz4' arch/arm64/Makefile:170: recipe for target 'Image.lz4' failed make[1]: *** [Image.lz4] Error 2 make[1]: *** Waiting for unfinished jobs.... arch/arm64/Makefile:214: recipe for target 'rk3566-evb2-lp4x-v10-linux.img' failed make: *** [rk3566-evb2-lp4x-v10-linux.img] Error 2 ERROR: Running build_kernel failed! ERROR: exit code 2 from line 663: make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS
Cause: The version of lz4 delivered with the compilation system is too early.
Solution: update to V1.8.3 or later.
lz4 -v //check the compiler lz4 version
sudo cp out/host/linux-x86/bin/lz4 /usr/bin/lz //copy lz4 from the Android source directory to override the compiler's
Camera does not work properly on board with more than 4GB of memory. After the memory is upgraded from 4GB to 8GB, open the camera APP, the terminal will output:
[ 100.488782] rga_mm: RGA_MMU unsupported Memory larger than 4G! [ 100.488814] rga_mm: scheduler core[4] unsupported mm_flag[0x0]! [ 100.488821] rga_mm: rga_mm_map_buffer map dma_buf error! [ 100.488826] rga_mm: job buffer map failed! [ 100.488831] rga_mm: dst channel map job buffer failed! [ 100.488834] rga_mm: failed to map buffer [ 100.488842] rga_job: rga_job_commit: failed to map job info [ 100.488896] rga_job: request[1] task[0] job_commit failed. [ 100.488909] rga_job: rga request commit failed! [ 100.488915] rga: request[1] submit failed!
Solution: Modify the source code according to the file ddr_than-4G.patch and compile it again.
upgrade_tool is a firmware upgrade tool for Linux. Flash image requires superuser privileges.
1. Download and execute upgrade_tool first.
2. Put the firmware files and upgrade_tool in the same directory.
3. Connect the USB OTG port from the board to your PC, press the recovery button from your board, and connect the power, wait a few seconds and release the button.
4. Use the commands to flash image.
Basic Commands
//List devices upgrade_tool ld //Download boot upgrade_tool db rkxxloader.bin //Flash the partition table upgrade_tool di -p parameter.txt //Flash single partition image upgrade_tool di -k kernel.img //Falsh multiple partition images upgrade_tool di -u uboot.img -b boot.img //Flash the partition image with no defined abbreviation, you need to specify the partition name. //Take the vendor partition as an example upgrade_tool di -vendor vendor.img //When ab partition are used, it also needs to be handled in undefined cases. //Take boot_a and boot_b as example upgrade_tool di -boot_a boot.img -boot_b boot.img //Flash loader and reset upgrade_tool ul rkxxloader.bin //Upgrade firmware and reset upgrade_tool uf update.img //Erase device upgrade_tool ef rkxxloader.bin