sm8550-common: Enable compilation of init_boot partition

Devices launching with Android 13 or higher and shipping with
Android 13 must have an init_boot static partition. The generic
ramdisk is no longer be contained in the boot.img file that goes
in the boot partition. This generic ramdisk will be placed in a
new init_boot.img to be installed in a new init_boot partition.

Change-Id: I0434ef0cee209bb7709474c6db15b2c4fcb40a03
This commit is contained in:
Roopesh Nataraja
2022-03-02 15:02:17 -08:00
committed by chaptsand
parent 23d88f9af5
commit 37a686bf8a

View File

@@ -12,6 +12,7 @@ AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
boot \
dtbo \
init_boot \
odm \
product \
recovery \
@@ -49,6 +50,10 @@ TARGET_BOOTLOADER_BOARD_NAME := kalama
# DTB
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
# Init Boot
BOARD_INIT_BOOT_HEADER_VERSION := 4
BOARD_MKBOOTIMG_INIT_ARGS += --header_version $(BOARD_INIT_BOOT_HEADER_VERSION)
# Kernel
BOARD_BOOTCONFIG := \
androidboot.hardware=qcom \
@@ -67,6 +72,7 @@ BOARD_USES_METADATA_PARTITION := true
# Partitions
BOARD_BOOTIMAGE_PARTITION_SIZE := 100663296
BOARD_DTBOIMG_PARTITION_SIZE := 16777216
BOARD_INIT_BOOT_IMAGE_PARTITION_SIZE := 8388608
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 109051904
BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 100663296