The low level tools for rockchip SOC with maskrom and loader mode support.
Go to file
2021-08-03 21:08:27 +08:00
.gitignore [xrock]first commit 2021-08-03 16:34:01 +08:00
99-xrock.rules [xrock]first commit 2021-08-03 16:34:01 +08:00
crc16.c [xrock]first commit 2021-08-03 16:34:01 +08:00
crc16.h [xrock]first commit 2021-08-03 16:34:01 +08:00
LICENSE [xrock]first commit 2021-08-03 16:34:01 +08:00
main.c [xrock]add some command support 2021-08-03 21:07:31 +08:00
Makefile [xrock]add reset command 2021-08-03 18:34:22 +08:00
progress.c [xrock]first commit 2021-08-03 16:34:01 +08:00
progress.h [xrock]first commit 2021-08-03 16:34:01 +08:00
rc4.c [xrock]first commit 2021-08-03 16:34:01 +08:00
rc4.h [xrock]first commit 2021-08-03 16:34:01 +08:00
README.md [xrock]add some command support 2021-08-03 21:07:31 +08:00
rock.c [xrock]remove USB_BUCK_TIMEOUT 2021-08-03 21:08:27 +08:00
rock.h [xrock]add some command support 2021-08-03 21:07:31 +08:00
x.h [xrock]first commit 2021-08-03 16:34:01 +08:00


XROCK

The rockusb tools for rockchip SOC, support maskrom and loader mode for all chips.

How to build

The xrock tools depends on the libusb-1.0 library, you need to install libusb-1.0-0-dev before compile, for example in ubuntu:

sudo apt install libusb-1.0-0-dev

Then just type make at the root directory, you will see a binary program.

cd xrock
make
sudo make install

Usage

xrock(v1.0.0) - https://github.com/xboot/xrock
usage:
    xrock maskrom <ddr> <usbplug>        - Initial chip using ddr and usbplug in maskrom mode
    xrock reset [maskrom]                - Reset device to normal or maskrom mode
    xrock hexdump <address> <length>     - Dumps memory region in hex
    xrock dump <address> <length>        - Binary memory dump to stdout
    xrock exec <address>                 - Call function address
    xrock read <address> <length> <file> - Read memory to file
    xrock write <address> <file>         - Write file to memory

License

This library is free software; you can redistribute it and or modify it under the terms of the MIT license. See MIT License for details.