U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Android partition load optimization
@ 2024-05-19 19:18 Roman Stratiienko
  2024-05-19 19:18 ` [PATCH 1/3] abootcmd: Add load subcommand Roman Stratiienko
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Roman Stratiienko @ 2024-05-19 19:18 UTC (permalink / raw)
  To: r.stratiienko, mkorpershoek, igor.opaniuk, dsimic, sjg,
	ilias.apalodimas, xypron.glpk, eajames, marek.vasut+renesas,
	paulerwan.rio, u-boot

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(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-06-10 16:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-19 19:18 [PATCH 0/3] Android partition load optimization Roman Stratiienko
2024-05-19 19:18 ` [PATCH 1/3] abootcmd: Add load subcommand Roman Stratiienko
2024-05-28  7:22   ` Mattijs Korpershoek
2024-05-19 19:18 ` [PATCH 2/3] avb: Implement get_preloaded_partition callback Roman Stratiienko
2024-05-28  7:32   ` Mattijs Korpershoek
2024-06-10 16:22   ` Igor Opaniuk
2024-05-19 19:18 ` [PATCH 3/3] abootimg: Implement smart image load feature Roman Stratiienko
2024-05-28  7:49   ` Mattijs Korpershoek
2024-06-10 16:08   ` Igor Opaniuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox