summaryrefslogtreecommitdiff
path: root/partition_tools/lpflash.cc
AgeCommit message (Collapse)Author
2018-08-16lpflash: Update for FlashPartitionTable changes.David Anderson
Bug: N/A Test: mmm system/extras/partition_tools Change-Id: I0803c6ce48fa19ef9564c2af866e4a081d84ea36
2018-07-12partition_tools: Use the new liblp header layout.David Anderson
Bug: 79173901 Test: N/A Change-Id: Idb5cf17843262102d3db5722a6ec32110634d40e
2018-07-10lpflash: Use the new liblp API.David Anderson
Bug: 79173901 Test: N/A Change-Id: Ica97a4547e353847e971e46447a7d14fc8d86634
2018-06-22Add standalone tools for logical partitions.David Anderson
This introduces three standalone tools: lpmake, lpdump, and lpflash. lpmake should be run on the host and will output a partition table image that can be flashed to a block device. An example invocation: lpmake --device-size 268435456 --metadata-size 131072 \ --metadata-slots 2 --output lptable.img \ --partition "cache:7837d8ea-a9cb-425f-809f-de8d9670f3c7:none:209715200" lpdump is a diagnostic tool that will print the contents of a logical partition table. It can inspect either an image file (from lpmake) or a live physical partition on a device. lpflash is a helper tool until fastboot supports logical partitions. It must be run on a device, and will write a partition table image (created by lpmake) to a block device. Bug: 79173901 Test: N/A Change-Id: Iac0863c8d42b5d6508c30b1f298fbdff07653696