sm8250-common: Include dtbo in recovery image
* This allows us to drop dependency on dtbo partition being in sync with recovery. * Test: fastboot erase dtbo && fastboot boot recovery.img
This commit is contained in:
parent
6166b6eef8
commit
67c9e2ad71
1 changed files with 4 additions and 0 deletions
|
@ -42,11 +42,13 @@ TARGET_BOOTLOADER_BOARD_NAME := kona
|
||||||
TARGET_NO_BOOTLOADER := true
|
TARGET_NO_BOOTLOADER := true
|
||||||
|
|
||||||
# Kernel
|
# Kernel
|
||||||
|
BOARD_BOOT_HEADER_VERSION := 2
|
||||||
BOARD_KERNEL_BASE := 0x80000000
|
BOARD_KERNEL_BASE := 0x80000000
|
||||||
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 androidboot.usbcontroller=a600000.dwc3 swiotlb=2048 loop.max_part=7 cgroup.memory=nokmem,nosocket reboot=panic_warm
|
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 androidboot.usbcontroller=a600000.dwc3 swiotlb=2048 loop.max_part=7 cgroup.memory=nokmem,nosocket reboot=panic_warm
|
||||||
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
|
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
|
||||||
BOARD_KERNEL_PAGESIZE := 4096
|
BOARD_KERNEL_PAGESIZE := 4096
|
||||||
BOARD_KERNEL_SEPARATED_DTBO := true
|
BOARD_KERNEL_SEPARATED_DTBO := true
|
||||||
|
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
||||||
NEED_KERNEL_MODULE_SYSTEM := true
|
NEED_KERNEL_MODULE_SYSTEM := true
|
||||||
TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc
|
TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc
|
||||||
TARGET_KERNEL_ARCH := arm64
|
TARGET_KERNEL_ARCH := arm64
|
||||||
|
@ -128,6 +130,8 @@ TARGET_COPY_OUT_PRODUCT := product
|
||||||
TARGET_COPY_OUT_VENDOR := vendor
|
TARGET_COPY_OUT_VENDOR := vendor
|
||||||
|
|
||||||
# Recovery
|
# Recovery
|
||||||
|
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
|
||||||
|
BOARD_INCLUDE_RECOVERY_DTBO := true
|
||||||
TARGET_RECOVERY_FSTAB := $(COMMON_PATH)/rootdir/etc/fstab.qcom
|
TARGET_RECOVERY_FSTAB := $(COMMON_PATH)/rootdir/etc/fstab.qcom
|
||||||
TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888"
|
TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888"
|
||||||
TARGET_USERIMAGES_USE_EXT4 := true
|
TARGET_USERIMAGES_USE_EXT4 := true
|
||||||
|
|
Loading…
Reference in a new issue