Commit Graph

39 Commits

Author SHA1 Message Date
Srinivas Dasari 7fad88245a Install init.qcom.wifi.sh to /vendor
Change-Id: I60216c5b4cae9f96e23c89e167febcdf4c1bf377
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-06-06 01:39:37 -07:00
Srinivas Dasari 4e33cdf11d Install init.crda.sh to /vendor
Change-Id: Iab3687e1c7219e0666254511194c4f0a1f1e078d
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-06-06 01:38:24 -07:00
Srinivas Dasari 9d44b2081f Install qca6234-service.sh to /vendor
Change-Id: Idefb5b2dee699af33923d539fd93fa4a2204d06a
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-06-06 01:36:56 -07:00
Linux Build Service Account 57ef3e2fbb Merge "fm: Remove unused scripts & service" 2017-05-30 18:22:33 -07:00
RAJATH R 879c4551f2 Removing unwanted scripts as part of the cleanup.
Change-Id: I70834e859478358fffaf10ee123d801262cf68a8
CRs-Fixed: 2053753
2017-05-30 19:28:10 +05:30
Nitin Shivpure f080a6b559 fm: Remove unused scripts & service
Removing unused init.qcom.fm.sh script & fm_hal service.

CRs-fixed: 2053765
Change-Id: I04fa99832d69ec71dcf2b580db76940ca5ac6e2f
2017-05-30 15:19:17 +05:30
Naveen Kumar 4d79ff49cb Update configuration for sdm660
Change-Id: If023dd696d54ea32e4eac367421999192c4996a2
2017-04-24 16:16:15 +05:30
Saurabh Shah c9789a56aa device/qcom/common: Add init.recovery.qcom.rc
Add init.recovery.qcom.rc to set a default brightness value on the
new backlight node /sys/class/backlight/panel0-backlight/brightness
This file is included by init.recovery.rc currently.

Change-Id: Ic446a22b69ae25a1c7cf8f75ad581f34f2fb1601
2017-04-10 16:49:16 -07:00
Biswajit Paul 09970d051b init.qcom.test.rc: Add new rc script for userdebug builds
Add a new test rc script for userdebug builds to add certain
configuration for debugging.

CRs-Fixed: 1064691
Change-Id: I38ecd99f08f8c349850712686aaca5bd31a8629a
2016-09-08 11:56:34 -07:00
Mayank Rana 439ace14b1 Revert "Revert "USB: Add configfs related rules for USB compositions""
This reverts commit 5d54438673 which brings
back USB composition related rules using configfs.

Change-Id: I1c153fefac40bc4931145af2804c6d7cf276af12
2016-04-25 11:18:47 -07:00
Naveen Kumar 5d54438673 Revert "USB: Add configfs related rules for USB compositions"
This reverts commit 9f96096a93.

Conflicts:
	rootdir/etc/init.qcom.usb.sh

Change-Id: I0193d3d5ce1ccbed810303e72fcd612c72da3b90
2016-04-15 14:29:23 +05:30
Mayank Rana 9f96096a93 USB: Add configfs related rules for USB compositions
This change adds required support and relevant rules to select and
use USB composition using configFS.

Change-Id: I91c45180e3c64800eebbbb4a0c26157003dbbee1
2016-03-22 12:35:19 -07:00
Chitti Babu Theegala a8fae24ecc common: ZRAM, SWAP Disks creation
ZRAM Disk size - 512 MB. "init.qcom.zram.sh" is now deleted.

ZRAM disk creation is moved to "init.com.post_boot.sh" (at the
common Memory related configuratons) and is done only if
"ro.config.zram" is enabled.

SWAP Disk size - 200 MB (Created only for lower RAM ( < 1GB )
devices & only if "ro.config.swap" is enabled ).

Change-Id: I077d3bdf10e56d2c40f0057c95533cfb136a2ab8
2016-03-09 19:06:37 +05:30
Gopal G Goberu 4b014cfbc9 "IMS start from bootup"
Change-Id: I1c686cd91ba9d6a9a23a3ad13c02ca1a13bd75b7
2015-11-05 00:00:40 -08:00
muluhe f7e7810a11 common: Modify ffbm settings script
Change ffbm related setting script to rc format.

