Android images are particularly useful with fastboot. The fastboot host
tool encapsulates boot images in its own rudimentary image format which
we can't boot directly. This series replaces the existing ARM32/zImage
only Android image handler with a generic handler which only passes the
extracted Kernel/initrd image on to bootm.

Sascha

Signed-off-by: Sascha Hauer <[email protected]>
---
Sascha Hauer (2):
      libfile: copy_fd: add size argument
      bootm: add generic android image handler

 arch/arm/lib32/bootm.c       | 174 -------------------------------------------
 common/Makefile              |   1 +
 common/bootm-android-image.c | 154 ++++++++++++++++++++++++++++++++++++++
 common/firmware.c            |   2 +-
 include/libfile.h            |   2 +-
 lib/libfile.c                |  37 ++++++++-
 6 files changed, 190 insertions(+), 180 deletions(-)
---
base-commit: 0024921364eb4c8bc8089fdc198440b0d67a239f
change-id: 20260120-android-image-dca2d5bc8e40

Best regards,
-- 
Sascha Hauer <[email protected]>


Reply via email to