config: use partition names for rkdeveloptool (MR 2165)

This commit is contained in:
Martijn Braam 2022-02-03 17:28:35 +01:00 committed by Oliver Smith
parent 100fd332df
commit 884174ce3c
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 8 additions and 2 deletions

View File

@ -899,11 +899,17 @@ flashers = {
},
},
"rkdeveloptool": {
"split": True,
"depends": ["rkdeveloptool"],
"actions": {
"list_devices": [["rkdeveloptool", "ld"]],
"list_devices": [["rkdeveloptool", "list"]],
"flash_rootfs": [
["rkdeveloptool", "wl", "0", "$IMAGE"]
["rkdeveloptool", "write-partition", "$PARTITION_SYSTEM",
"$IMAGE_SPLIT_ROOT"]
],
"flash_kernel": [
["rkdeveloptool", "write-partition", "$PARTITION_KERNEL",
"$IMAGE_SPLIT_BOOT"]
],
},
}