documenting optimized flash super

Adding documentation on the explicit pattern match we are going to add
to optimizing flash super.

Test: na
Change-Id: I57c19fb2a85d74beea5b91e38f6f46fa47637117
This commit is contained in:
Daniel Zheng 2023-08-23 13:36:41 -07:00
parent 1fff690c18
commit 2d4261ca43

View file

@ -188,6 +188,21 @@ The currently defined commands are:
erase %s Erase a given partition (can only be used in conjunction)
with if-wipe -> eg. if-wipe erase cache
Flashing Optimization:
After generating the list of tasks to execute, Fastboot will try and
optimize the flashing of the dynamic partitions by constructing an
optimized flash super task. Fastboot will explicitly pattern match the
following commands and try and concatenate it into this task. (doing so
will allow us to avoid the reboot into userspace fastbootd which takes
significant time)
//Optimizable Block
reboot fastboot
update-super ---> generate optimized flash super task
$FOR EACH {dynamic partition}
flash {dynamic partition}
## Client Variables
The "getvar:%s" command is used to read client variables which