diff --git a/pmb/config/__init__.py b/pmb/config/__init__.py index 2a2fce5c..d7816e55 100644 --- a/pmb/config/__init__.py +++ b/pmb/config/__init__.py @@ -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"] ], }, }