sdm845-common: Load qcacld from system
* This will implicitly add every kernel module to system Change-Id: I1fb827536a7cd6cb0d46c9dbb78da4f19e80492b
This commit is contained in:
parent
646a48d17f
commit
9850301224
4 changed files with 8 additions and 0 deletions
|
@ -44,6 +44,7 @@ BOARD_KERNEL_BASE := 0x80000000
|
|||
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 androidboot.avb_version=0.0 androidboot.vbmeta.avb_version=0.0
|
||||
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
|
||||
BOARD_KERNEL_PAGESIZE := 4096
|
||||
NEED_KERNEL_MODULE_SYSTEM := true
|
||||
TARGET_KERNEL_ARCH := arm64
|
||||
TARGET_KERNEL_SOURCE := kernel/oneplus/sdm845
|
||||
TARGET_KERNEL_CROSS_COMPILE_PREFIX := aarch64-linux-android-
|
||||
|
|
|
@ -2,6 +2,8 @@ on init
|
|||
mount none /system/lib64/hw/power.qcom.so /vendor/lib64/hw/power.qcom.so bind
|
||||
mount none /system/lib/hw/power.qcom.so /vendor/lib/hw/power.qcom.so bind
|
||||
mount none /system/lib64/hw/hwcomposer.qcom.so /vendor/lib64/hw/hwcomposer.sdm845.so bind
|
||||
mount none /system/lib/modules/wlan.ko /vendor/lib/modules-aging/qca_cld3_wlan.ko bind
|
||||
mount none /system/lib/modules/wlan.ko /vendor/lib/modules/qca_cld3_wlan.ko bind
|
||||
|
||||
on boot
|
||||
# Touchpanel
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
# Lights
|
||||
/system/bin/hw/android\.hardware\.light@2\.0-service\.oneplus_sdm845 u:object_r:hal_light_sdm845_exec:s0
|
||||
|
||||
# Modules
|
||||
/system/lib/modules/wlan\.ko u:object_r:vendor_file:s0
|
||||
|
||||
# Power HAL
|
||||
/system/lib64/hw/power\.qcom\.so u:object_r:vendor_file:s0
|
||||
/system/lib/hw/power\.qcom\.so u:object_r:vendor_file:s0
|
||||
|
|
2
sepolicy/private/init.te
Normal file
2
sepolicy/private/init.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Allow init to mount wlan kernel module
|
||||
allow init vendor_file:file mounton;
|
Loading…
Reference in a new issue