mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 17:18:49 +00:00
sm6375-common: Add kernel flags
Change-Id: I8ca24b4bfb172ae6eafb5d524471ab56c9d2a314
This commit is contained in:
@@ -25,5 +25,36 @@ TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a75
|
||||
TARGET_BOOTLOADER_BOARD_NAME := holi
|
||||
TARGET_NO_BOOTLOADER := true
|
||||
|
||||
# Kernel
|
||||
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
|
||||
BOARD_KERNEL_BASE := 0x00000000
|
||||
BOARD_KERNEL_IMAGE_NAME := Image
|
||||
BOARD_KERNEL_PAGESIZE := 4096
|
||||
BOARD_KERNEL_SEPARATED_DTBO := true
|
||||
KERNEL_LD := LD=ld.lld
|
||||
|
||||
BOARD_BOOT_HEADER_VERSION := 3
|
||||
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
||||
|
||||
TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc LLVM=1
|
||||
TARGET_KERNEL_CLANG_COMPILE := true
|
||||
TARGET_KERNEL_SOURCE := kernel/xiaomi/sm6375
|
||||
|
||||
BOARD_KERNEL_CMDLINE += androidboot.console=ttyMSM0
|
||||
BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom
|
||||
BOARD_KERNEL_CMDLINE += androidboot.memcg=1
|
||||
BOARD_KERNEL_CMDLINE += androidboot.usbcontroller=4e00000.dwc3
|
||||
BOARD_KERNEL_CMDLINE += cgroup.memory=nokmem,nosocket
|
||||
BOARD_KERNEL_CMDLINE += console=ttyMSM0,115200n8
|
||||
BOARD_KERNEL_CMDLINE += earlycon=msm_geni_serial,0x04C8C000
|
||||
BOARD_KERNEL_CMDLINE += loop.max_part=7
|
||||
BOARD_KERNEL_CMDLINE += msm_rtb.filter=0x237
|
||||
BOARD_KERNEL_CMDLINE += service_locator.enable=1
|
||||
BOARD_KERNEL_CMDLINE += swiotlb=0
|
||||
BOARD_KERNEL_CMDLINE += pcie_ports=compat
|
||||
BOARD_KERNEL_CMDLINE += iptable_raw.raw_before_defrag=1
|
||||
BOARD_KERNEL_CMDLINE += ip6table_raw.raw_before_defrag=1
|
||||
BOARD_KERNEL_CMDLINE += video=vfb:640x400,bpp=32,memsize=3072000
|
||||
|
||||
# Inherit the proprietary files
|
||||
include vendor/xiaomi/sm6375-common/BoardConfigVendor.mk
|
||||
|
||||
Reference in New Issue
Block a user