![]() 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 |
||
---|---|---|
.. | ||
commands.cpp | ||
commands.h | ||
fastboot_device.cpp | ||
fastboot_device.h | ||
flashing.cpp | ||
flashing.h | ||
main.cpp | ||
usb_client.cpp | ||
usb_client.h | ||
utility.cpp | ||
utility.h | ||
variables.cpp | ||
variables.h |