Skip to content

Commit

Permalink
sweet: update kernel
Browse files Browse the repository at this point in the history
* kernel source https://github.com/itsshashanksp/kernel_xiaomi_sm6150 "perf" "20249b"

Signed-off-by: Shashank Patil <[email protected]>
  • Loading branch information
itsshashanksp committed Sep 16, 2023
1 parent 780f7ad commit 9a5316e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,19 @@ QCOM_BOARD_PLATFORMS += sm6150

# Kernel
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 swiotlb=1 androidboot.usbcontroller=a600000.dwc3 androidboot.selinux=permissive
BOARD_KERNEL_IMAGE_NAME := Image.gz
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
BOARD_KERNEL_PAGESIZE := 4096
BOARD_BOOT_HEADER_VERSION := 2
BOARD_BOOT_HEADER_VERSION := 1
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_TAGS_OFFSET := 0x00000100
BOARD_KERNEL_OFFSET := 0x00008000
BOARD_KERNEL_SECOND_OFFSET := 0x00000000
BOARD_RAMDISK_OFFSET := 0x01000000
BOARD_DTB_OFFSET := 0x01f00000
TARGET_KERNEL_ARCH := arm64
TARGET_PREBUILT_KERNEL := $(DEVICE_PATH)/prebuilt/kernel
BOARD_PREBUILT_DTBOIMAGE := $(DEVICE_PATH)/prebuilt/dtbo
TARGET_PREBUILT_KERNEL := $(DEVICE_PATH)/prebuilt/Image.gz-dtb
BOARD_PREBUILT_DTBOIMAGE := $(DEVICE_PATH)/prebuilt/dtbo.img
BOARD_INCLUDE_RECOVERY_DTBO := true
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
BOARD_MKBOOTIMG_ARGS += --base $(BOARD_KERNEL_BASE)
BOARD_MKBOOTIMG_ARGS += --pagesize $(BOARD_KERNEL_PAGESIZE)
BOARD_MKBOOTIMG_ARGS += --ramdisk_offset $(BOARD_RAMDISK_OFFSET)
Expand All @@ -77,7 +76,6 @@ BOARD_MKBOOTIMG_ARGS += --kernel_offset $(BOARD_KERNEL_OFFSET)
BOARD_MKBOOTIMG_ARGS += --second_offset $(BOARD_KERNEL_SECOND_OFFSET)
BOARD_MKBOOTIMG_ARGS += --dtb_offset $(BOARD_DTB_OFFSET)
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
BOARD_PREBUILT_DTBIMAGE_DIR := $(DEVICE_PATH)/prebuilt/dtb

# Assert
TARGET_OTA_ASSERT_DEVICE := sweet,sweetin
Expand Down
Binary file renamed prebuilt/kernel → prebuilt/Image.gz-dtb
Binary file not shown.
Binary file removed prebuilt/dtb/sweet.dtb
Binary file not shown.
Binary file renamed prebuilt/dtbo → prebuilt/dtbo.img
Binary file not shown.

0 comments on commit 9a5316e

Please sign in to comment.