pmb/config: add rkdeveloptool support (MR 2103)
Needed for flashing some rockchip platforms
This commit is contained in:
parent
8bc5366e60
commit
ea70d3205e
|
@ -659,7 +659,14 @@ install_user_groups = ["wheel", "video", "audio", "input", "plugdev", "netdev"]
|
||||||
# FLASH
|
# FLASH
|
||||||
#
|
#
|
||||||
|
|
||||||
flash_methods = ["fastboot", "heimdall", "0xffff", "uuu", "none"]
|
flash_methods = [
|
||||||
|
"0xffff",
|
||||||
|
"fastboot",
|
||||||
|
"heimdall",
|
||||||
|
"none"
|
||||||
|
"rkdeveloptool",
|
||||||
|
"uuu",
|
||||||
|
]
|
||||||
|
|
||||||
# These folders will be mounted at the same location into the native
|
# These folders will be mounted at the same location into the native
|
||||||
# chroot, before the flash programs get started.
|
# chroot, before the flash programs get started.
|
||||||
|
@ -786,6 +793,15 @@ flashers = {
|
||||||
["uuu", "flash_script.lst"],
|
["uuu", "flash_script.lst"],
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
"rkdeveloptool": {
|
||||||
|
"depends": ["rkdeveloptool"],
|
||||||
|
"actions": {
|
||||||
|
"list_devices": [["rkdeveloptool", "ld"]],
|
||||||
|
"flash_rootfs": [
|
||||||
|
["rkdeveloptool", "wl", "0", "$IMAGE"]
|
||||||
|
],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue