klte-common: Use LZ4 for memory compression

Change-Id: I1c24cc30ac73b2176509f2f1c9c2552ca94089c2
This commit is contained in:
Steve Kondik 2016-04-17 11:37:46 -07:00 committed by Kevin F. Haggerty
parent 79a8b05519
commit 5ca0f19221
2 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,7 @@ TARGET_BOOTLOADER_BOARD_NAME := MSM8974
# Kernel
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_CMDLINE := console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 zcache.enabled=1
BOARD_KERNEL_CMDLINE := console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 zcache.enabled=1 zcache.compressor=lz4
BOARD_KERNEL_PAGESIZE := 2048
BOARD_KERNEL_SEPARATED_DT := true
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02000000 --tags_offset 0x01e00000

View File

@ -35,6 +35,8 @@ on early-init
write /sys/block/mmcblk0/queue/read_ahead_kb 512
write /sys/block/mmcblk0/queue/scheduler noop
write /sys/block/zram0/comp_algorithm lz4
mkdir /firmware 0771 system system
mkdir /firmware-modem 0771 system system