diff options
| author | Tom Rini <[email protected]> | 2023-04-05 10:40:05 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-04-05 10:40:05 -0400 |
| commit | 25eeda170c5e533ca0e3837c8b2d7404cdd749d1 (patch) | |
| tree | 3ed815ab6105a6655fe25c91dace40c47336f8c6 /tools | |
| parent | 698c2bd364ce4122a0d0db82b5a8d842186b2fa4 (diff) | |
| parent | f4449397551a82f0c1d9714d648f1efb90d56962 (diff) | |
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/
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/docker/Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 801bebf1b02..9804b55ddde 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -284,3 +284,7 @@ RUN /bin/echo -e "\n[toolchain-prefix]\nxtensa = /opt/2020.07/xtensa-dc233c-elf/ RUN /bin/echo -e "\n[toolchain-alias]\nsh = sh2" >> ~/.buildman RUN /bin/echo -e "\nsandbox = x86_64" >> ~/.buildman RUN /bin/echo -e "\nx86 = i386" >> ~/.buildman; + +# Add mkbootimg tool +RUN git clone https://android.googlesource.com/platform/system/tools/mkbootimg /home/uboot/mkbootimg +ENV PYTHONPATH "${PYTHONPATH}:/home/uboot/mkbootimg" |