Change-Id: I658760f9a02f0a2e1e70bfa9f8d22af009c24978
2015-08-19 13:55:12 +08:00
Chiou-Hao Hsu 64e54d0eab Merge tag 'AU_LINUX_ANDROID_LA.HB.1.1.1.05.01.01.063.356' into HEAD
* commit '6dfa44b044c858c2b5de0f0c3ca9eef28131a0c1': (27 commits)
  Add tcp buffer sizes for LTE_CA
  init.qcom.post_boot.sh: Update scheduler tunables for 8996
  tz app seemp_healthd removed
  init.qcom.post_boot: Enable low power modes for 8952
  init.qcom.usb: Add composition to support DPL with DUN over char bridge
  init.qcom.rc: FST Manager runs as user "wifi"
  init.qcom.post_boot.sh: Enable all the LPMs by default
  qcom: Add default configuration for DCC block on MSM8976
  BTLogKit: Added BTLogKit to Product Packages
  init.qcom.usb: Set default USB request buffer size as 128 KB for MTP
  Adding and starting IOP service for 8996
  base.mk: add FST Manager to the build
  init.qcom.rc: add FST manager service
  Bluetooth: Drop Wcnss_filter to bluetooth only access
  init.qcom.post_boot: Set mincpubw devfreq governor to cpufreq for 8996
  audio_policy: disable software DRC flag
  init.qcom.rc: Seemp health Deamon
  Disable sched_boost on msm8996 at post-boot.
  Mms: Change default config options
  qcom: Add default configuration for DCC block.
  ...

Conflicts:
	rootdir/etc/init.qcom.rc

Change-Id: Ifedca1c92c67b2006f11eaa54d4fb8134fe5952c
2015-08-03 11:28:17 -07:00
Avijit Kanti Das be4f64bbbc qti-testscripts: Adding new service to init.qcom.rc
Adding new service for in init.qcom.rc for testing purpose.
This service is only for userdebug configuration.

Change-Id: Id94a50bd6269a8a47ca1a8929b566c70a23d852e
2015-07-24 11:27:10 -07:00
Satya Durga Srinivasu Prabhala ee637c86ba common: init: move sensor service to it's own script
Even though sensor service moved to core class, common script is
being started as part of late_start services, from which, sensor
service is started. This is causing issues like, none of the
sensors are available to clients as System Server also scheduled
in parallel.

Change-Id: Ie69e43e9845952f06efd9fe52b68b9a02a9522ce
2015-07-08 16:30:43 -07:00
Shashank Mittal 3a30d6c69a Start qdss agent as a service.
Start qdss agent as a service and run init.qcom.debug.sh thru debug
agent script.

Change-Id: I3abde82d0816046e779517bb79b6cbe1ee26cade
2015-04-06 15:24:16 -07:00
guopingy 72b6f15359 usb uicc client: add support for usb uicc client
Give r/w permission for dev/ccid_bridge
Add init.qcom.uicc.sh in Android.mk
Add init.qcom.uicc.sh in base.mk

Change-Id: I90e67e0bb67937c9da5123d7b41c483df45c8449
2014-09-15 16:54:18 +08:00
Pratik Patel 86167a7b96 init.qcom.rc: add support for logging ftrace events to coresight
Add support to log ftrace events to CoreSight STM based on
CoreSight property. This will help with debugging crashes.

Change-Id: I2236d590f96d14b8c8bbbc4b18576d548e06af98
2014-09-02 17:12:36 -07:00
Kishore Srivenkata Ganesh Bolisetty 729e3bdbe6 Enable ZRAM on devices with less than 1 GB RAM
This patch turns on the property ro.config.zram during post
boot if memtotal is less than 1 GB.

Change-Id: I49276e2c121d53a907ce54e1bd5ee3efbb46b651
2014-08-22 15:48:45 +05:30
Ming-yi Lin c3b8208861 init: qcom: Add init service for QCA6234 WLAN.
The qca6234-service is used for the initialization setup
needed for QCA6234 WLAN driver.

Change-Id: Iec12c91bcbd6d62918a972b480ab5b792441cf64
2014-01-11 14:30:34 +08:00
Ameya Thakur 81ff3fb426 common: Clean up common directory
Removed init.qcom.ril.sh and references to it from the common dir.
The script contained carrier specific instructions which resulted
in a temporary remount of the system partition as r/w which is not
allowed.

Removed usage of exec from .rc files.

Change-Id: Icdbe81ad1405f45d18f9b7befdb7cc8c9aec1696
2013-12-05 18:48:07 -08:00
Muhammed Siju bdd42f5bbe Revert "Remove shell scripts for ril init."
This reverts commit 7395274c37.
Re introduce ril init shell scripts.This is required since
"on property" trigger in rc file cannot handle the requirement
where ril needs to be started based on multisim property
only once per boot up.As per new requirement, multisim property
can be changed dynamically between dsds and dsda runtime.

Change multisim property to persist.radio.multisim.config

Change-Id: Ie615baf8211127d6b1eb66d2af3de46eee148588
CRs-Fixed: 574698
2013-11-18 03:00:25 -08:00
Muhammed Siju 7395274c37 Remove shell scripts for ril init.
Replace ril init shell scripts with init config

Change-Id: Iba5d64dda592051f5200160d1b876af56b15a7c1
CRs-Fixed: 516002
2013-10-28 11:24:27 +05:30
Ameya Thakur 81138c9dea qcom: common: Add script to launch mdm-helper
init.qcom.mdm.sh is a script that checks the baseband version and
accordingly starts up mdm-helper. The script is defined as a service
in init.target.rc on targets that support fusion configurations.

