pmb/config: add rkdeveloptool support (MR 2103)

Needed for flashing some rockchip platforms
This commit is contained in:
Martijn Braam 2021-08-31 21:58:05 +02:00 committed by Oliver Smith
parent 4675def8e6
commit 633c05acfe
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 17 additions and 1 deletions

View File

@ -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"]
],
},
}
}