Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ebdf79b authored by Daniel Zheng's avatar Daniel Zheng Committed by Automerger Merge Worker
Browse files

Merge "documenting optimized flash super" into main am: a3b232c3 am:...

Merge "documenting optimized flash super" into main am: a3b232c3 am: b5bb46cd am: 11481b3c am: d28f20f7 am: 5b5ce956

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2725774



Change-Id: Ic5e2dd698fb03f5c970293d3bf1d92ca411cf946
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents d8851e7f 5b5ce956
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -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