Change-Id: I52e82f7715ea9758c5e8738635ee1eabffd5d054
2013-09-30 16:35:31 -07:00
Pradeep Panigrahi 1a5ab3c3cd init: qcom: Add hsic control service for bluetooth.
The bt_hsic_control service is used for bluetooth to
control the HSIC bus state for power management.

CRs-fixed: 495435

Change-Id: Iebb32d63ae0eb297cb57c415b7a5fc50bf2d96f5
2013-07-12 08:16:41 +05:30
David Ng 3591672930 init: ssr: Modify subsystem restart (SSR) handling
Modify logic for enabling individual subsystem restart to
a shell script for more flexible handling.

Change-Id: I41fcf0de60fed844b5073a64e5a5318e9d5ea07b
2013-06-14 12:53:36 -07:00
Yulian Shandorov 8d92185a74 init.qcom.rc: add new action trigger 'fftm'
Android init process was extedned to recognize new boot mode
and start only required services for this mode. Init process will add
new action trigger 'ffbm', which will take care of rest of the
initialization process. 'ffbm' action trigger is defined in Qualcomm's
private init.rc file. It's functionality is identical with main
Android's 'boot' action triger except it doesnt add trigger actions
'core' and 'main'. Action trigger will start only minimal set of
services (media, adb, qcom-post-boot, rmt_storage) required for test
environment to operate correctly.

Change-Id: If50ded9c0464b6aad0d65ee9c220270d9f911c59
2013-03-13 05:22:16 -07:00
Sudheer Reddy Yampalla 983151716d device/qcom/common: Start two rild when dsds/dsda property enabled
Change-Id: I133f0465f9898243b1d5a1ea727064de3928913c
2013-02-11 22:22:21 +05:30
Yunsen Wang c2808f62f9 Add wifi-crda service to run crda which require root preivilege.
crda sends wifi regulatory settings to driver through netlink
socket which requires root preivilege to run.

Change-Id: Ib68f0cb895e7e5a255608afe731a84e063dbd7ed
2012-10-22 17:26:30 -07:00
Ram Mohan Korukonda 0700123f01 common: bluetooth: Add hcidump.sh to enable bluetooth hci logs
Dynamically enabling the hcidump logs when the property
bluetooth.hcidump.enabled=true is set. By default this property is
not set.

CRs-fixed: 323983
Change-Id: I127a638c17fb8447f8b9a1472c7a9270ef0bad84
2012-09-11 03:18:07 -07:00
David Ng 758a27dd67 init: qcom: Move system partition remount stage to early-boot
During initialization the system partition needs to be
remounted as read-write in order for changes to be made
to the /system partition (e.g. creating target-specific
symlinks, etc.).  Earlier this was done in the post-fs
stage where Android property service has not been
initialized.  This change moves these initializations to
the early-boot stage.

Update the wifi initialization script to use command
line parameters since getprop is not yet available in
early-boot.  Also fix bug in 8974 changes that breaks
8960 and other targets.

Call audio init script from wifi script rather than
directly from syspart-fixup since retrieving Android
property is not yet available.

TODO:  Init sequence needs to be redone for cleanup
and boot up speed.

Change-Id: I2a7338af91df951d0a4617d4f54db123aca839e3
2012-09-09 10:23:33 -07:00
David Ng c92bdf00f5 init: Move Android system property setting to early-boot stage
Move system property settings such as LCD density to early-boot.
This ensures the properties are set before any service is
started.

CRs-Fixed: 390942
Change-Id: Iba5dfb5b55f33904bd09d4b618b5399d7bda8cbd
2012-09-05 19:26:03 -07:00
Damir Didjusto 7ef38e3425 init: Add init.qcom.audio.sh script.
Audio subsystem has to read the qcom.bluetooth.soc property
to create the correct soft links in UCM files which will
be read by HAL.

Change-Id: Iaf5ac39578dae2ebd09b19733c1cc2768b4fd1e8
2012-08-23 09:38:55 -07:00
Ram Mohan Korukonda d87aac26b7 init.qcom.rc: Add Support for Atheros BT SoC.
New service added to support Atheros Bluetooth Chip.

Change-Id: Ibcb1be3620e12e50b63f4286c41e844c4328d0c3
2012-08-08 11:27:16 -07:00
Shashank Mittal 385037aa45 init: Add init.qcom.post_fs.sh script.
Some of the qcom services require to remount system partition with read-write
permission. But since all of them running as independent asyncronous services
so this can cause some issue.

init.post_fs.sh is responsible to call all such services syncronously and
in the end remount system partition as read-only.

Change-Id: I4c03a67df5eb429b2ede633f81135e8b5c457673
2012-07-23 17:07:34 -07:00
Shashank Mittal b0aaab087e qcom: Add qcom init and ueventd scripts.
Change-Id: I388a154054c07631ca853e334ffaeea2451da6c1
2012-06-21 18:04:00 -07:00