forked from Mirror/pmbootstrap
Add 'flasher flash_lk2nd' command (MR 2089)
Many Qualcomm devices need this second bootloader for booting a mainline kernel. Add an option to flash one if it exists.
This commit is contained in:
parent
f4990cfc7a
commit
54afa35d70
5 changed files with 38 additions and 2 deletions
|
@ -217,6 +217,14 @@ def arguments_flasher(subparser):
|
|||
help="partition to flash the kernel to (defaults"
|
||||
" to deviceinfo_flash_*_partition_kernel)")
|
||||
|
||||
# Flash lk2nd
|
||||
flash_lk2nd = sub.add_parser("flash_lk2nd",
|
||||
help="flash lk2nd, a secondary bootloader"
|
||||
" needed for various Android devices")
|
||||
flash_lk2nd.add_argument("--partition", default=None,
|
||||
help="partition to flash lk2nd to (defaults to"
|
||||
" default boot image partition ")
|
||||
|
||||
# Flash rootfs
|
||||
flash_rootfs = sub.add_parser("flash_rootfs", aliases=["flash_system"],
|
||||
help="flash the rootfs to a partition on the"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue