Commit Graph

22 Commits

Author SHA1 Message Date
Saurabh Shah
18b33141f9
davinci: rootdir: init.qcom.rc: Add owners for brightness nodes
Add owners for new lcd brightness and max_brightness node
/sys/class/backlight/panel0-backlight/brightness
/sys/class/backlight/panel0-backlight/max_brightness

Change-Id: I939ed22dc880a3536d95b397dbc7bed9288bc5df
2021-04-25 14:49:59 +02:00
Gopal Iyer
7f24df3762
davinci: rootdir: init.qcom.rc: Tuning UFS clock scaling during boot time
Disabling UFS clock scaling during boot time helps in reducing
IO delays, which helps in reducing the total boot time.
This change will disable UFS clock scaling during early-init and
enable it back after boot completion.

Change-Id: Ib3490a8155610aea399ac2f63aa4a71bee299c6e
2020-12-30 02:02:57 +01:00
Varun Arora
105ff74f42
davinci: rootdir: init: Change sysfs control node to system:graphics
Change to system graphics from root

Change-Id: Ida479fc4fd2b442efd7f7fae79e7462a349fee17
2020-12-30 02:02:57 +01:00
Prateek Sood
cecea925c5
davinci: rootdir: init.qcom.rc: Add support for tracefs when !CONFIG_DEBUG_FS
Mount of tracefs in /sys/kernel/debug/tracing will fail when DEBUG_FS
is disabled. So, mount tracefs in /sys/kernel/tracing to still use all the
tracing abilities when CONFIG_DEBUG_FS is disabled

Change-Id: Ib37332c3f1108d7c4798717f0f009c891db72850
2020-12-30 02:02:57 +01:00
Sayali Lokhande
030be3a5f8
davinci: rootdir: init.qcom.rc: limit discard size to 128MB
This change limits discard size for UFS(sda)
to 128MB in order to avoid long IO latency.

Change-Id: Iccf6f7561abaac13bc8c35b03f696cdf56c184ee
2020-12-30 02:02:57 +01:00
Sayali Lokhande
c97c7e6a6f
davinci: rootdir: init.qcom.rc: Remove tftp and rmt_storage service definitions
This changes removes tftp and rmt storage service definitions
from main .rc file as these services are defined in respective
local .rc files.

Change-Id: Ibbd1fda31b7fd950590d6a15b7aca3bb08d84f4b
2020-12-30 02:02:57 +01:00
Sandeep Neerudu
cab75e2db6
davinci: rootdir: sensors : remove sensors specific boot up commands from init.qcom.rc
move sensors specific boot up commands from global init.qcom.rc to component

specific rc files , which are part of individual component projects.

Change-Id: Ib0410cd0af8d77573bd320063982b504b1b1d1d5
2020-12-30 02:02:57 +01:00
Subbaraman Narayanamurthy
8ebb78dac5
davinci: rootdir: init.qcom.rc: add CAP_SYS_BOOT for charger
Add CAP_SYS_BOOT capability for charger service so that it can
shutdown/reboot the system.

Change-Id: I17ccba74d5a3c38bd751c55bcf42fb3689d730a7
2020-12-30 02:02:57 +01:00
Jun-Hyung Kwon
f064c2991c
davinci: rootdir: init.qcom.rc: add wakelock and BLOCK_SUSPEND to vendor.sensors
add wakelock group and BLOCK_SuSPEND capabilities to vendor.sensors
to acess wake-lock sysfs nodes

Change-Id: I193836d097f15f5bfbe1645909ae70f3f870f972
2020-12-30 02:02:57 +01:00
Subbaraman Narayanamurthy
a9303bcee9
davinci: rootdir: init.qcom.rc: Change user/group permission for for charger
Make charger binary run as system instead of root. Since it
needs to handle input key events, add input as a supplemental
group in addition to system and graphics.

Change-Id: Id1dc46f335087147b7d8cf674664c26f0b511de1
2020-12-30 02:02:57 +01:00
Jimmy Chen
8341c18fac
davinci: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2020-12-30 01:47:46 +01:00
Arian
9c8177ebfa
davinci: rootdir: Enable qcrild and data services instead of starting them
* Enabling the services allows them to start at their proper stage (class main)
* Enable them on boot to ensure they are enabled before class main starts

Change-Id: I71c3fcb72b38d247d304fda2fa6b2cc76baa0db2
2020-12-17 23:47:56 +01:00
Arian
8ab6135938
davinci: Start data services
* These modules are disabled by default and started by
  init.class_main.sh which we do not ship. Start them from init.qcom.rc
  on post-fs-data instead, just like qcrild.

Change-Id: Ifa907b5e33d8d3d08e64baaabfb8e3e450925e96
2020-12-17 23:31:16 +01:00
Ethan Chen
450d2ccbf7
davinci: rootdir: Move services to system-background cgroup
Change-Id: Id80f6369f943fc5fc1145cc6f13bddb2fe2b76e8
2020-11-28 18:12:02 +01:00
Arian
80bafc10ee
davinci: rootdir: Stop overriding audio hal 2.0 service
* Xiaomi adds the audio_hw_socket here, but it needs
  their changes in the audio HAL, hence it's useless
  for us.

Change-Id: Idf38468ad709623b60b694f458e71d0565ce6fb6
2020-11-28 18:12:02 +01:00
Arian
0a6db81b36
davinci: rootdir: Drop ssr_setup service
* missed in commit:
  66573bbfea
  davinci: Drop SSR blobs and set SSR restart_level in init.qcom.rc
  Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4

Change-Id: I5078d9579e894c0b1a7b30a2984b1ba096843e0e
2020-11-28 18:12:02 +01:00
Hai Shalom
76b173c3c7
davinci: rootdir: Add supplicant 1.2 to init.qcom.rc
Add missing supplicant 1.2 to init.qcom.rc to davinci project.

Bug: 129693419
Test: lshal
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_2Host
Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
2020-08-06 21:28:09 +02:00
LuK1337
66573bbfea
davinci: Drop SSR blobs and set SSR restart_level in init.qcom.rc
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2020-08-06 21:28:09 +02:00
Demon000
1a7135d93a
davinci: rootdir: Cleanup init.qcom.rc
Change-Id: I075233b71275788fd398c1046765445470b8ee06
2020-08-06 21:28:09 +02:00
Arian
b89ad972ad
davinci: rootdir: Cleanup on charger
* Don't enable adb
* Actually mount persist
* Don't split on charger to init.qcom.rc and init.target.rc

Change-Id: Ia4d6d1e417056a6b87358e384bd7a0bedcca1d63
2020-08-06 21:28:09 +02:00
Arian
e9886e56c0
davinci: rootdir: Move nv_mac service declaration to init.target.rc
Change-Id: I03a3ae4dcea4078f0b03c18b44f4aebd0eeffbbe
2020-08-06 21:28:09 +02:00
Arian
2aa75ea3a3
davinci: rootdir: Import scripts
Change-Id: I6dbee7c54c43a3e2186d21e7df6a028762aeb49a
2020-08-06 21:28:09 +02:00