From: Tom Rini <trini@konsulko.com>
Date: Wed, 5 Apr 2023 14:40:05 +0000 (-0400)
Subject: Merge branch '2023-04-04-android-image-v3-v4-support'
X-Git-Tag: v2025.01-rc5-pxa1908~1055
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/html/%7B%7B%20%24image.RelPermalink%20%7D%7D?a=commitdiff_plain;h=25eeda170c5e533ca0e3837c8b2d7404cdd749d1;p=u-boot.git

Merge branch '2023-04-04-android-image-v3-v4-support'

To quote the author:
* 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/
---

25eeda170c5e533ca0e3837c8b2d7404cdd749d1