mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
X6833B: Add boot image(s) configuration
Signed-off-by: Woomymy <woomy@woomy.be> Change-Id: Ic22269332239db8f3bd770f678f92e9e8da20e7a Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
This commit is contained in:
parent
61dec5aeda
commit
379954f35c
|
@ -21,6 +21,26 @@ TARGET_2ND_CPU_ABI2 := armeabi
|
||||||
TARGET_2ND_CPU_VARIANT := generic
|
TARGET_2ND_CPU_VARIANT := generic
|
||||||
TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a55
|
TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a55
|
||||||
|
|
||||||
|
# Boot image
|
||||||
|
BOARD_BOOT_HEADER_VERSION := 4
|
||||||
|
BOARD_USES_GENERIC_KERNEL_IMAGE := true
|
||||||
|
BOARD_RAMDISK_USE_LZ4 := true
|
||||||
|
BOARD_KERNEL_SEPARATED_DTBO := true
|
||||||
|
BOARD_KERNEL_CMDLINE += bootopt=64S3,32N2,64N2
|
||||||
|
|
||||||
|
BOARD_KERNEL_PAGESIZE := 4096
|
||||||
|
BOARD_KERNEL_BASE := 0x3fff8000
|
||||||
|
BOARD_KERNEL_OFFSET := 0x00008000
|
||||||
|
BOARD_RAMDISK_OFFSET := 0x26f08000
|
||||||
|
BOARD_KERNEL_TAGS_OFFSET := 0x07c88000
|
||||||
|
BOARD_DTB_OFFSET := 0x07c88000
|
||||||
|
|
||||||
|
BOARD_MKBOOTIMG_ARGS += --kernel_offset $(BOARD_KERNEL_OFFSET)
|
||||||
|
BOARD_MKBOOTIMG_ARGS += --ramdisk_offset $(BOARD_RAMDISK_OFFSET)
|
||||||
|
BOARD_MKBOOTIMG_ARGS += --tags_offset $(BOARD_KERNEL_TAGS_OFFSET)
|
||||||
|
BOARD_MKBOOTIMG_ARGS += --dtb_offset $(BOARD_DTB_OFFSET)
|
||||||
|
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
||||||
|
|
||||||
# Bootloader
|
# Bootloader
|
||||||
TARGET_BOOTLOADER_BOARD_NAME := x6833b
|
TARGET_BOOTLOADER_BOARD_NAME := x6833b
|
||||||
TARGET_NO_BOOTLOADER := true
|
TARGET_NO_BOOTLOADER := true
|
||||||
|
|
Loading…
Reference in a new issue