mirror of
https://github.com/xboot/xrock.git
synced 2024-11-23 09:53:29 +08:00
[Readme]update readme
This commit is contained in:
parent
7f0ca0c6d7
commit
04e61453b7
11
README.md
11
README.md
@ -51,7 +51,6 @@ CROSS=x86_64-w64-mingw32- make -f Makefile.win
|
||||
|
||||
For 32-bits windows, you can using `i686-w64-mingw32-` instead of `x86_64-w64-mingw32` above.
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```shell
|
||||
@ -64,7 +63,7 @@ For 32-bits windows, you can using `i686-w64-mingw32-` instead of `x86_64-w64-mi
|
||||
xrock dump <address> <length> - Dump memory region in hex format
|
||||
xrock read <address> <length> <file> - Read memory to file
|
||||
xrock write <address> <file> - Write file to memory
|
||||
xrock exec <address> [dtb] - Call function address
|
||||
xrock exec <address> [dtb] - Call function address(Recommend to use extra command)
|
||||
xrock otp <length> - Dump otp memory in hex format
|
||||
xrock sn - Read serial number
|
||||
xrock sn <string> - Write serial number
|
||||
@ -109,10 +108,16 @@ diff --git a/u-boot/cmd/rockusb.c b/u-boot/cmd/rockusb.c
|
||||
### RV1106
|
||||
|
||||
```shell
|
||||
sudo xrock maskrom rv1106_ddr_924MHz_v1.09.bin rv1106_usbplug_v1.06.bin --rc4-off
|
||||
sudo xrock maskrom rv1106_ddr_924MHz_v1.15.bin rv1106_usbplug_v1.09.bin --rc4-off
|
||||
sudo xrock version
|
||||
```
|
||||
|
||||
```shell
|
||||
sudo xrock extra maskrom --rc4 off --sram rv1103_ddr_924MHz_v1.15.bin --delay 10
|
||||
sudo xrock extra maskrom-write-arm32 --rc4 off 0x00000000 xstar.bin
|
||||
sudo xrock extra maskrom-exec-arm32 --rc4 off 0x00000000
|
||||
```
|
||||
|
||||
### RK1808
|
||||
|
||||
```shell
|
||||
|
2
main.c
2
main.c
@ -29,7 +29,7 @@ static void usage(void)
|
||||
printf(" xrock dump <address> <length> - Dump memory region in hex format\r\n");
|
||||
printf(" xrock read <address> <length> <file> - Read memory to file\r\n");
|
||||
printf(" xrock write <address> <file> - Write file to memory\r\n");
|
||||
printf(" xrock exec <address> [dtb] - Call function address\r\n");
|
||||
printf(" xrock exec <address> [dtb] - Call function address(Recommend to use extra command)\r\n");
|
||||
printf(" xrock otp <length> - Dump otp memory in hex format\r\n");
|
||||
printf(" xrock sn - Read serial number\r\n");
|
||||
printf(" xrock sn <string> - Write serial number\r\n");
|
||||
|
Loading…
Reference in New Issue
Block a user