From 215c2e67cbaca56ed3c3f64c396902897aab6e73 Mon Sep 17 00:00:00 2001 From: Youngwan Kim Date: Thu, 12 Jul 2018 15:38:18 +0900 Subject: [PATCH] Android-P: DTB is inlcluded in second section of bootimage Change-Id: I86839752e878254378a7b3493eacaecec3defff1 Signed-off-by: Youngwan Kim --- AndroidKernel.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AndroidKernel.mk b/AndroidKernel.mk index 3edd76c91eeb..0a13a1f4c24a 100644 --- a/AndroidKernel.mk +++ b/AndroidKernel.mk @@ -9,6 +9,9 @@ INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/kernel INSTALLED_DTBOIMAGE_TARGET := $(PRODUCT_OUT)/dtbo.img BOARD_PREBUILT_DTBOIMAGE := $(PRODUCT_OUT)/dtbo.img INSTALLED_DTB_TARGET := $(PRODUCT_OUT)/dtb.img +BOARD_MKBOOTIMG_ARGS += \ + --second $(INSTALLED_DTB_TARGET) \ + --second_offset 0 endif TARGET_KERNEL_ARCH := $(strip $(TARGET_KERNEL_ARCH)) -- 2.20.1