davinci: rootdir: Move configurations to their proper group

Change-Id: If564c1914fc1bf63d9b87113f4b97009ab162ddc
This commit is contained in:
Demon000 2019-12-27 02:39:08 +01:00 committed by Arian
parent 28e249ea57
commit 7acc933f7d
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -33,6 +33,14 @@ on init
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
# Add a cpuset for the camera daemon
mkdir /dev/cpuset/camera-daemon
write /dev/cpuset/camera-daemon/cpus 0-7
write /dev/cpuset/camera-daemon/mems 0
chown cameraserver cameraserver /dev/cpuset/camera-daemon
chown cameraserver cameraserver /dev/cpuset/camera-daemon/tasks
chmod 0660 /dev/cpuset/camera-daemon/tasks
on fs
mount_all /vendor/etc/fstab.qcom --early
@ -57,6 +65,9 @@ on boot
start rmt_storage
start rfs_access
chown system system /sys/class/thermal/thermal_message/sconfig
on property:sys.boot_completed=1
# First setup runtime cpusets only for silver cpus
write /dev/cpuset/top-app/cpus 0-3
write /dev/cpuset/foreground/cpus 0-3
@ -69,17 +80,6 @@ on boot
write /dev/cpuset/background/cpus 0-7
write /dev/cpuset/system-background/cpus 0-7
chown system system /sys/class/thermal/thermal_message/sconfig
# Add a cpuset for the camera daemon
# We want all cores for camera
mkdir /dev/cpuset/camera-daemon
write /dev/cpuset/camera-daemon/cpus 0-7
write /dev/cpuset/camera-daemon/mems 0
chown cameraserver cameraserver /dev/cpuset/camera-daemon
chown cameraserver cameraserver /dev/cpuset/camera-daemon/tasks
chmod 0660 /dev/cpuset/camera-daemon/tasks
service vendor.pd_mapper /vendor/bin/pd-mapper
class core
user system