Praneeth Bajjuri 1b48d72078b Revert "Revert "TEMP: jacinto6evm: disable bluetooth permission""
Still see issues with Bluetooth service.
So disabling for now.
This reverts commit 88c190b824fdf57ebcb4a76c1ddb9f1363927617.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Revert "Revert "TEMP: jacinto6evm: disable bluetooth permission"" Still see issues with Bluetooth service.
So disabling for now.
This reverts commit 88c190b824fdf57ebcb4a76c1ddb9f1363927617.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> 21 Jan 2015 Misael Lopez Cruz 24e06f0b30e audio: Legacy: Use monotonic clock for presentation position The timestamp returned by AudioHAL's get_presentation_position()
must be from the MONOTONIC clock. An additional flag has to be
passed when opening the pcm ports in tinyalsa in order to get
timestamps from the monotonic clock.
Change-Id: Ib06c686985ae9229df59a2756c5da35e858e2d0e
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> 07 Jan 2015 Vishal Mahaveer a90931216bc jacinto6evm: add permission for backup New servoice added in lollipop
Change-Id: If471b358bcfdf4ed109f9594ab26d30a226bb7ae
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 02 Jan 2015 Misael Lopez Cruz 2fd341d694f jacinto6evm: radio: use GateMP option in lad_dra7xx GateMP is required for radio rendering on the ARM side.
Change-Id: Ib2d6e26f18dcb5ce3c69d6c172a912c659b4c843
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> 10 Dec 2014 Misael Lopez Cruz d9b0b9552b6 audio: Legacy: Use pcm_update_avail for voice input frames The pcm input stream is said to be "steady" when the ALSA buffer
has available frames to read. However, the input stream could go
into the XRUN state when the voice thread takes too long between
explicitly starting the stream and querying the number of available
frames. For the purpose of determining whether the input stream
is ready, the XRUN state means that the ALSA buffer is full and
the ... 04 Dec 2014 Misael Lopez Cruz ef9d7cc3ff0 audio: Legacy: Use smaller ALSA buffers Reduce the size of the ALSA buffers in order to reduce the
audio latency. The new buffer sizes allow using fast tracks.
Change-Id: I40f3af55cde72b1183d6fc8ffa8e01ecbef71a42
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> 26 Nov 2014 Misael Lopez Cruz 523b963f5c7 audio: Legacy: Use BT sound card Starting in kernel-3.14, Bluetooth SCO audio has a separate sound
card. Previously, BT SCO was a PCM device of the primary card.
The index of the BT SCO card is found dynamically when present in
the system.
Change-Id: I5c24e07df48b836473ce56170f9b12e5aac9f975
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> 25 Nov 2014 Misael Lopez Cruz 989e6a8edff audio: Legacy: Zero-initialize allocated structs Initialize to zeros the different structs used in the HAL.
The HAL uses non-NULL checks to free temporary audio buffers.
There were some aborts caused by freeing unallocated memory
because the audio buffer pointers were not zero-initialized.
Change-Id: I75ae704d5469e9e028bc7b67ef84b6a4047a7409
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> 25 Nov 2014 Misael Lopez Cruz 722a512d3b9 audio: Legacy: Remove BT SCO workaround WiLink 8 is now able to provide the PCM clocks until the
voice call is completely terminated, so there is no risk of
blocking read() and write() calls anymore. The workaround
is no longer needed, so it is removed.
Change-Id: Idb9c4d9dc9e2940c9ce6a9f49448a2fa9ad76ae2
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> 25 Nov 2014 Misael Lopez Cruz 46e3e4351ae audio: Legacy: Replace deprecated macros and methods Replace deprecated macro audio_stream_frame_size() with the new
per-stream direction macro: audio_stream_*_frame_size().
The get_supported_devices() method is also dropped as it's not
required for API version 2.0.
Change-Id: Ia7c1b6b020832401a0a6a018f704444ad465f78f
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> 25 Nov 2014 Misael Lopez Cruz a8563662254 audio: Legacy: Fix input channel mask macro An incorrect channel mask macro was used to report the
input channel mask. The correct macro is:
audio_channel_in_mask_from_count().
Change-Id: I1b5c10980ddc7b034654d899d159df80ccc50b81
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> 25 Nov 2014 Vishal Mahaveer 7a7080371e3 jacinto6evm: update bluedroid configuration Update bluedroid device configuration to enable car related
Bluetooth profiles.
Reference patch taken from device/lge/hammerhead.
Change-Id: Idc3a00c98ce5a0f89153ad248d45994ad414ef0d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 14 Nov 2014 Vishal Mahaveer d0b1d21809b jacinto6evm: update fastboot script for J6 EVM Update fastboot script to keep 7" panel as default for J6 EVM boards.
Change-Id: I26099079fa92b1b01b7da7d1e9d704ad263d08ab
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 14 Nov 2014 Vishal Mahaveer 294adf78701 jacinto6evm: enable OMAP_ENHANCEMENT flag Re-enable OMAP_ENHANCEMENT flag.
Change-Id: I6d2253a96efcf5eedbc60ea5b443f4c702ca8f97
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 12 Nov 2014 Sunita Nadampalli 96dda5597b7 dra7xx: Add add dra7xx product libraries to the package Change-Id: I8aa3990cbb5f8aded7c5ebb7d5a32ef4b8a65b96
Signed-off-by: Sunita Nadampalli <sunitan@ti.com> 12 Nov 2014 Vishal Mahaveer fcce88ae05f M Merge remote-tracking branch 'omap-mirror/d-kitkat-mr2.1-release-k3.14' into sync 12 Nov 2014 Vishal Mahaveer 88c190b824f Revert "TEMP: jacinto6evm: disable bluetooth permission" Bluetooth error is now resolved.
This reverts commit e53f56180daf92477fd6148a34a93073ef79b566.
Change-Id: Ifb7ac6dee214f87d3bc254ef5dff7dabd3c3d292
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 11 Nov 2014 Misael Lopez Cruz 310ace1ca5b audio: Legacy: Add DRA7xxEVM to supported cards There is an audio driver for the DRA7 EVM that supports a
single PCM device (McASP3). The name of the card created
by this driver is "DRA7xxEVM", so this name has to be added
to the cards supported by this Audio HAL.
The IN_CALL mode is supported in the Audio HAL but won't
work with the "DRA7xxEVM" card because the PCM device used
for BT is not implemented by the driver.
Change-Id: Iacee3617... 09 Nov 2014 Vishal Mahaveer e53f56180da TEMP: jacinto6evm: disable bluetooth permission BT crashes at boot time, disable for time being
Change-Id: I1b2d67585db3c8bab3dd9628f62ea90b1e9a820e
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 10 Nov 2014 Vishal Mahaveer bef6541c8bc jacinto6evm: TEMP: disable WLAN and OMAP_ENHANCEMENT flags Temporary for initial bring up.
Change-Id: I42f4363492d77258e449b8c45fef841c05204879
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 05 Nov 2014 Vishal Mahaveer 2bec9552325 audio: Legacy: add parameters to open stream functions Add new parameters needed in lollipop for open stream functions
Change-Id: I69073c1fa908ef37d9097ed50fedc72cdd409a6d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 05 Nov 2014 Vishal Mahaveer fe57283f907 jacinto6evm: update fstab path for kernel 3.14 Update external storage fstab path for kernel 3.14
Change-Id: I0f0ed41cb2faf2d27351c1deeda7c2422c15c02b
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 23 Oct 2014 Vishal Mahaveer 03f3b8a7af7 jacinto6evm: update fastboot script for kernel 3.14 Update dtb file names for kernel 3.14
Change-Id: I83193b8eda5341d235efb7a9382916b6e82ca705
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 22 Oct 2014 Vishal Mahaveer 39419b8607c jacinto6evm: add libdrm to PRODUCT_PACKAGES Add libdrm to list of PRODUCT_PACKAGES
Change-Id: I224079898518bc21c08c199c484216712208ef72
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 14 Oct 2014 Misael Lopez Cruz ffc9fcbadd6 audio: Legacy: Fix leave voice call The AudioHAL must leave the voice call only when it's no longer
in the IN_CALL state. Previously, the voice call leave sequence
was incorrectly executed when entering other modes (e.g. RINGTONE).
Change-Id: Id0134706fcf1f5999a765c5152ff77ba15d86015
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> 20 Aug 2014 Vishal Mahaveer 18655bbdd98 jacinto6evm: fix fastboot script for HS devices Commit 76b0af7cce79eed8bbe948546db1dab7e0681a14 broke the script for
GP devices. This change fixes it.
Change-Id: Icc786cb33a77519c50ec4d7d6fc37603518b65f1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 26 Aug 2014 Vishal Mahaveer 4e53504c680 jacinto6evm: fix fastboot script for HS devices Use the correct file name for flashing QSPI on HS device EVM
Change-Id: Iaefa5cbc524d390b594ef8fffbd4ee6608e000bb
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 25 Aug 2014 Vishal Mahaveer 76b0af7cce7 jacinto6evm: enable FEATURE_DEVICE_ADMIN add permission to support adding device admins
Change-Id: Id9a146418e58c2bb05326bb290fc90a03b02a2d1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 13 Aug 2014 Vishal Mahaveer 05561662feb jacinto6evm: update fastboot script with revg option Add special argument --revg for flashing environemnt partition
with special dtb file if available.
Change-Id: I4f416c5292bc26f423307276383e3a9e61b521b3
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 08 Aug 2014 Vishal Mahaveer 965845fd4b9 jacinto6evm: SELinux: initial policy for enabling enforcing mode With this change we are able to boot with enforcing mode.
The rule added for healthd in this patch is taken from AOSP master.
When we switch to next Android version, this policy could be removed.
Change-Id: I8a87e1e4084c0186ae76b8b6f0cb87baf6e2ecf3
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 16 Jul 2014 Vishal Mahaveer 1c778e5ad29 jacinto6evm: cleanup: remove legacy/unused configurations Remove unused/legacy configurations from jacinto6evm device
Change-Id: I046e4d1925a92e50096d5a32bc20b605fcc69fe9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 07 Jul 2014 Vishal Mahaveer c113be3425e jacinto6evm: cleanup: remove mtp host services and permissions Remove MTP host related defenitions from jacinto6evm
Change-Id: Ib58f46a505042626734039b238c986caca546360
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 07 Jul 2014 Vishal Mahaveer f387935feed jacinto6evm: update prebuilt kernel to latest one Update prebuilt kernel to more recent one
config/kernel:
commit d1683e8cecbf4132722a067d942af72c02fd7322 (origin/p-ti-android-3.8.y)
Change-Id: I4801b0ba4cff5754c63ba2d1c67703d64686f3f1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 11 Jun 2014 Misael Lopez Cruz 8bbadc3eca1 audio: Legacy: BT SCO voice call support The Bluetooth SCO voice call has the following data flow:
Uplink:
+----------- SRC -----------+
| |
McASP7 McASP3
| |
Bluetooth Mic
Downlink:
+----------- SRC -----------+
| |
McASP7 McASP3
| ... 03 Jun 2014 Misael Lopez Cruz 3da8567243e audio: Legacy: Use audio_route for kcontrol settings Simplify the kcontrol settings through the audio_route
library. The control settings are now moved to a XML
audio paths file.
Change-Id: I72670523968a6646aea28e1625798b04f7a7799f
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> 30 Apr 2014 Angela Stegmaier fe4561a100a audio: Legacy: Initialize Variables to NULL If uninitialized, then a crash may result if they were not
successfully allocated during the constructor and then
the destructor runs.
Change-Id: Iad15e558fe6ba9b42aab482511cd30c1476f0f18
Signed-off-by: Angela Stegmaier <a0866189@ti.com> 15 Apr 2014 Vishal Mahaveer 3d3ef412e12 jacinto6evm: increase system image size Increase system image size from 512M to 768M
Change-Id: If7c1f2919ebfb02e08b912a7e5974722c4947c98
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 07 May 2014 Vishal Mahaveer 95ba45227ea jacinto6evm: radio: add insmod line for cmem module Radio now requires cmem module to run, cmem kernel module is not
present in the system by default. Adding the line for supporting
radio out of the box.
Change-Id: I9bd65cd9c78b60bb20ee4de770effe9e64f359e7
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 22 May 2014 Vishal Mahaveer 1ad4cb6e8f0 jacinto6evm: add permissions for radio Add system permissions for cmem and i2c-5 device accessed by radio app
Change-Id: I0372243649d368a0196eeb79f16dcbdc1472983b
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 21 May 2014 Vishal Mahaveer 9ae84c728a9 jacinto6evm: add idc file for LDC 3001 touchscreen controller Add idc file for supporting new touch screen controller
Change-Id: Ibc6821495d00e49532f0253106b7e25f39397423
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 16 May 2014 Vishal Mahaveer cf866ede7d0 jacinto6evm: update external storage sysfs path in fstab Update correct sysfs path in fstab file based on latest kernel.
Also adding a missing service for sdcard storage.
Change-Id: I1b28389e7000fd2aa3db1b4c404b4d4531e676dd
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 15 May 2014 Vishal Mahaveer 09e75ed9d4b jacinto6evm: update fastboot script for supporting j6eco Add steps in fastboot.sh script to flash device tree file based on cpu
Change-Id: I7a3cb890035c258e46ae42bef248411c5fdcb3a1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 14 May 2014 Sunita Nadampalli 2cee8dc68e0 jacinto6evm: Remove ITTIAM.WMA decoder entries from media_codec list Since ITTIAM.WMA codecs are no longer are supported on
jacinto6, the corresponding entries have been removed from
the media codec list of supported codecs.
Change-Id: I24934fda247b8c7e0a7d33a11a0791a98c54afc0
Signed-off-by: Sunita Nadampalli <sunitan@ti.com> 04 Mar 2014 Sundar Raman b3e60b44ed5 jacinto6evm: copy vpetest to target This patch copies the vpetest to the target folder
vpetest helps validate the vpe features on 6AJ releases
Change-Id: I05564629d2cda0eebee8a0af0d1032333cc9562f
Signed-off-by: Sundar Raman <sunds@ti.com> 04 Feb 2014 Misael Lopez Cruz 683d9378061 audio: Enable remote submix AudioHAL Enable the audio_hw module for the remote submix (WFD).
Change-Id: Ib7c615a919bb5de744f1857f68847989777224a0
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> 19 Feb 2014 Vishal Mahaveer 75106f5d12a jacinto6evm: remove unused property Based on the change http://review.omapzoom.org/35065
com.ti.omap_enhancement property is no longer used
Change-Id: If6bce6ce83ad2a7543c43074666fd48e8000b9ec
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 14 Apr 2014 Raghunandan Kamath 3cbaaab2055 jacinto6evm: ueventd: Add GNSS permission Update ueventd.jacinto6evmboard.rc file for GNSS permissions
Change-Id: If5aa0dcabc5d640388184e9677925b0b1bf01c76
Signed-off-by: Raghunandan Kamath <r-kamath@ti.com> 05 Feb 2014 Raghunandan Kamath ed339cd7ba5 jacinto6evm: add changes for GNSS - Define GNSS related services
- Create folder structures needed for GNSS
- Add step to load GNSS kernel module
Change-Id: Iff5e9bf9d680e3a276c786e94b8ba7159de82dc2
Signed-off-by: Raghunandan Kamath <r-kamath@ti.com> 23 Jan 2014 Vishal Mahaveer fb62a0a1c0d jacinto6evm: update networkAttributes Remove wifi_p2p network.
--
Similar to patch:
commit a2e79fae23c5d5178ec7c534bd488eacc5d098ec on device/asus/tilapia
Author: Robert Greenwalt <rgreenwalt@google.com>
--
Change-Id: I1967b014c65a0a53fc81f570f4ec8d566b67344b
Signed-off-by: Vishal Mahaveer <vishalm@ti.com> 24 Feb 2014 Eyal Reizer daf1518144d jacinto6evm: re-enable WLAN and BT WLAN/BT were disabled initially during KitKat bringup.
Enable them back.
Change-Id: I6e9ccd3235fef64f6c8b669e3caf9ee87e889b15
Signed-off-by: Eyal Reizer <eyalr@ti.com> 09 Apr 2014