9 years agoRevert "Revert "TEMP: jacinto6evm: disable bluetooth permission"" d-lollipop-release master
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>
Still see issues with Bluetooth service.
So disabling for now.
This reverts commit 88c190b824fdf57ebcb4a76c1ddb9f1363927617.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
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>
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>
jacinto6evm: add permission for backup
New servoice added in lollipop
Change-Id: If471b358bcfdf4ed109f9594ab26d30a226bb7ae
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
New servoice added in lollipop
Change-Id: If471b358bcfdf4ed109f9594ab26d30a226bb7ae
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
GateMP is required for radio rendering on the ARM side.
Change-Id: Ib2d6e26f18dcb5ce3c69d6c172a912c659b4c843
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
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 audio frames can be read immediately.
The number of available frames was previously queried using the
pcm_get_htimestamp() function which returns an error when the stream
is in overrun state and doesn't update the number of available frames.
The pcm_update_avail() function does return the amount of available
frames regardless of the stream state.
Change-Id: I3afbb6f3d274b5f4fbd7133e48d2cbe51c223ccc
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
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 audio frames can be read immediately.
The number of available frames was previously queried using the
pcm_get_htimestamp() function which returns an error when the stream
is in overrun state and doesn't update the number of available frames.
The pcm_update_avail() function does return the amount of available
frames regardless of the stream state.
Change-Id: I3afbb6f3d274b5f4fbd7133e48d2cbe51c223ccc
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Update fastboot script to keep 7" panel as default for J6 EVM boards.
Change-Id: I26099079fa92b1b01b7da7d1e9d704ad263d08ab
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: enable OMAP_ENHANCEMENT flag
Re-enable OMAP_ENHANCEMENT flag.
Change-Id: I6d2253a96efcf5eedbc60ea5b443f4c702ca8f97
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Re-enable OMAP_ENHANCEMENT flag.
Change-Id: I6d2253a96efcf5eedbc60ea5b443f4c702ca8f97
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
dra7xx: Add add dra7xx product libraries to the package
Change-Id: I8aa3990cbb5f8aded7c5ebb7d5a32ef4b8a65b96
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Change-Id: I8aa3990cbb5f8aded7c5ebb7d5a32ef4b8a65b96
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Merge remote-tracking branch 'omap-mirror/d-kitkat-mr2.1-release-k3.14' into sync
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>
Bluetooth error is now resolved.
This reverts commit e53f56180daf92477fd6148a34a93073ef79b566.
Change-Id: Ifb7ac6dee214f87d3bc254ef5dff7dabd3c3d292
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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: Iacee36175cd4c90e74fce57f41cc6ca7c07291b9
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
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: Iacee36175cd4c90e74fce57f41cc6ca7c07291b9
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
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>
BT crashes at boot time, disable for time being
Change-Id: I1b2d67585db3c8bab3dd9628f62ea90b1e9a820e
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: TEMP: disable WLAN and OMAP_ENHANCEMENT flags
Temporary for initial bring up.
Change-Id: I42f4363492d77258e449b8c45fef841c05204879
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Temporary for initial bring up.
Change-Id: I42f4363492d77258e449b8c45fef841c05204879
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
Add new parameters needed in lollipop for open stream functions
Change-Id: I69073c1fa908ef37d9097ed50fedc72cdd409a6d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
Update external storage fstab path for kernel 3.14
Change-Id: I0f0ed41cb2faf2d27351c1deeda7c2422c15c02b
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
Update dtb file names for kernel 3.14
Change-Id: I83193b8eda5341d235efb7a9382916b6e82ca705
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: add libdrm to PRODUCT_PACKAGES
Add libdrm to list of PRODUCT_PACKAGES
Change-Id: I224079898518bc21c08c199c484216712208ef72
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add libdrm to list of PRODUCT_PACKAGES
Change-Id: I224079898518bc21c08c199c484216712208ef72
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
Commit 76b0af7cce79eed8bbe948546db1dab7e0681a14 broke the script for
GP devices. This change fixes it.
Change-Id: Icc786cb33a77519c50ec4d7d6fc37603518b65f1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
Use the correct file name for flashing QSPI on HS device EVM
Change-Id: Iaefa5cbc524d390b594ef8fffbd4ee6608e000bb
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: enable FEATURE_DEVICE_ADMIN
add permission to support adding device admins
Change-Id: Id9a146418e58c2bb05326bb290fc90a03b02a2d1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
add permission to support adding device admins
Change-Id: Id9a146418e58c2bb05326bb290fc90a03b02a2d1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
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>
jacinto6evm: cleanup: remove legacy/unused configurations
Remove unused/legacy configurations from jacinto6evm device
Change-Id: I046e4d1925a92e50096d5a32bc20b605fcc69fe9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Remove unused/legacy configurations from jacinto6evm device
Change-Id: I046e4d1925a92e50096d5a32bc20b605fcc69fe9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
Remove MTP host related defenitions from jacinto6evm
Change-Id: Ib58f46a505042626734039b238c986caca546360
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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
| |
Bluetooth Speaker
The voice call uses the ALSA PCM devices that are normally used
by the primary output and input. The primary output is switched
to a null/dummy sink when the voice call starts, and switched
back to the ALSA devices when the call ends.
The null/dummy sink consumes the data at the same rate than an
actual PCM device does, but does not render anything to an output
device (e.g. speaker).
Change-Id: I63a41de96c4ed34b60aab9240d10ad83c06c69ac
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
The Bluetooth SCO voice call has the following data flow:
Uplink:
+----------- SRC -----------+
| |
McASP7 McASP3
| |
Bluetooth Mic
Downlink:
+----------- SRC -----------+
| |
McASP7 McASP3
| |
Bluetooth Speaker
The voice call uses the ALSA PCM devices that are normally used
by the primary output and input. The primary output is switched
to a null/dummy sink when the voice call starts, and switched
back to the ALSA devices when the call ends.
The null/dummy sink consumes the data at the same rate than an
actual PCM device does, but does not render anything to an output
device (e.g. speaker).
Change-Id: I63a41de96c4ed34b60aab9240d10ad83c06c69ac
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
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>
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>
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>
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>
jacinto6evm: increase system image size
Increase system image size from 512M to 768M
Change-Id: If7c1f2919ebfb02e08b912a7e5974722c4947c98
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Increase system image size from 512M to 768M
Change-Id: If7c1f2919ebfb02e08b912a7e5974722c4947c98
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
Add system permissions for cmem and i2c-5 device accessed by radio app
Change-Id: I0372243649d368a0196eeb79f16dcbdc1472983b
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
Add idc file for supporting new touch screen controller
Change-Id: Ibc6821495d00e49532f0253106b7e25f39397423
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Enable the audio_hw module for the remote submix (WFD).
Change-Id: Ib7c615a919bb5de744f1857f68847989777224a0
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
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>
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>
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>
Update ueventd.jacinto6evmboard.rc file for GNSS permissions
Change-Id: If5aa0dcabc5d640388184e9677925b0b1bf01c76
Signed-off-by: Raghunandan Kamath <r-kamath@ti.com>
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>
- 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>
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>
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>
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>
WLAN/BT were disabled initially during KitKat bringup.
Enable them back.
Change-Id: I6e9ccd3235fef64f6c8b669e3caf9ee87e889b15
Signed-off-by: Eyal Reizer <eyalr@ti.com>
jacinto6evm: update wpa_supplicant service for kitkat
android 4.4.2 (kitkat) is using special naming convention for
the android socket namespace.
Update the supplicant services accordingly.
Change-Id: Ifb20e4ab8c9927759c6a39d6bef3321e73b6c0ea
Signed-off-by: Eyal Reizer <eyalr@ti.com>
android 4.4.2 (kitkat) is using special naming convention for
the android socket namespace.
Update the supplicant services accordingly.
Change-Id: Ifb20e4ab8c9927759c6a39d6bef3321e73b6c0ea
Signed-off-by: Eyal Reizer <eyalr@ti.com>
jacinto6evm: enable OMAP_ENHANCEMENT flag
Enable OMAP_ENHANCEMENT flag for KitKat.
This required removal of MTP Host targets from device.mk
Change-Id: I8e471bf93e2b1fd02dd877a19a4a38847eb83ed1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Enable OMAP_ENHANCEMENT flag for KitKat.
This required removal of MTP Host targets from device.mk
Change-Id: I8e471bf93e2b1fd02dd877a19a4a38847eb83ed1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
audio: Legacy: Implement get_presentation_position()
Implement the get_presentation_position() operation in the
legacy AudioHAL of jacinto6evm. get_presentation_position()
is a new stream out operation added in AudioHAL interface 3.0.
Change-Id: Ifbaac4239596d03c7880695c0ec32290dc2fa64e
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Implement the get_presentation_position() operation in the
legacy AudioHAL of jacinto6evm. get_presentation_position()
is a new stream out operation added in AudioHAL interface 3.0.
Change-Id: Ifbaac4239596d03c7880695c0ec32290dc2fa64e
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Merge remote-tracking branch 'omap-mirror/d-jb-mr2.0-release' into d-kitkat-mr1-release
Conflicts:
init.jacinto6evmboard.rc
Change-Id: I4c59baf047a1cf2a681aea4b8ce246d95fdb6f13
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Conflicts:
init.jacinto6evmboard.rc
Change-Id: I4c59baf047a1cf2a681aea4b8ce246d95fdb6f13
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
audio: Multizone: Flush voice call mono pipes
Flush the mono pipes used during voice call to avoid rendering
old data from the last time the pipe was used (e.g. when the
paired phone enables, disables and re-enables Bluetooth during
the voice call).
Change-Id: I43756abed06143522e5630ca0276ca5fbc02bb29
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Flush the mono pipes used during voice call to avoid rendering
old data from the last time the pipe was used (e.g. when the
paired phone enables, disables and re-enables Bluetooth during
the voice call).
Change-Id: I43756abed06143522e5630ca0276ca5fbc02bb29
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
audio: Multizone: Add support for auxiliary input
Add support for the auxiliary input available in the JAMR3
board in the Jacinto6 EVMs. The auxiliary input is a stereo
analog port.
Change-Id: I815dbcad3ea3ec47c57580a3243a631abdcbf4b9
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Add support for the auxiliary input available in the JAMR3
board in the Jacinto6 EVMs. The auxiliary input is a stereo
analog port.
Change-Id: I815dbcad3ea3ec47c57580a3243a631abdcbf4b9
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
audio: Multizone: Dynamic JAMR3 support
JAMR3 board may not always be present in the system, the port
usage is being changed dynamically to:
- JAMR3 is present
o Cabin : port 1, slots 0 & 1
o Mic : port 1, slot 2
o Back Mic: port 1, slot 3
- JAMR3 is not present
o Cabin : port 0, slots 0 & 1
o Mic : port 0, slots 0 & 1
Above port allocation allows:
- Relinquish McASP3 (port 0) when JAMR3 is connected. This allows
DSP Radio to own that McASP instance for its rendering.
- Hardware setups that don't have JAMR3 fall back to the port 0
that is present in the main Jacinto6 EVM board (CPU board).
The default hardware setup is assumed to have JAMR3 connected.
When it's not connected, the property "persist.audio.use_jamr"
must be set to "0" or "false" and system has to be rebooted
(or media server restarted). This is meant to be a development
option.
Change-Id: Icc5399b370e2247a1a0d5a967dcd47e0ef4947ac
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
JAMR3 board may not always be present in the system, the port
usage is being changed dynamically to:
- JAMR3 is present
o Cabin : port 1, slots 0 & 1
o Mic : port 1, slot 2
o Back Mic: port 1, slot 3
- JAMR3 is not present
o Cabin : port 0, slots 0 & 1
o Mic : port 0, slots 0 & 1
Above port allocation allows:
- Relinquish McASP3 (port 0) when JAMR3 is connected. This allows
DSP Radio to own that McASP instance for its rendering.
- Hardware setups that don't have JAMR3 fall back to the port 0
that is present in the main Jacinto6 EVM board (CPU board).
The default hardware setup is assumed to have JAMR3 connected.
When it's not connected, the property "persist.audio.use_jamr"
must be set to "0" or "false" and system has to be rebooted
(or media server restarted). This is meant to be a development
option.
Change-Id: Icc5399b370e2247a1a0d5a967dcd47e0ef4947ac
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
audio: Multizone: Don't Round to 16 Input Buffer Size
The input buffer size returned from AudioStreamIn::getBufferSize()
and AudioHwDevice::getInputBufferSize() was being rounded to a
multiple of 16 with a note that it is required by AudioFlinger,
but AudioFlinger has no such requirement for input buffer size
(only output buffer size). Rounding to 16 caused an issue for the
multizone audio when certain sample rates were used. So, the
rounding is removed as it is not needed.
Change-Id: I8d5010f5bab7eb780868b47899ea0115fa8c1c4b
Signed-off-by: Angela Stegmaier <a0866189@ti.com>
The input buffer size returned from AudioStreamIn::getBufferSize()
and AudioHwDevice::getInputBufferSize() was being rounded to a
multiple of 16 with a note that it is required by AudioFlinger,
but AudioFlinger has no such requirement for input buffer size
(only output buffer size). Rounding to 16 caused an issue for the
multizone audio when certain sample rates were used. So, the
rounding is removed as it is not needed.
Change-Id: I8d5010f5bab7eb780868b47899ea0115fa8c1c4b
Signed-off-by: Angela Stegmaier <a0866189@ti.com>
jacinto6evm: add support for radio
Changes for integrating radio
Change-Id: I34bbac1b98280b1b79496af230b8127c459482a9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Changes for integrating radio
Change-Id: I34bbac1b98280b1b79496af230b8127c459482a9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Merge remote-tracking branch 'omap-mirror/d-jb-mr2.0-release' into d-kitkat-mr1-release
jacinto6evm: remove changes done for flashing ipu partition
Remove changes done for flashing IPU1 binary
Change-Id: Iaa98e26976dfbb8c2535b9f38a6ec5e040f84ad3
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Remove changes done for flashing IPU1 binary
Change-Id: Iaa98e26976dfbb8c2535b9f38a6ec5e040f84ad3
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Merge "jacinto6evm: update recovery UI pixel format" into d-jb-mr2.0-release
jacinto6evm: update recovery UI pixel format
Change-Id: Id4d421afaf8f3c205c24810800b0e3e00ffd4160
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Change-Id: Id4d421afaf8f3c205c24810800b0e3e00ffd4160
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: Enable wifi display configuration
Add entry in config.xml to enable Wi-Fi display and set it to true.
Change-Id: I74b135b475c9ced4f2093a912a688ca07d560e1b
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Add entry in config.xml to enable Wi-Fi display and set it to true.
Change-Id: I74b135b475c9ced4f2093a912a688ca07d560e1b
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
jacinto6evm: add initial support for recovery
- Update flags needed in BoardConfig.mk for building recovery.img
- Update fastboot script for recovery.img
- Update fstab with new partitions
Change-Id: I27a1359e5fafae779e43d2db9bd079a6cdb7f828
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
- Update flags needed in BoardConfig.mk for building recovery.img
- Update fastboot script for recovery.img
- Update fstab with new partitions
Change-Id: I27a1359e5fafae779e43d2db9bd079a6cdb7f828
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
audio: Multizone: Bluetooth slave mode workaround
The PCM ports used for Bluetooth SCO are in slave mode in Jacinto6
EVM board. So the BT side masters the BCLK and FSYNC. The BT side
could cut the BCLK and FSYNC while the ALSA PCM ports are not closed,
which leads to blocking read() and write() calls. They would eventually
timeout and cause an I/O error.
The workaround consists of switching the BT DAI link to slave mode
(McASP is master, BT is slave) while leaving the call, it guarantees
that the BCLK and FSYNC are present as they are generated from an
internal source, the actual rate of the clock is irrelevant.
For the new source to take effect, the ALSA PCM ports used for BT are
explicitly stopped.
Change-Id: Ifadb8b1348529d404d06d4b043c5fe686f85a49a
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
The PCM ports used for Bluetooth SCO are in slave mode in Jacinto6
EVM board. So the BT side masters the BCLK and FSYNC. The BT side
could cut the BCLK and FSYNC while the ALSA PCM ports are not closed,
which leads to blocking read() and write() calls. They would eventually
timeout and cause an I/O error.
The workaround consists of switching the BT DAI link to slave mode
(McASP is master, BT is slave) while leaving the call, it guarantees
that the BCLK and FSYNC are present as they are generated from an
internal source, the actual rate of the clock is irrelevant.
For the new source to take effect, the ALSA PCM ports used for BT are
explicitly stopped.
Change-Id: Ifadb8b1348529d404d06d4b043c5fe686f85a49a
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
audio: Reorder voice call output stream termination
Unregister the voice call downlink stream before letting any
ongoing stream on cabin switch back its original writer.
Otherwise, it may end up trying to register two streams with
the same slot masks.
An incorrect log message is also fixed.
Change-Id: Ic5cb4d2ed0cc4de4232151df9ed8d45b2de9d5c2
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Unregister the voice call downlink stream before letting any
ongoing stream on cabin switch back its original writer.
Otherwise, it may end up trying to register two streams with
the same slot masks.
An incorrect log message is also fixed.
Change-Id: Ic5cb4d2ed0cc4de4232151df9ed8d45b2de9d5c2
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
audio: Fix inverted mic mute state
"rs_capture" array holds the controls for the non-muted state, so
set_route_by_array() requires the inverted value of the "mute"
state parameter.
Change-Id: I9274e7000ce6905fe54e79be4dce9c05e296855a
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
"rs_capture" array holds the controls for the non-muted state, so
set_route_by_array() requires the inverted value of the "mute"
state parameter.
Change-Id: I9274e7000ce6905fe54e79be4dce9c05e296855a
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
video: Add IVAHD H264 Encoder to the media codecs list
Change-Id: I2987a1acd1a845493562153b67c005b1ccde4572
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Change-Id: I2987a1acd1a845493562153b67c005b1ccde4572
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
jacinto6evm: update storage configuration for kitkat
Update storage configurations for kitkat version.
Change-Id: I9e074aae4e89cc63526dc6e7c6759d29ccc32031
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Update storage configurations for kitkat version.
Change-Id: I9e074aae4e89cc63526dc6e7c6759d29ccc32031
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[TEMP]jacinto6evm: changes to make jacinto6evm build
Temporary changes to get KitKat building for jacinto6evm
Change-Id: I4b3967190ac270007fb1185f5505f440cde23ba3
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Temporary changes to get KitKat building for jacinto6evm
Change-Id: I4b3967190ac270007fb1185f5505f440cde23ba3
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
audio: Add OMAP_ENHANCEMENT to card name query
Primary audio HAL uses mixer_get_card_name() function (from
tinyalsa which is under OMAP_ENHANCEMENT) to dynamically find
the id of the McASP-based sound card.
The dynamic search of the card must also be dependent on
OMAP_ENHANCEMENT and provide a default card id if the flag is
not defined.
Change-Id: Id2c610e85d65bc5d559a0c9d1dda0359893a12fa
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Primary audio HAL uses mixer_get_card_name() function (from
tinyalsa which is under OMAP_ENHANCEMENT) to dynamically find
the id of the McASP-based sound card.
The dynamic search of the card must also be dependent on
OMAP_ENHANCEMENT and provide a default card id if the flag is
not defined.
Change-Id: Id2c610e85d65bc5d559a0c9d1dda0359893a12fa
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
jacinto6evm: make fstab entry for mass storage more generic
Update sysfs entry in fstab more generic in fstab file
Change-Id: I90435a278fd137bbdc857c8bd90f36ab3c56beb8
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Update sysfs entry in fstab more generic in fstab file
Change-Id: I90435a278fd137bbdc857c8bd90f36ab3c56beb8
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: add dhcpcd service for eth1
jacinto6evm has two ethernet ports.
Add service for second ethernet interface also.
Change-Id: I892ea1411ddd8db71d461b9dd11b3f1b4073de22
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm has two ethernet ports.
Add service for second ethernet interface also.
Change-Id: I892ea1411ddd8db71d461b9dd11b3f1b4073de22
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: mediacodecs: Add mpeg2 to the supported codec list
Add mpeg2 decoder to the supported video decoders list.
Change-Id: I79ef59d9968978039965f392f19f710c1c38851a
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Add mpeg2 decoder to the supported video decoders list.
Change-Id: I79ef59d9968978039965f392f19f710c1c38851a
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
audio: Multizone: Add support for voice call
Voice call is supported using two data pipes:
Uplink:
PcmWriter <-- MonoPipe <-- PcmReader
| |
McASP7 McASP3
| |
Bluetooth Mic
Downlink:
PcmReader --> MonoPipe --> PcmWriter
| |
McASP7 McASP3
| |
Bluetooth Speaker
Voice call reuses the PcmWriter associated with Cabin/Speaker that
is otherwise used for media. So, when the voice call starts any
ongoing media stream active on that writer has to be re-routed to
a null writer and routed back to the actual writer when the voice
call ends.
The null writer is a PcmWriter that writes data to a null output port.
The null port consumes the data at the same rate that the actual port
does. IOW, media streams going to the Cabin output (primary output)
during voice call will not be rendered on the actual hardware output.
Change-Id: I7856b67ab1cf788ea2f2cb251d9097e57e487cb5
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Voice call is supported using two data pipes:
Uplink:
PcmWriter <-- MonoPipe <-- PcmReader
| |
McASP7 McASP3
| |
Bluetooth Mic
Downlink:
PcmReader --> MonoPipe --> PcmWriter
| |
McASP7 McASP3
| |
Bluetooth Speaker
Voice call reuses the PcmWriter associated with Cabin/Speaker that
is otherwise used for media. So, when the voice call starts any
ongoing media stream active on that writer has to be re-routed to
a null writer and routed back to the actual writer when the voice
call ends.
The null writer is a PcmWriter that writes data to a null output port.
The null port consumes the data at the same rate that the actual port
does. IOW, media streams going to the Cabin output (primary output)
during voice call will not be rendered on the actual hardware output.
Change-Id: I7856b67ab1cf788ea2f2cb251d9097e57e487cb5
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
audio: Multizone: Refactor stream resume/idle
Refactor the resume (leaving standby on first read/write) and
idle (entering standby) in preparation for voice call support.
JAMR3 outputs have mixer controls that do not need to change
dynamically, so they are moved to the default routes section
of the dra7evm paths.
Change-Id: I432a69ca67eff0e276ce90170dff4a5201ac181a
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Refactor the resume (leaving standby on first read/write) and
idle (entering standby) in preparation for voice call support.
JAMR3 outputs have mixer controls that do not need to change
dynamically, so they are moved to the default routes section
of the dra7evm paths.
Change-Id: I432a69ca67eff0e276ce90170dff4a5201ac181a
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
jacinto6evm: copy ipu1 binary to out folder
Since we need this file to be flashed to ipu partition, copy it
to $OUT folder for flashing purposes
Change-Id: I3ccacff0432c12d0c74d5fe86cb70119c59bfe15
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Since we need this file to be flashed to ipu partition, copy it
to $OUT folder for flashing purposes
Change-Id: I3ccacff0432c12d0c74d5fe86cb70119c59bfe15
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: add ipu partition support for early camera support
- update fastboot.sh script for flashing new partition
- update fstab partitions accordingly
Change-Id: I491831b3ee58fd6a39a16ef85b66b1c31d18c083
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
- update fastboot.sh script for flashing new partition
- update fstab partitions accordingly
Change-Id: I491831b3ee58fd6a39a16ef85b66b1c31d18c083
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: CAN: Build can-utils if present
Add necessary modifications to device.mk for automatically building
can-utils if present.
Change-Id: I6ed00b4b23b223b015d331e9cde5b6320e832798
Signed-off-by: Austin Beam <austinbeam@ti.com>
Add necessary modifications to device.mk for automatically building
can-utils if present.
Change-Id: I6ed00b4b23b223b015d331e9cde5b6320e832798
Signed-off-by: Austin Beam <austinbeam@ti.com>
jacinto6evm: Enable mtpfuse build and enable mtpfuse service.
Enable mtpfuse and fusermount build from the root directory.
Add one-shot mtpfuse service entry and add read-write permissions to USB
busses so that they're accessible from mtpfuse library.
Change-Id: I01eb93ec3f4feb8237177ae4a2cadb8965b20a9a
Signed-off-by: Shankar Rao <shankar.nrao@ti.com>
Enable mtpfuse and fusermount build from the root directory.
Add one-shot mtpfuse service entry and add read-write permissions to USB
busses so that they're accessible from mtpfuse library.
Change-Id: I01eb93ec3f4feb8237177ae4a2cadb8965b20a9a
Signed-off-by: Shankar Rao <shankar.nrao@ti.com>
audio: Multizone: Define flag and add property
Multizone audio has its own flag which is dependent on
OMAP_ENHANCEMENT. It allows disabling the multizone audio
feature at compile time to fall back to the single output
approach.
Change-Id: I97c45ad150a229ce2f5426a2bdaf76c4840f86ee
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Multizone audio has its own flag which is dependent on
OMAP_ENHANCEMENT. It allows disabling the multizone audio
feature at compile time to fall back to the single output
approach.
Change-Id: I97c45ad150a229ce2f5426a2bdaf76c4840f86ee
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
audio: multizone: Add initial implementation
Add the multizone AudioHAL support to jacinto6evm. The
multizone audio is built if the multizone flag is set,
otherwise the legacy AudioHAL is built.
Change-Id: Ib0b401f963cd9327caeb73623bba163fe8129870
Signed-off-by: Angela Stegmaier <a0866189@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Add the multizone AudioHAL support to jacinto6evm. The
multizone audio is built if the multizone flag is set,
otherwise the legacy AudioHAL is built.
Change-Id: Ib0b401f963cd9327caeb73623bba163fe8129870
Signed-off-by: Angela Stegmaier <a0866189@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
audio: Make audio_policy.conf a Pre-built
Make audio_policy.conf a pre-built. This allows for a different
audio_policy.conf to be copied based on which audio hal is used
(legacy or other).
The audio_policy.conf file is removed from the PRODUCT_COPY_FILES
list and added to the PRODUCT_PACKAGES list.
Change-Id: I0bde7c6b01e69cf184354fc354f63c652fdbc212
Signed-off-by: Angela Stegmaier <a0866189@ti.com>
Make audio_policy.conf a pre-built. This allows for a different
audio_policy.conf to be copied based on which audio hal is used
(legacy or other).
The audio_policy.conf file is removed from the PRODUCT_COPY_FILES
list and added to the PRODUCT_PACKAGES list.
Change-Id: I0bde7c6b01e69cf184354fc354f63c652fdbc212
Signed-off-by: Angela Stegmaier <a0866189@ti.com>
audio: Move jacinto6evm Audio HAL to new folder
The existing Audio HAL is moved to a new folder named
"legacy". This change is done in preparation for adding
the multizone support to the same audio folder.
Change-Id: Id8c7417a1b5f4fba59ab021bc136e7f451aac551
Signed-off-by: Angela Stegmaier <a0866189@ti.com>
The existing Audio HAL is moved to a new folder named
"legacy". This change is done in preparation for adding
the multizone support to the same audio folder.
Change-Id: Id8c7417a1b5f4fba59ab021bc136e7f451aac551
Signed-off-by: Angela Stegmaier <a0866189@ti.com>
jacinto6evm: do oem format after flashing bootloader
oem format is called before flashing the bootloader and
hence will not use the format specified by the new bootloader.
Hence, calling it after the new bootloader is flashed.
Change-Id: Id217c2e128ce2a982101c48c7b913afefe85921f
Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
oem format is called before flashing the bootloader and
hence will not use the format specified by the new bootloader.
Hence, calling it after the new bootloader is flashed.
Change-Id: Id217c2e128ce2a982101c48c7b913afefe85921f
Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
jacinto6evm: enable Bluetooth on board
- Include building Bluetooth components
- Enable uim service
Change-Id: I6ffe005fb825c7640c3e32f461d11caac49a4dcf
Signed-off-by: Eyal Reizer <eyalr@ti.com>
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
- Include building Bluetooth components
- Enable uim service
Change-Id: I6ffe005fb825c7640c3e32f461d11caac49a4dcf
Signed-off-by: Eyal Reizer <eyalr@ti.com>
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: enable WLAN flags in board file
Enable WLAN related flags and configurations in BoardConfig.mk
WIFI_DRIVER_MODULE_PATH and WIFI_DRIVER_MODULE_NAME are not defined, as
all WLAN modules are loaded at boot time now.
Change-Id: Ief3bcd5af75a02f7c8b3b2d5ca218df9f8b598ab
Enable WLAN related flags and configurations in BoardConfig.mk
WIFI_DRIVER_MODULE_PATH and WIFI_DRIVER_MODULE_NAME are not defined, as
all WLAN modules are loaded at boot time now.
Change-Id: Ief3bcd5af75a02f7c8b3b2d5ca218df9f8b598ab
jacinto6evm: load wlcore_sdio.ko once on boot
Load wlcore_sdio.ko once on boot and keep it loaded.
This way is better for new async load behavior and memory fragmentation.
Change-Id: Ifd557cfa1a0c7fdf0725eb8ec8d3bf4cf9021042
Load wlcore_sdio.ko once on boot and keep it loaded.
This way is better for new async load behavior and memory fragmentation.
Change-Id: Ifd557cfa1a0c7fdf0725eb8ec8d3bf4cf9021042
jacinto6evm: update prebuilt kernel image
We had a very old prebuilt kernel image here, adding recent kernel.
Tree: git://git.omapzoom.org/kernel/omap.git
Branch: p-ti-android-3.8.y
Commit: 69c7650fdd13d5c6059aead22850183d4c679569
Change-Id: I2934fc4db2279f0cca39ef90a0b9d1078cdb71fd
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
We had a very old prebuilt kernel image here, adding recent kernel.
Tree: git://git.omapzoom.org/kernel/omap.git
Branch: p-ti-android-3.8.y
Commit: 69c7650fdd13d5c6059aead22850183d4c679569
Change-Id: I2934fc4db2279f0cca39ef90a0b9d1078cdb71fd
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: update default workspace
Override default launcher workspace,
- Replace Camera with Music app
- Replace Analog clock with digital clock
Change-Id: I03525588c8bc654b9c3aca03c7e60f9325c01e79
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Override default launcher workspace,
- Replace Camera with Music app
- Replace Analog clock with digital clock
Change-Id: I03525588c8bc654b9c3aca03c7e60f9325c01e79
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: add permission for app widgets
We need this permission for enabling widgets.
This is new permission in Android 4.3.
Change-Id: I626e1ed0fee186a93d4e8aea6e9689061aaa8498
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
We need this permission for enabling widgets.
This is new permission in Android 4.3.
Change-Id: I626e1ed0fee186a93d4e8aea6e9689061aaa8498
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: enable userdata resize in fastboot script
Add back the userdata resize option to fastboot.sh script
Change-Id: I7a7754bf1bab94db7141a9fe10d4f1fb9af1d248
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add back the userdata resize option to fastboot.sh script
Change-Id: I7a7754bf1bab94db7141a9fe10d4f1fb9af1d248
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: fix minor error in fastboot script
Fix below error:
./fastboot.sh: line 83: [: GP: unary operator expected
Change-Id: I81628a246d9df233b6fa762eeb16a87bbd826896
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Fix below error:
./fastboot.sh: line 83: [: GP: unary operator expected
Change-Id: I81628a246d9df233b6fa762eeb16a87bbd826896
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: add second USB port entry for mass storage
Add configuration option for second USB port on board also be considered
for mass storage.
Change-Id: I44be71eed862f9daab24a1eec0a64cc80ff088da
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add configuration option for second USB port on board also be considered
for mass storage.
Change-Id: I44be71eed862f9daab24a1eec0a64cc80ff088da
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: call makefile for installing M4 binary
Call makefile from device/ti/proprietary-open/ for installing
M4 binary for jacinto6evm builds
Change-Id: I461b5a030f015c9446407d71c77af83afa4cd2a0
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Call makefile from device/ti/proprietary-open/ for installing
M4 binary for jacinto6evm builds
Change-Id: I461b5a030f015c9446407d71c77af83afa4cd2a0
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: update boot image arguments
- Update BOARD_MKBOOTIMG_ARGS to extend ramdisk offset based on our kernel
- Disable extra commandline bootargs:
Since we are using comdline option force in our kernel, these arguments are ignored
Change-Id: Ia7dc078b0b0ffd479ed3919c56b3d8b090b6e0d4
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
- Update BOARD_MKBOOTIMG_ARGS to extend ramdisk offset based on our kernel
- Disable extra commandline bootargs:
Since we are using comdline option force in our kernel, these arguments are ignored
Change-Id: Ia7dc078b0b0ffd479ed3919c56b3d8b090b6e0d4
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
media_codecs.xml: Enable HW codecs for Video
Change-Id: Ie0d9838737f28e412b5aed2480cfe40665affa2d
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Change-Id: Ie0d9838737f28e412b5aed2480cfe40665affa2d
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
jacinto6evm: remove manual insmod of sgx kernel module
Was added during bring up days. No longer needed in init.<device>.rc
Change-Id: I5e4d7778c244096bf8282d602ae192660d774119
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Was added during bring up days. No longer needed in init.<device>.rc
Change-Id: I5e4d7778c244096bf8282d602ae192660d774119
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: enable camera app for basic camera use-cases
LegacyCamera is the app for basic camera use-cases on MR2
Enable building and copying to target for LegacyCamera
Change-Id: Ie7d0b2475bd867b1f06ed93746d95015acf066fa
Signed-off-by: Sundar Raman <sunds@ti.com>
LegacyCamera is the app for basic camera use-cases on MR2
Enable building and copying to target for LegacyCamera
Change-Id: Ie7d0b2475bd867b1f06ed93746d95015acf066fa
Signed-off-by: Sundar Raman <sunds@ti.com>