HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

rkdeveloptool — Flash, dump, and manage boot firmware for Rockchip-based computer devices. You will need to turn on

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandandbootcliflashrkdeveloptoolmanagedump

Problem

How to use the rkdeveloptool command: Flash, dump, and manage boot firmware for Rockchip-based computer devices. You will need to turn on the device into Maskrom/Bootrom mode before connecting it through USB. Some subcommands may require to run as root. More information: <https://github.com/rockchip-linux/rkdeveloptool>.

Solution

rkdeveloptool — Flash, dump, and manage boot firmware for Rockchip-based computer devices. You will need to turn on the device into Maskrom/Bootrom mode before connecting it through USB. Some subcommands may require to run as root. More information: <https://github.com/rockchip-linux/rkdeveloptool>.

[l]ist all connected Rockchip-based flash [d]evices:
rkdeveloptool ld


Initialize the device by forcing it to [d]ownload and install the [b]ootloader from the specified file:
rkdeveloptool db {{path/to/bootloader.bin}}


[u]pdate the boot[l]oader software with a new one:
rkdeveloptool ul {{path/to/bootloader.bin}}


Write an image to a GPT-formatted flash partition, specifying the initial storage sector (usually 0x0 alias 0):
rkdeveloptool wl {{initial_sector}} {{path/to/image.img}}


Write to the flash partition by its user-friendly name:
rkdeveloptool wlx {{partition_name}} {{path/to/image.img}}


[r]eset/reboot the [d]evice, exit from the Maskrom/Bootrom mode to boot into the selected flash partition:
rkdeveloptool rd

Code Snippets

[l]ist all connected Rockchip-based flash [d]evices

rkdeveloptool ld

Initialize the device by forcing it to [d]ownload and install the [b]ootloader from the specified file

rkdeveloptool db {{path/to/bootloader.bin}}

[u]pdate the boot[l]oader software with a new one

rkdeveloptool ul {{path/to/bootloader.bin}}

Write an image to a GPT-formatted flash partition, specifying the initial storage sector (usually `0x0` alias `0`)

rkdeveloptool wl {{initial_sector}} {{path/to/image.img}}

Write to the flash partition by its user-friendly name

rkdeveloptool wlx {{partition_name}} {{path/to/image.img}}

Context

tldr-pages: common/rkdeveloptool

Revisions (0)

No revisions yet.