• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

Revisionb8c50ab0595c4a038b13deecb87225d3c9636ac9 (tree)
Time2017-06-07 20:00:45
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

KERNEL_CMDLINE: enlarge vmalloc for 32-bit system

Some devices need more vmalloc space to avoid binder failure.

Change Summary

Incremental Difference

--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -78,7 +78,7 @@ TARGET_HARDWARE_3D := true
7878 BOARD_EGL_CFG ?= device/generic/common/gpu/egl_mesa.cfg
7979 endif
8080
81-BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive
81+BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive $(if $(filter true,$(TARGET_USES_64_BIT_BINDER)),,vmalloc=192M)
8282 TARGET_KERNEL_DIFFCONFIG := device/generic/common/selinux_diffconfig
8383
8484 COMPATIBILITY_ENHANCEMENT_PACKAGE := true