From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Safae Ouajih <souajih@baylibre.com>, sjg@chromium.org
Cc: u-boot@lists.denx.de, sean.anderson@seco.com,
r.stratiienko@gmail.com, glaroque@baylibre.com,
khilman@baylibre.com
Subject: Re: [PATCH 00/17] Support android boot image v3/v4
Date: Mon, 28 Nov 2022 10:43:46 +0100 [thread overview]
Message-ID: <87h6yj9zxp.fsf@baylibre.com> (raw)
In-Reply-To: <20221126165931.197607-1-souajih@baylibre.com>
On Sat, Nov 26, 2022 at 17:59, Safae Ouajih <souajih@baylibre.com> wrote:
> Hello everyone,
>
> * This is based on Roman Stratiienko's work to support boot image header version 3 and 4.
>
> * This supports the new boot image headers v3, v4 and bootconfig feature.
> https://source.android.com/docs/core/architecture/bootloader/boot-image-header
> https://source.android.com/docs/core/architecture/bootloader/implementing-bootconfig
>
> - Tested on Amlogic Khadas vim3l, a reference board for Android Open Source Project
> https://www.khadas.com/vim3l
>
> And on AM625 Texas Instruments board with 5.10 linux kernel
>
> Main changes :
> - New partition : vendor boot, with a specific vendor ramdisk
> - DTB is stored in the vendor boot partition
> - The generic ramdisk is placed after the vendor ramdisk
> - Bootconfig feature support
>
>
> Here is a link to see the related android boot flow changes on KHADAS vim3l as an example:
> https://gitlab.baylibre.com/baylibre/amlogic/atv/u-boot/-/commits/souajih/BootImagev4/
Tested the whole series on Khadas vim3l board with boot header v2.
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
>
> Safae Ouajih (17):
> android: boot: rename andr_img_hdr -> andr_boot_img_hdr_v0_v1_v2
> android: boot: support vendor boot image in abootimg
> android: boot: replace android_image_check_header
> android: boot: add boot image header v3 and v4 structures
> android: boot: add documentation for boot image header v3/v4 structure
> android: boot: kcomp: support andr_image_data
> android: boot: move to andr_image_data structure
> android: boot: content print is not supported for v3,v4 header version
> android: boot: boot image header v3,v4 do not support recovery DTBO
> android: boot: add vendor boot image to prepare for v3,v4 support
> android: boot: update android_image_get_data to support v3,v4
> android: boot: ramdisk: support vendor ramdisk
> android: boot: support extra command line
> drivers: fastboot: zImage flashing is not supported for v3,v4
> android: boot: support boot image header version 3 and 4
> lib: support libxbc
> android: boot: support bootconfig
>
> boot/bootm.c | 29 ++-
> boot/image-android.c | 367 ++++++++++++++++++++++++++++++--------
> boot/image-board.c | 15 +-
> boot/image-fdt.c | 5 +-
> cmd/abootimg.c | 66 ++++---
> drivers/fastboot/fb_mmc.c | 19 +-
> include/android_image.h | 220 ++++++++++++++++++++++-
> include/image.h | 37 ++--
> include/xbc.h | 1 +
> lib/Kconfig | 12 ++
> lib/Makefile | 1 +
> lib/libxbc/Makefile | 1 +
> lib/libxbc/libxbc.c | 112 ++++++++++++
> lib/libxbc/libxbc.h | 54 ++++++
> 14 files changed, 806 insertions(+), 133 deletions(-)
> create mode 100644 include/xbc.h
> create mode 100644 lib/libxbc/Makefile
> create mode 100644 lib/libxbc/libxbc.c
> create mode 100644 lib/libxbc/libxbc.h
>
> --
> 2.25.1
next prev parent reply other threads:[~2022-11-28 9:44 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-26 16:59 [PATCH 00/17] Support android boot image v3/v4 Safae Ouajih
2022-11-26 16:59 ` [PATCH 01/17] android: boot: rename andr_img_hdr -> andr_boot_img_hdr_v0_v1_v2 Safae Ouajih
2022-11-28 16:08 ` Sean Anderson
2022-11-29 11:07 ` Safae Ouajih
2022-11-26 16:59 ` [PATCH 02/17] android: boot: support vendor boot image in abootimg Safae Ouajih
2022-11-26 16:59 ` [PATCH 03/17] android: boot: replace android_image_check_header Safae Ouajih
2022-11-26 16:59 ` [PATCH 04/17] android: boot: add boot image header v3 and v4 structures Safae Ouajih
2022-11-26 16:59 ` [PATCH 05/17] android: boot: add documentation for boot image header v3/v4 structure Safae Ouajih
2022-11-28 16:12 ` Sean Anderson
2022-11-26 16:59 ` [PATCH 06/17] android: boot: kcomp: support andr_image_data Safae Ouajih
2022-11-26 16:59 ` [PATCH 07/17] android: boot: move to andr_image_data structure Safae Ouajih
2022-11-26 16:59 ` [PATCH 08/17] android: boot: content print is not supported for v3, v4 header version Safae Ouajih
2022-11-26 16:59 ` [PATCH 09/17] android: boot: boot image header v3, v4 do not support recovery DTBO Safae Ouajih
2022-11-26 16:59 ` [PATCH 10/17] android: boot: add vendor boot image to prepare for v3, v4 support Safae Ouajih
2022-11-26 16:59 ` [PATCH 11/17] android: boot: update android_image_get_data to support v3, v4 Safae Ouajih
2022-11-26 16:59 ` [PATCH 12/17] android: boot: ramdisk: support vendor ramdisk Safae Ouajih
2022-11-26 16:59 ` [PATCH 13/17] android: boot: support extra command line Safae Ouajih
2022-11-26 16:59 ` [PATCH 14/17] drivers: fastboot: zImage flashing is not supported for v3, v4 Safae Ouajih
2022-11-26 16:59 ` [PATCH 15/17] android: boot: support boot image header version 3 and 4 Safae Ouajih
2022-11-26 16:59 ` [PATCH 16/17] lib: support libxbc Safae Ouajih
2022-11-28 16:02 ` Sean Anderson
2022-11-26 16:59 ` [PATCH 17/17] android: boot: support bootconfig Safae Ouajih
2022-11-28 9:43 ` Mattijs Korpershoek [this message]
2022-12-04 21:16 ` [PATCH 00/17] Support android boot image v3/v4 Simon Glass
2022-12-30 1:48 ` Tom Rini
2023-01-04 9:02 ` safae ouajih
2023-01-04 20:01 ` Simon Glass
2023-01-06 11:04 ` safae ouajih
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6yj9zxp.fsf@baylibre.com \
--to=mkorpershoek@baylibre.com \
--cc=glaroque@baylibre.com \
--cc=khilman@baylibre.com \
--cc=r.stratiienko@gmail.com \
--cc=sean.anderson@seco.com \
--cc=sjg@chromium.org \
--cc=souajih@baylibre.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.