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:
committed by
chaptsand
parent
23d88f9af5
commit
37a686bf8a
@@ -12,6 +12,7 @@ AB_OTA_UPDATER := true
|
|||||||
AB_OTA_PARTITIONS += \
|
AB_OTA_PARTITIONS += \
|
||||||
boot \
|
boot \
|
||||||
dtbo \
|
dtbo \
|
||||||
|
init_boot \
|
||||||
odm \
|
odm \
|
||||||
product \
|
product \
|
||||||
recovery \
|
recovery \
|
||||||
@@ -49,6 +50,10 @@ TARGET_BOOTLOADER_BOARD_NAME := kalama
|
|||||||
# DTB
|
# DTB
|
||||||
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
|
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
|
# Kernel
|
||||||
BOARD_BOOTCONFIG := \
|
BOARD_BOOTCONFIG := \
|
||||||
androidboot.hardware=qcom \
|
androidboot.hardware=qcom \
|
||||||
@@ -67,6 +72,7 @@ BOARD_USES_METADATA_PARTITION := true
|
|||||||
# Partitions
|
# Partitions
|
||||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 100663296
|
BOARD_BOOTIMAGE_PARTITION_SIZE := 100663296
|
||||||
BOARD_DTBOIMG_PARTITION_SIZE := 16777216
|
BOARD_DTBOIMG_PARTITION_SIZE := 16777216
|
||||||
|
BOARD_INIT_BOOT_IMAGE_PARTITION_SIZE := 8388608
|
||||||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 109051904
|
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 109051904
|
||||||
BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 100663296
|
BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 100663296
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user