mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] Android image support
@ 2026-01-20 14:55 Sascha Hauer
  2026-01-20 14:55 ` [PATCH 1/2] libfile: copy_fd: add size argument Sascha Hauer
  2026-01-20 14:55 ` [PATCH 2/2] bootm: add generic android image handler Sascha Hauer
  0 siblings, 2 replies; 6+ messages in thread
From: Sascha Hauer @ 2026-01-20 14:55 UTC (permalink / raw)
  To: BAREBOX

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 <s.hauer@pengutronix.de>
---
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 <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2026-01-21  9:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-20 14:55 [PATCH 0/2] Android image support Sascha Hauer
2026-01-20 14:55 ` [PATCH 1/2] libfile: copy_fd: add size argument Sascha Hauer
2026-01-20 14:55 ` [PATCH 2/2] bootm: add generic android image handler Sascha Hauer
2026-01-20 15:04   ` Ahmad Fatoum
2026-01-21  8:09     ` Sascha Hauer
2026-01-21  9:13       ` Ahmad Fatoum

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