mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-03 04:27:16 +09:00
sm6250-common: Define kernel rules
Change-Id: Iba6e0617d69a6c1ef2266dddf551613e5876aa56
This commit is contained in:
parent
27c7899680
commit
f874e702d7
@ -33,3 +33,34 @@ DEVICE_MANIFEST_FILE := $(COMMON_PATH)/manifest.xml
|
||||
# Init
|
||||
TARGET_INIT_VENDOR_LIB ?= //$(COMMON_PATH):init_xiaomi_atoll
|
||||
TARGET_RECOVERY_DEVICE_MODULES ?= init_xiaomi_atoll
|
||||
|
||||
# Kernel
|
||||
BOARD_KERNEL_BASE := 0x00000000
|
||||
BOARD_KERNEL_IMAGE_NAME := Image.gz
|
||||
BOARD_KERNEL_PAGESIZE := 4096
|
||||
BOARD_KERNEL_SEPARATED_DTBO := true
|
||||
BOARD_KERNEL_TAGS_OFFSET := 0x00000100
|
||||
BOARD_RAMDISK_OFFSET := 0x01000000
|
||||
|
||||
BOARD_BOOT_HEADER_VERSION := 2
|
||||
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
||||
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
|
||||
|
||||
TARGET_KERNEL_CLANG_COMPILE := true
|
||||
TARGET_KERNEL_CONFIG := cust_defconfig
|
||||
TARGET_KERNEL_SOURCE := kernel/xiaomi/sm6250
|
||||
|
||||
BOARD_KERNEL_CMDLINE += androidboot.console=ttyMSM0
|
||||
BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom
|
||||
BOARD_KERNEL_CMDLINE += androidboot.memcg=1
|
||||
BOARD_KERNEL_CMDLINE += androidboot.usbcontroller=a600000.dwc3
|
||||
BOARD_KERNEL_CMDLINE += cgroup.memory=nokmem,nosocket
|
||||
BOARD_KERNEL_CMDLINE += console=ttyMSM0,115200n8
|
||||
BOARD_KERNEL_CMDLINE += earlycon=msm_geni_serial,0xa88000
|
||||
BOARD_KERNEL_CMDLINE += loop.max_part=7
|
||||
BOARD_KERNEL_CMDLINE += lpm_levels.sleep_disabled=1
|
||||
BOARD_KERNEL_CMDLINE += msm_rtb.enabled=1
|
||||
BOARD_KERNEL_CMDLINE += msm_rtb.filter=0x237
|
||||
BOARD_KERNEL_CMDLINE += service_locator.enable=1
|
||||
BOARD_KERNEL_CMDLINE += swiotlb=1
|
||||
BOARD_KERNEL_CMDLINE += video=vfb:640x400,bpp=32,memsize=3072000
|
||||
|
Loading…
x
Reference in New Issue
Block a user