diff --git a/pmb/config/__init__.py b/pmb/config/__init__.py index 62b8c03b..73991006 100644 --- a/pmb/config/__init__.py +++ b/pmb/config/__init__.py @@ -658,7 +658,14 @@ install_user_groups = ["wheel", "video", "audio", "input", "plugdev", "netdev"] # FLASH # -flash_methods = ["fastboot", "heimdall", "0xffff", "uuu", "none"] +flash_methods = [ + "fastboot", + "heimdall", + "0xffff", + "uuu", + "rkdeveloptool", + "none" +] # These folders will be mounted at the same location into the native # chroot, before the flash programs get started. @@ -785,6 +792,15 @@ flashers = { ["uuu", "flash_script.lst"], ], }, + }, + "rkdeveloptool": { + "depends": ["rkdeveloptool"], + "actions": { + "list_devices": [["rkdeveloptool", "ld"]], + "flash_rootfs": [ + ["rkdeveloptool", "wl", "0", "$IMAGE"] + ], + }, } }