Skip to content

Android partition load optimization

Roman Stratiienko u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3abootcmd: Add load subcommandcmd/abootimg.c+83 -11 reply
2/3avb: Implement get_preloaded_partition callbackcommon/avb_verify.c+53 -02 replies
3/3abootimg: Implement smart image load featureboot/image-android.c cmd/abootimg.c include/image.h+118 -42 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMattijs Korpershoek
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Android partition load optimization

This series offers an optimization of the Android image loading procedure.

The first patch introduces a new 'abootimg load' command, which loads partitions from storage into memory. It uses malloc() to find a free memory region, whereas previously, the developer had to find a free memory region by himself.

The remaining patches reduce boot time by avoiding extra disk activity.

The second patch implements get_preloaded_partition(), which picks a partition from memory previously loaded by the 'abootimg load' command.

The third patch optimizes the 'abootimg load' command by skipping zeros loading at the partition's end.

Roman Stratiienko (3):
abootcmd: Add load subcommand
avb: Implement get_preloaded_partition callback
abootimg: Implement smart image load feature

 boot/image-android.c |  70 ++++++++++++++++++++++++++
 cmd/abootimg.c       | 116 ++++++++++++++++++++++++++++++++++++++++++-
 common/avb_verify.c  |  53 ++++++++++++++++++++
 include/image.h      |  12 +++++
 4 files changed, 250 insertions(+), 1 deletion(-)
Signature · 1 line
2.40.1