Skip to content

Commit

Permalink
[xrock]add rk3588 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jianjunjiang committed Mar 3, 2022
1 parent 2fa270c commit a9f12dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions 99-xrock.rules
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ ATTRS{idVendor}=="2207", ATTRS{idProduct}=="330c", MODE="0666", GROUP="users" TE
ATTRS{idVendor}=="2207", ATTRS{idProduct}=="330d", MODE="0666", GROUP="users" TEST=="power/autosuspend", ATTR{power/autosuspend}="-1"
ATTRS{idVendor}=="2207", ATTRS{idProduct}=="330e", MODE="0666", GROUP="users" TEST=="power/autosuspend", ATTR{power/autosuspend}="-1"
ATTRS{idVendor}=="2207", ATTRS{idProduct}=="350a", MODE="0666", GROUP="users" TEST=="power/autosuspend", ATTR{power/autosuspend}="-1"
ATTRS{idVendor}=="2207", ATTRS{idProduct}=="350b", MODE="0666", GROUP="users" TEST=="power/autosuspend", ATTR{power/autosuspend}="-1"

LABEL="end_rules"
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,13 @@ sudo xrock maskrom rk3568_ddr_1560MHz_v1.11.bin rk356x_usbplug_v1.13.bin --rc4-o
sudo xrock version
```

### RK3588

```shell
sudo xrock maskrom rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.05.bin rk3588_usbplug_v1.07.bin --rc4-off
sudo xrock version
```

## Links

* [The rockchip loader binaries](https://github.com/rockchip-linux/rkbin)
Expand Down
1 change: 1 addition & 0 deletions rock.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ static struct chip_t chips[] = {
{ 0x330d, "PX30" },
{ 0x330e, "RK3308" },
{ 0x350a, "RK3568" },
{ 0x350b, "RK3588" },
};

int xrock_init(struct xrock_ctx_t * ctx)
Expand Down

0 comments on commit a9f12dc

Please sign in to comment.