Commit Graph

14 Commits

Author SHA1 Message Date
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