summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-08-15 16:27:42 -0700
committerDavid Anderson <dvander@google.com>2018-08-22 15:05:03 -0700
commit38b3c7a122154e270d4c4adb69822783bc47c181 (patch)
tree75ab581fede96a85275a7090067fc03bb9ebbab3 /trusty/coverage/coverage.cpp
parent895c13fe223646ba4e5d268c76986ef6b1a27af8 (diff)
fastbootd: Add an update-super command to sync the super partition.
This change introduces an "update-super" command to the fastboot protocol. Unlike the "flash" command, which copies raw or sparse data to a partition, the "update-super" command requires the data to be a super image generated by lpmake. If the super partition is not yet formatted (or is corrupt), then it will be formatted using the given image. Otherwise, "update-super" will preserve the existing partition layout, and only ensure that logical partition entries exist for all the new partitions in the given image. All new partitions added this way will have a zero size, and it is the host's responsibility to size them as needed afterwards with the "resize-logical-partition" command. In addition, the "update-super" command supports a "wipe" argument, which will force the super partition to be reformatted with the given image, overwriting any existing partition tables. Bug: 78793464 Test: fastboot flashall with a super partition Change-Id: If37d839a03e396e11b6c08a9c32984106613d1dc
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions