Skip to content

niver2002/rkdeveloptool-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rkdeveloptool for Windows

Pre-compiled Windows build of rockchip-linux/rkdeveloptool.

Supported Devices

This tool supports all Rockchip devices including:

  • RK3576
  • RK3588/RK3588S
  • RK3568/RK3566
  • RK3399/RK3328
  • And other Rockchip SoCs

Requirements

  1. Rockchip USB Driver - Install using DriverAssistant
  2. Windows 10/11 64-bit

Installation

  1. Download the latest release from Releases
  2. Extract to any directory (e.g., C:\rkdeveloptool)
  3. Install Rockchip USB driver if not already installed

Usage

Open PowerShell or CMD in the tool directory:

# List connected devices
.\rkdeveloptool.exe ld

# Download boot loader (Maskrom mode)
.\rkdeveloptool.exe db rk3576_ddr.bin

# Write idbloader to sector 64
.\rkdeveloptool.exe wl 64 idbloader.img

# Write u-boot to sector 16384
.\rkdeveloptool.exe wl 16384 u-boot.itb

# Write trust to sector 24576 (if needed)
.\rkdeveloptool.exe wl 24576 trust.img

# Reset device
.\rkdeveloptool.exe rd

All Commands

ListDevice:         ld
DownloadBoot:       db <Loader>
UpgradeLoader:      ul <Loader>
ReadLBA:            rl <BeginSec> <SectorLen> <File>
WriteLBA:           wl <BeginSec> <File>
WriteLBA:           wlx <PartitionName> <File>
WriteGPT:           gpt <gpt partition table>
WriteParameter:     prm <parameter>
PrintPartition:     ppt
EraseFlash:         ef
TestDevice:         td
ResetDevice:        rd [subcode]
ChangeStorage:      cs [storage: 1=EMMC, 2=SD, 9=SPINOR]
ReadFlashID:        rid
ReadFlashInfo:      rfi
ReadChipInfo:       rci
ReadCapability:     rcb
PackBootLoader:     pack
UnpackBootLoader:   unpack <boot loader>
TagSPL:             tagspl <tag> <U-Boot SPL>

RK3576 Flash Example

# 1. Put device into Maskrom mode (hold MASKROM button while powering on)

# 2. Download DDR initialization
.\rkdeveloptool.exe db rk3576_ddr_lp4_2112MHz_v1.xx.bin

# 3. Write bootloader images
.\rkdeveloptool.exe wl 64 idbloader.img
.\rkdeveloptool.exe wl 16384 u-boot.itb

# 4. Write full system image (optional, for eMMC)
.\rkdeveloptool.exe wl 32768 armbian.img

# 5. Reset device
.\rkdeveloptool.exe rd

Sector Addresses for Rockchip

Component Sector Byte Offset
idbloader 64 32KB
u-boot.itb 16384 8MB
trust.img 24576 12MB
boot partition 32768 16MB

Build from Source

Built using MSYS2 UCRT64:

pacman -S mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-libusb make autoconf automake pkg-config

cd rkdeveloptool
autoreconf -i
./configure
make

License

Same as original rkdeveloptool - GPL-2.0

Credits

About

Windows build of rkdeveloptool for Rockchip devices (RK3576/RK3588 etc)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors