From 133e9e7865787f8a5caaad6d5ae83f11db34d326 Mon Sep 17 00:00:00 2001 From: SGCMarkus Date: Mon, 14 Feb 2022 14:04:34 +0100 Subject: [PATCH] sm8250-common: add kernel build information --- BoardConfigCommon.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index a792d54..bfd81d8 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -39,6 +39,25 @@ TARGET_USES_64_BIT_BINDER := true TARGET_BOOTLOADER_BOARD_NAME := kona TARGET_NO_BOOTLOADER := true +# Kernel +BOARD_BOOT_HEADER_VERSION := 3 +BOARD_KERNEL_BASE := 0x00000000 +BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom +BOARD_KERNEL_CMDLINE += console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0xa90000 +BOARD_KERNEL_CMDLINE += androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 +BOARD_KERNEL_CMDLINE += video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 +BOARD_KERNEL_CMDLINE += service_locator.enable=1 androidboot.usbcontroller=a600000.dwc3 +BOARD_KERNEL_CMDLINE += swiotlb=2048 loop.max_part=7 cgroup.memory=nokmem,nosocket +BOARD_KERNEL_CMDLINE += reboot=panic_warm firmware_class.path=/vendor/firmware_mnt/image +BOARD_KERNEL_IMAGE_NAME := Image +BOARD_KERNEL_PAGESIZE := 4096 +BOARD_KERNEL_SEPARATED_DTBO := true +BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION) +TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc +TARGET_KERNEL_SOURCE := kernel/motorola/sm8250 +TARGET_KERNEL_CLANG_COMPILE := true +TARGET_KERNEL_CONFIG := vendor/kona-perf_defconfig + # Platform BOARD_USES_QCOM_HARDWARE := true TARGET_BOARD_PLATFORM := kona