Commit graph

5 commits

Author SHA1 Message Date
Andreas Schneider
b532825214 dtbo: Sort the files we found
Change-Id: Iece383362d00d600c5861914b9f2600020229d80
2020-02-27 16:13:50 +01:00
Kshitij Gupta
3795628673 tasks: dtbo: Add support for custom dtbo generation rules
Change-Id: I27fdade5eb177a06795fee7cc19066ec161642d9
2020-02-22 07:55:25 +01:00
Rashed Abdel-Tawab
6f3ded864f kernel: Don't re-define dtbo.img names
These are already set in BoardConfig, no need to set them again

Change-Id: I30eb44f748d0f427145beb5d6cd53ece14281abd
2019-10-05 05:31:58 +02:00
Rashed Abdel-Tawab
60fe93525a lineage: Rework DTBO image generation
Currently we handle the DTBO images from start to finish, including
AVB footers, and just drop them in $(PRODUCT_OUT)/dtbo.img when done.
While this works for the most part, we are limited in what we can do
with the DTBO images. For example non-A/B device recovery images must
have a copy of the DTBO image appended to recovery (see AOSP docs:
https://source.android.com/devices/bootloader/recovery-image ). This
means that we need to pass the pre-AVB dtbo image into
BOARD_PREBUILT_DTBOIMAGE in order to let the AOSP build system handle it.

This commit reworks the way the DTBO images are built, placing them at
$(PRODUCT_OUT)/dtbo-pre.img instead and setting BOARD_PREBUILT_DTBOIMAGE
to that path so the AOSP build system can pick the images up and sign
them and append to recovery (for applicable devices).

Change-Id: I8819d7cd92ba298de67dbc7f6b321917ba8524f1
2019-06-06 07:17:27 +02:00
Luca Stefani
d934700c0d build: Add dtbo task
Change-Id: I1101cb204ab583a204447d63e6a031a17179dfe7
(cherry picked from commit 8bffb053db418022c7cba5d67234412edd675862)
2018-09-02 13:08:16 +02:00