android/device-ti-jacinto6evm.git
4 years agojacinto6evm: Update recovery UI format to BGRA d-marshmallow-mr3-release
Gowtham Tammana [Thu, 13 Apr 2017 19:10:48 +0000 (14:10 -0500)]
jacinto6evm: Update recovery UI format to BGRA

Updating the recovery UI format from RGB565 to BGRA format.

Change-Id: Ia6e2841912b45c3aafa41d767be34d0426d3e506
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
4 years agojacinto6evm: Increase in CMA pool count for Radio app
Subash Lakkimsetti [Wed, 15 Feb 2017 18:00:21 +0000 (12:00 -0600)]
jacinto6evm: Increase in CMA pool count for Radio app

CMEM CMEM runs out of memory when the DSP Profiler
and –o ARM option are both enabled on Linux. In Android,
DSP profiler is disabled.

This change is to adapt changes done for Linux.

Change-Id: I6b276354f3c84afe837db5e522171bfdf7f24696
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
4 years agomedia_codecs.xml: Add max number of concurrent instance support
Sunita Nadampalli [Tue, 7 Feb 2017 16:55:14 +0000 (10:55 -0600)]
media_codecs.xml: Add max number of concurrent instance support

Change-Id: I2168b4adc84e6796aa63f9ff99df313fed94265e
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
4 years agomedia_codecs.xml: define the max input buffers for encoder
Sunita Nadampalli [Mon, 16 Jan 2017 22:12:00 +0000 (16:12 -0600)]
media_codecs.xml: define the max input buffers for encoder

This is required to enable persitent surface encoding.

Change-Id: I9fcbdda5323d5194e28c7de7b07dbc1496567050
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
4 years agojacinto6evm: update reference 4.4 kernel image
Praneeth Bajjuri [Thu, 26 Jan 2017 20:22:33 +0000 (14:22 -0600)]
jacinto6evm: update reference 4.4 kernel image

update kernel reference image to 4.4.43
Ref: http://git.omapzoom.org/?p=kernel/omap.git;a=shortlog;h=refs/heads/p-ti-lsk-android-linux-4.4.y
commitID: 991709bacfdc6712b6499b1fda0c2eed93a9a413

Change-Id: I6b6fc2f029cd69327aa6b5172cbfcfcc896d0d84
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
4 years agojacinto6evm: remove efs partition
Praneeth Bajjuri [Tue, 29 Nov 2016 00:12:09 +0000 (18:12 -0600)]
jacinto6evm: remove efs partition

remove factory or efs partition flashing as this is not applicable
for the current configuration.

Change-Id: I0fe2758bb653b07a56befdcf2072004c71e4f05a
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
4 years agojacinto6evm: Add feature for voice recognition software
Vishal Mahaveer [Mon, 26 Dec 2016 16:45:33 +0000 (11:45 -0500)]
jacinto6evm: Add feature for voice recognition software

Add permission for voice recognition software.

Change-Id: I18259bc181eeb3f9259731f6a5049e46236ae7f5
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: add media_codecs_performance.xml
Angela Stegmaier [Wed, 18 Jan 2017 18:27:11 +0000 (12:27 -0600)]
jacinto6evm: add media_codecs_performance.xml

Some CTS tests require the media_codecs_performance.xml
file to be present on the device in /system/etc in order
for the tests to PASS.

This media_codecs_performance.xml file was generated by
first running the CTS tests on the J6 EVM and then
using the results and the cts-provided get_achievable_rates.py
script.

Note that this file may need to be re-generated for other
devices like J6Eco.

Change-Id: I8c8eaf197493d9c92757d966c46264d227a85eba
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
4 years agojacinto6evm: enable systrace functionality
Vishal Mahaveer [Fri, 6 Jan 2017 00:26:00 +0000 (19:26 -0500)]
jacinto6evm: enable systrace functionality

Enable systrace support for jacinto6evm. Most of the permission
configurations are done by "init.trace.rc", these are additional
permissions needed.

Change-Id: Ib9cbbcab88e4758c269f3bdbf4fd754086f74666
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: remove old wilink services
Vishal Mahaveer [Thu, 5 Jan 2017 22:45:17 +0000 (17:45 -0500)]
jacinto6evm: remove old wilink services

Remove GNSS devices and BT services which are no longer needed.

Change-Id: I42032ba1608789dd80c7fde7fc7c0eb4a56f8a37
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: remove insmod lines for wlan
Vishal Mahaveer [Mon, 26 Dec 2016 17:05:30 +0000 (12:05 -0500)]
jacinto6evm: remove insmod lines for wlan

wlan drivers are now built in to kernel. Remove corresponding
insmod lines.

Change-Id: I94a9b5215f8d5f43e74eaded912a2f1ef17dee28
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agoRevert "jacinto6evm: add changes for GNSS"
Vishal Mahaveer [Mon, 26 Dec 2016 17:04:21 +0000 (12:04 -0500)]
Revert "jacinto6evm: add changes for GNSS"

This reverts commit ed339cd7ba59db62b9ed65d2a540d4fd68f03f41.
Cleanup legacy configurations that are no longer used.

Change-Id: I152418648937558befe3a80ff2695a3d5b64b451
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: call makefile for installing touch firmware
Praneeth Bajjuri [Wed, 7 Dec 2016 06:11:53 +0000 (00:11 -0600)]
jacinto6evm: call makefile for installing touch firmware

Call makefile from device/ti/proprietary-open/ for installing
touch configuration binary for dra71-evm builds

Change-Id: I19e1b80ed44a651bf28db9604316b8fd2e4aa6fa
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
4 years agoaudio: primary: Allocate temporary buffer for resampling
Misael Lopez Cruz [Fri, 2 Dec 2016 23:31:39 +0000 (17:31 -0600)]
audio: primary: Allocate temporary buffer for resampling

Resampling and remixing requires a temporary buffer to read
audio frames at native format (i.e. stereo, 44.1kHz).  This
temporary buffer was being allocated for remixing but not
for resampling.

The buffer is now being allocated for the worst case, which
is when resampling and remixing are both required.

Change-Id: I0e5eb0a45906067f04bd93313cd51e8cdc0d1a9a
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
4 years agojacinto6evm: sepolicy: Add rules for APPE
Misael Lopez Cruz [Wed, 30 Nov 2016 20:37:36 +0000 (14:37 -0600)]
jacinto6evm: sepolicy: Add rules for APPE

Add the initial version of the SELinux rules for the
Audio Post-Processing Engine based audio.

Change-Id: If7b940bdd05da75b0e26d53d9102936c5eb8f54e
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
4 years agojacinto6evm: sepolicy: initial sepolicy rules for lad daemon
Vishal Mahaveer [Wed, 12 Oct 2016 18:32:01 +0000 (14:32 -0400)]
jacinto6evm: sepolicy: initial sepolicy rules for lad daemon

Initial rules for lad_dra7xx daemon

Change-Id: I4cff5b47bf978dc87c05bc43926b34899981eefb
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: Don't use logwrapper for lad and RadioApp
Misael Lopez Cruz [Tue, 1 Nov 2016 21:28:12 +0000 (16:28 -0500)]
jacinto6evm: Don't use logwrapper for lad and RadioApp

Change-Id: Idc0a8f09c4952901e2bb7eb404e4d28ac32b8e13
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
4 years agojacinto6evm: update fastboot script for J6Entry Rev A
Praneeth Bajjuri [Fri, 11 Nov 2016 00:34:19 +0000 (18:34 -0600)]
jacinto6evm: update fastboot script for J6Entry Rev A

Update the dtb file name for handling J6Entry Rev-A.

Change-Id: Ib7b10afc6c47cc0950ab5699dbc1dabd7fd3ed3d
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
4 years agoMerge "jacinto6evm: add vsync offsets" into d-marshmallow-mr2-release
Vishal Mahaveer [Fri, 7 Oct 2016 19:10:47 +0000 (14:10 -0500)]
Merge "jacinto6evm: add vsync offsets" into d-marshmallow-mr2-release

4 years agojacinto6evm: add vsync offsets
Gowtham Tammana [Wed, 5 Oct 2016 22:29:07 +0000 (17:29 -0500)]
jacinto6evm: add vsync offsets

Add vsync offsets for the sw vsync used by DispSync in the
SurfaceFlinger framework. Initial offsets are based of on
hammerhead device.

Change-Id: I779e579c076409de9ea483a7449323df30743361
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
4 years agojacinto6evm: remove extra hardware feature
Vishal Mahaveer [Wed, 5 Oct 2016 21:26:06 +0000 (17:26 -0400)]
jacinto6evm: remove extra hardware feature

J6 EVM does not have a front camera, remove the corresponding
hardware feature flag.

Change-Id: I7cd833bf2573020bdccd4dad2cb238556f7d906a
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: media_codecs.xml: fix alignment value
Vishal Mahaveer [Thu, 29 Sep 2016 13:51:53 +0000 (08:51 -0500)]
jacinto6evm: media_codecs.xml: fix alignment value

TI decoders can decode any stream which is aligned with 2x2.

Change-Id: Ica0decd34849aa668653a854b87dfcded24a60cc
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: Set product files and packages for APPE based audio
Misael Lopez Cruz [Mon, 1 Aug 2016 22:01:06 +0000 (17:01 -0500)]
jacinto6evm: Set product files and packages for APPE based audio

The APPE HAL and the previous primary HAL cannot coexist, so the
APPE HAL must become the primary HAL when the APPE_AUDIO feature
is enabled.

Similarly, some product files are specific to APPE and replace those
used by the previous primary and JAMR3 HALs.

Change-Id: Ia11bdf721255ebd19e5fcd59aea02e3f5465387a
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
4 years agojacinto6evm: Add the 'radio_app' service
Misael Lopez Cruz [Mon, 1 Aug 2016 21:52:52 +0000 (16:52 -0500)]
jacinto6evm: Add the 'radio_app' service

The radio_app service runs the VIS_SDK's RadioApp with
ethernet interface.

Change-Id: I47f7b9b29f02d88f2de21d5002fe84d4b407dfa0
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
4 years agojacinto6evm: Start lad_dra7xx with GateMP
Misael Lopez Cruz [Thu, 17 Dec 2015 22:03:38 +0000 (16:03 -0600)]
jacinto6evm: Start lad_dra7xx with GateMP

Start the lad_dra7xx service with GateMP support.

Change-Id: I194f8cf2b046eb3d8a08fd4366a0df693fc47ab8
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
4 years agojacinto6evm: Set permissions for IPC daemon and device files
Misael Lopez Cruz [Fri, 20 Nov 2015 21:59:36 +0000 (15:59 -0600)]
jacinto6evm: Set permissions for IPC daemon and device files

Add permissions and user/group for:
 * /dev/hwspinlock. It's used to lock/unlock specific hwspinlock
   instances through ioctls
 * /dev/uio0: It's is assumed to be user-space I/O driver for the
   SR0 shared region.
 * /dev/cmem

The user/group is set to media:system as the main users for these
IPC related devices will be audio (which runs as the 'media' user)
and radio (which is assumed to be a system app that runs in the
'system' group).

The LAD daemon user also needs to be changed to 'media' for the
same reasons described above.

Change-Id: Icde29fd022ec83bb0ecc3f4edb185189c4ab3d16
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
4 years agojacinto6evm: Set 'media' user for i2c devices
Misael Lopez Cruz [Mon, 23 Nov 2015 18:20:23 +0000 (12:20 -0600)]
jacinto6evm: Set 'media' user for i2c devices

The i2c devices are used by the radio and APPE user-space
components, mainly to configure the analog codecs for DSP
rendering and to configure radio tuners.

The user/group is set to media:system in order to allow
the APPE part to be started from the Audio HAL (which runs
as the 'media' user).

At the moment, not all i2c devices are accessed by the 'media'
user but having them all accessible by media user provides
more flexibility in case the analog codecs are moved to
different i2c buses.

Change-Id: If920c0861157863c43dbb59cbba9b1997a2ce00a
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
4 years agojacinto6evm: update ramdisk offset
Vishal Mahaveer [Wed, 21 Sep 2016 18:28:08 +0000 (14:28 -0400)]
jacinto6evm: update ramdisk offset

Update ramdisk offset for loading bigger ramdisk images in single
stage boot. Current offset is not suitable for booting recovery ramdisk
in single stage boot.

Change-Id: I0ee20c981b4b61aff1199b1d643a73d0c090528e
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: sepolicy: add rules for cpuset script
Vishal Mahaveer [Wed, 21 Sep 2016 16:15:55 +0000 (12:15 -0400)]
jacinto6evm: sepolicy: add rules for cpuset script

Fix below denials generated for the script we added to
support both J6 and J6 Eco cpuset configuration.

[    5.956998] init: Warning!  Service exec 1
(/system/bin/init.jacinto6evmboard.cpuset.sh) needs a SELinux domain defined;
please fix!

[    5.978447] type=1400 audit(5.969:3): avc: denied { execute_no_trans }
for pid=177 comm="init" path="/system/bin/init.jacinto6evmboard.cpuset.sh"
dev="mmcblk0p10" ino=206 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0

Change-Id: I36c482e052fc60c9c2d82c7daceae604fcf242d5
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: sepolicy: update pvr module_load permission
Vishal Mahaveer [Tue, 20 Sep 2016 17:20:05 +0000 (13:20 -0400)]
jacinto6evm: sepolicy: update pvr module_load permission

Latest AOSP sepolicy places restriction on where the kernel
module file can be loaded from [1]. Adapt pvr sepolicy to
this change.

There is a change needed in pvr um to move from init_module
to finit_module.

[1] https://android-review.googlesource.com/#/c/214021/3

Change-Id: I77c938e2772243c559e5e3e5edfc91f17db816d8
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: sepolicy: allow init to delete symlinks on /config
Vishal Mahaveer [Mon, 22 Aug 2016 21:40:56 +0000 (17:40 -0400)]
jacinto6evm: sepolicy: allow init to delete symlinks on /config

Cherry-picked from AOSP

Project: device/google/dragon
Commit: f8dc614d1bd1105a53194560d05704bf92f4bdea
Author: Jeff Vander Stoep <jeffv@google.com>

Change-Id: Ia7ec0b86a523d2d0c8c8f98c00c0eda83fad984f
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: update fastboot script for J6 ECO Rev C
Vishal Mahaveer [Wed, 6 Jul 2016 15:46:47 +0000 (11:46 -0400)]
jacinto6evm: update fastboot script for J6 ECO Rev C

Update the dtb file name for Rev-C based on latest kernel.

Change-Id: I0543a7553e576ced594a7ea6637748f2c06a1e9f
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: add modetest to product packages
Vishal Mahaveer [Wed, 6 Jul 2016 19:00:26 +0000 (15:00 -0400)]
jacinto6evm: add modetest to product packages

Add modetest to list of product packages for installation.

Change-Id: Idb859465d6bb9329982c93e2868a828922ffbfaf
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agomedia_codecs.xml: Publish AdaptivePlayback feature for AVC decoder
Sunita Nadampalli [Fri, 1 Jul 2016 19:21:11 +0000 (14:21 -0500)]
media_codecs.xml: Publish AdaptivePlayback feature for AVC decoder

Change-Id: I9ade6a1a47447741e2683c201c702ed0d83e271a
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
4 years agojacinto6evm: correct typo in usb rc file
Vishal Mahaveer [Thu, 30 Jun 2016 20:04:16 +0000 (16:04 -0400)]
jacinto6evm: correct typo in usb rc file

While enabling configFS based adb, one of the old lines were left in
by mistake, removing it.

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: fastboot: fix board_rev handling
Vishal Mahaveer [Tue, 28 Jun 2016 02:25:19 +0000 (22:25 -0400)]
jacinto6evm: fastboot: fix board_rev handling

Update script to use only first character of board rev.
Some boards have revision set as "H.0"

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: fastboot: enable qspi flashing
Vishal Mahaveer [Mon, 27 Jun 2016 14:34:55 +0000 (10:34 -0400)]
jacinto6evm: fastboot: enable qspi flashing

Enable qspi flashing instructions in fastboot script.

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: add BOARD_GPU_DRIVERS
Gowtham Tammana [Thu, 23 Jun 2016 20:11:05 +0000 (15:11 -0500)]
jacinto6evm: add BOARD_GPU_DRIVERS

BOARD_GPU_DRIVERS is set to `omapdrm` to build only omapdrm
libdrm drivers and not other vendors.

Change-Id: I1c9267a60d58bc6e77a5a021dec29c5f3a42c6bb
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
4 years agojacinto6evm: sepolicy: update crda rule for kernel4.4
Vishal Mahaveer [Thu, 23 Jun 2016 16:47:18 +0000 (12:47 -0400)]
jacinto6evm: sepolicy: update crda rule for kernel4.4

Update socket class name for kernel4.4

Change-Id: I6a7143e9072371a7748b5007e3a9d2b4a9b41082
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: sepolicy: updates for configFS
Vishal Mahaveer [Thu, 23 Jun 2016 16:35:05 +0000 (12:35 -0400)]
jacinto6evm: sepolicy: updates for configFS

selinux updates for configFS

Change-Id: If9bfeef4ec8b2ef3293bbb2fedb777cb9839b3f4
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: enable configFS based adb
Vishal Mahaveer [Wed, 22 Jun 2016 18:17:30 +0000 (14:17 -0400)]
jacinto6evm: enable configFS based adb

Changes for enabling configFS based adb.

device/google/dragon/init.dragon.usb.rc file used as reference
for these changes.

Change-Id: I52bcfead1d242c55a8cd83149d28d240ff690aca
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: media_codecs.xml: Define Limits for each mime type
Sunita Nadampalli [Tue, 21 Jun 2016 19:14:37 +0000 (14:14 -0500)]
jacinto6evm: media_codecs.xml: Define Limits for each mime type

Change-Id: Icae9b148ba31f7e37ff852ba0648e2c012d8fbce
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
4 years agojacinto6evm: update fastboot script for latest u-boot
Vishal Mahaveer [Tue, 14 Jun 2016 19:14:38 +0000 (15:14 -0400)]
jacinto6evm: update fastboot script for latest u-boot

dra7xx_hs_evm_config in 2016.05 u-boot generates images with
different name. Update fastboot script to reflect the same.

Change-Id: Ie9a98189163449497cf4bad15030437d5eb2a16b
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: remove dummy wake_lock
Vishal Mahaveer [Tue, 7 Jun 2016 23:03:53 +0000 (19:03 -0400)]
jacinto6evm: remove dummy wake_lock

We don't allow jacinto6 EVM to turn off the screen which
prevents suspend from happening.

Remove the dummy wake_lock held in init.rc

Change-Id: Ic38571b9ed384d095be81d497b071a5faf421359
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: sepolicy: update block device names
Vishal Mahaveer [Tue, 7 Jun 2016 21:31:50 +0000 (17:31 -0400)]
jacinto6evm: sepolicy: update block device names

Update block device names to use "by-name" entries instead of
hardcoded partition names.

Change-Id: Id89063ae01a871949dd538546d5f72be8d0899fd
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: fstab: update for Kernel 4.4
Vishal Mahaveer [Tue, 7 Jun 2016 19:56:16 +0000 (15:56 -0400)]
jacinto6evm: fstab: update for Kernel 4.4

Update fstab.jacinto6evmboard to match Kernel 4.4 sysfs path.

Change-Id: I8fc0cefec61f98a527957e5e8b51237c04a217ac
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agojacinto6evm: media_codecs: Add attributes for HW Codecs
Sunita Nadampalli [Tue, 7 Jun 2016 14:27:49 +0000 (09:27 -0500)]
jacinto6evm: media_codecs: Add attributes for HW Codecs

Add attributes for hardware codecs.

Change-Id: Ibbcf4bf03cb39e38e7057e8e716e0930a2446a9c
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
4 years agojacinto6evm: update fastboot script for Kernel 4.4
Vishal Mahaveer [Thu, 2 Jun 2016 15:00:36 +0000 (11:00 -0400)]
jacinto6evm: update fastboot script for Kernel 4.4

Update dtb file names based on Kernel 4.4.
Also disable QSPI flashing for time being.

Change-Id: I1a05a5872beade6fa33af06ac75ebe2eb4454e71
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
4 years agoTEMP: jacinto6evm: disable bluetooth
Vishal Mahaveer [Tue, 31 May 2016 18:29:17 +0000 (14:29 -0400)]
TEMP: jacinto6evm: disable bluetooth

Temporarily disable bluetooth for Kernel 4.4 bringup.

Change-Id: Id4d2d4d8200ef3cf8e401a74dfe9833ca1d87548
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: configure cpusets for J6 and J6 Eco
Vishal Mahaveer [Tue, 26 Apr 2016 06:13:27 +0000 (02:13 -0400)]
jacinto6evm: configure cpusets for J6 and J6 Eco

By deault only one core (0) is assigned for all categories of cpuset.
But we want both cores (0-1) to be assigned in case of J6.

Since we use same set of binaries for J6 and J6 Eco, configure the
cpusets dynamically using a script.

For J6 - the entries for foreground should be 0-1
For J6 Eco - the entries for foreground should be 0

Change-Id: I1bf8aa5ca4e5b7d73f6fcfdf841f09fa1b4c62df
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: add option to flash osd panel
Vishal Mahaveer [Wed, 16 Mar 2016 21:12:09 +0000 (17:12 -0400)]
jacinto6evm: add option to flash osd panel

Use board revision to decide on which dtb to flash.

Change-Id: If33594d54dd52c7b6e22843527d6ec1464ca8f17
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: update fastboot script for HS devices
Vishal Mahaveer [Tue, 15 Mar 2016 19:03:14 +0000 (15:03 -0400)]
jacinto6evm: update fastboot script for HS devices

In latest u-boot and kernel code base, we no longer
have separate dtbs for HS devices. Update the fastboot
script to match the same.

Change-Id: I6c5de2a844d55dea585375bb24a3e9b0af733cdd
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: fstab: remove unused partition
Vishal Mahaveer [Mon, 14 Mar 2016 17:10:30 +0000 (13:10 -0400)]
jacinto6evm: fstab: remove unused partition

Remove unused partition from fstab.

Change-Id: I321cfee2eff93a886f158dfc84e46aff90e66a0d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: sepolicy: add sync node as gpu_device
Vishal Mahaveer [Fri, 11 Mar 2016 23:12:24 +0000 (18:12 -0500)]
jacinto6evm: sepolicy: add sync node as gpu_device

Add /dev/sw_sync as gpu_device.

Change-Id: I30895a125abea5ace90d6378290b24eb42af9769
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agoRevert "Revert "jacinto6evm: dev node permissions for sw_sync""
Vishal Mahaveer [Wed, 2 Mar 2016 01:04:32 +0000 (19:04 -0600)]
Revert "Revert "jacinto6evm: dev node permissions for sw_sync""

This reverts commit 799475ad6550b80392c1deae8a943b320edf3653.
The issue with fence is now resolved in hardware/ti/dra7xx project.

Change-Id: I7a9f80a46fe98ffd146df2b0cb6d58fb7e7f9210
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
5 years agojacinto6evm: remove redundant package
Vishal Mahaveer [Tue, 23 Feb 2016 22:41:35 +0000 (17:41 -0500)]
jacinto6evm: remove redundant package

e2fsck package is directly added via core.mk, removing
redundant addition.

Change-Id: I1271d584089294c56e46f5fa58623954b674e2fa
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: Remove obsolete dalvik.gc.type-precise
Vishal Mahaveer [Tue, 23 Feb 2016 22:23:50 +0000 (17:23 -0500)]
jacinto6evm: Remove obsolete dalvik.gc.type-precise

Remove obsolete dalvik.gc.type-precise. Similar to change done
in all AOSP devices.

Change-Id: I4ac576944defd3b2962aaa126a3e6ae81a80af4c
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: fstab: move partition details to use names
Vishal Mahaveer [Tue, 23 Feb 2016 21:35:05 +0000 (16:35 -0500)]
jacinto6evm: fstab: move partition details to use names

Update fstab.jacinto6evmboard file to use by-name partition
entries instead of partition numbers.

Change-Id: Ib78aaca096c613456983c7688179e29aec0ce5b3
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agoRevert "jacinto6evm: CAN: Build can-utils if present"
Vishal Mahaveer [Mon, 15 Feb 2016 16:10:24 +0000 (11:10 -0500)]
Revert "jacinto6evm: CAN: Build can-utils if present"

This reverts commit 1132bed00bd096672bc60151ccb7aee3a2cec1f9.

Removing unused lines from device.mk, we dont have CAN utils as
part of our SDK.

Change-Id: I03e1854edb1344184527307ccda47bbf4d80c7a9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: add user build option
Vishal Mahaveer [Fri, 12 Feb 2016 22:39:49 +0000 (17:39 -0500)]
jacinto6evm: add user build option

Add option for user build (for experiments)

Change-Id: Ib3f8b4328b64aa05095d0bd47a218d3b3ead6c66
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: enable creation of cache partition image
Vishal Mahaveer [Fri, 12 Feb 2016 21:04:07 +0000 (16:04 -0500)]
jacinto6evm: enable creation of cache partition image

Previously we were using fastboot flashing script to create cache
partition empty ext4 image. Instead use Android build system to
create the same.

Change-Id: I796e2ead6a6e3b8cd31b4ba8a104e685faec576c
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agoRevert "jacinto6evm: dev node permissions for sw_sync"
Vishal Mahaveer [Mon, 1 Feb 2016 23:48:22 +0000 (18:48 -0500)]
Revert "jacinto6evm: dev node permissions for sw_sync"

This reverts commit 42bf6b70bde254e2fe624498e6c857b55b0f78b9.

Change-Id: Ie2be0add9fe318acdee6e6ffbf1d3512ac99efe5

5 years agojacinto6evm: dev node permissions for sw_sync
Gowtham Tammana [Thu, 28 Jan 2016 19:56:30 +0000 (13:56 -0600)]
jacinto6evm: dev node permissions for sw_sync

Change-Id: I4b6da4fdc757496e349ff1487dd656f81d6e7add
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
5 years agoRevert "jacinto6evm: TEMP: don't audit module_request"
Praneeth Bajjuri [Wed, 18 Nov 2015 22:44:14 +0000 (16:44 -0600)]
Revert "jacinto6evm: TEMP: don't audit module_request"

This reverts commit cd059a21607e5631ba18332409c867e94f446b4d.

Kernel 3.14 has the right fix in selinux driver done.
this patch is now integrated

commit c037c42d164e186809b43838b8772aa1fe7cc8d5
author: John Stultz <john.stultz@linaro.org>
ANDROID: exec_domains: Disable request_module() call for personalities

Change-Id: I3440cd2dd2ca2cf0d82db4284177e38f1983b521
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
5 years agojacinto6evm: TEMP: disable custom bootanimation
Vishal Mahaveer [Fri, 18 Dec 2015 20:14:06 +0000 (14:14 -0600)]
jacinto6evm: TEMP: disable custom bootanimation

The new boot animation is very heavy.
Disabling it for tiem being.

Change-Id: Ifbc3f15247737f5427d2b1855e9b288054e3c473
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agoMerge remote-tracking branch 'omap-mirror/d-lollipop-mr1-release' into d-marshmallow...
Vishal Mahaveer [Thu, 3 Dec 2015 15:43:00 +0000 (09:43 -0600)]
Merge remote-tracking branch 'omap-mirror/d-lollipop-mr1-release' into d-marshmallow-release

5 years agojacinto6evm: Build RadioApp CLI tool
Misael Lopez Cruz [Tue, 1 Dec 2015 21:28:43 +0000 (15:28 -0600)]
jacinto6evm: Build RadioApp CLI tool

The RadioApp CLI tool is the main radio executable now that
HelloRadio is no longer being maintained.

Change-Id: I19fd5c913789f820e644f7a2e157f0cdef7fc1a3
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
5 years agojacinto6evm: enable building radio components
Vishal Mahaveer [Wed, 25 Nov 2015 19:33:19 +0000 (13:33 -0600)]
jacinto6evm: enable building radio components

Build issue in IPC is fixed for Android M, Re-enabling
building of radio components.

Change-Id: Ic2ad4f8f8c7adc470be9b89219529ff508a9c061
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: add ld path to fastboot script
Vishal Mahaveer [Tue, 17 Nov 2015 23:34:36 +0000 (17:34 -0600)]
jacinto6evm: add ld path to fastboot script

Host binaries in Android M moved from using static libraries to
dynamic libraries. Update fastboot script to look for those libraries
in current folder for flashing daily builds.

Change-Id: Ice55f4e5b4b6ef966059d1e956f3b0920157bb88
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agoMerge remote-tracking branch 'omap-mirror/d-lollipop-mr1-release' into d-marshmallow...
Vishal Mahaveer [Thu, 5 Nov 2015 23:13:54 +0000 (17:13 -0600)]
Merge remote-tracking branch 'omap-mirror/d-lollipop-mr1-release' into d-marshmallow-release

5 years agojacinto6evm: Allow system_server access to rpmsg device
Vishal Mahaveer [Wed, 4 Nov 2015 23:03:27 +0000 (17:03 -0600)]
jacinto6evm: Allow system_server access to rpmsg device

Allow system server to access rpmsg device.

Change-Id: Id916392eb7231ab03f5c39430e4fa5dfb515d3f9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: add idc file for edt-ft5x06 touchscreen
Vishal Mahaveer [Mon, 2 Nov 2015 20:07:11 +0000 (14:07 -0600)]
jacinto6evm: add idc file for edt-ft5x06 touchscreen

Add idc file for supporting new touch screen controller

Change-Id: I16b50e467a921dc2cf0736b42b5f3e4783917cd8
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: another update on boot animation
Vishal Mahaveer [Mon, 26 Oct 2015 13:35:31 +0000 (08:35 -0500)]
jacinto6evm: another update on boot animation

Minor update to boot animation

Change-Id: I46a2defcc80c55a314d16ec8dc9c72d0b83cd899
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: update boot animation
Vishal Mahaveer [Fri, 23 Oct 2015 21:38:36 +0000 (16:38 -0500)]
jacinto6evm: update boot animation

Update boot animation for M

Change-Id: Ic86fc7c2a4a7480ec82f455fe6d73b1610e8c480
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: enable external storage for M
Vishal Mahaveer [Thu, 22 Oct 2015 16:14:44 +0000 (11:14 -0500)]
jacinto6evm: enable external storage for M

Update fstab file for enabling external storage like USB and
sdcard in Android M.

Change-Id: I84a40980bcb943a7ae9efec989302896fb792d76
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: re-enable WLAN
Vishal Mahaveer [Thu, 15 Oct 2015 22:13:34 +0000 (17:13 -0500)]
jacinto6evm: re-enable WLAN

WLAN was temporarily disabled for bring up, re-enabling now.

Change-Id: I0f59068a331031e54509da854f88618a2b91431d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: TEMP: don't audit module_request
Vishal Mahaveer [Wed, 14 Oct 2015 17:17:46 +0000 (12:17 -0500)]
jacinto6evm: TEMP: don't audit module_request

For time being don't audit module_request denials.

There are lot of module_request denials logged currently with all 32-bit
binaries in M. Android introduced this domain in bionic and our kernel
does not have a separate 32 bit exec domain defined. This generates lot of
unnecessary module request for "personality-8".

Ex:
[    6.332380] type=1400 audit(946685140.029:22): avc: denied { module_request }
for pid=2025 comm="drmserver" kmod="personality-8" scontext=u:r:drmserver:s0
tcontext=u:r:kernel:s0 tclass=system permissive=1

Making module_requests dontaudit for time being till we figure out how to
handle this. In kernel version 4.0 and later the exec domain support is
completely removed anyways.

Change-Id: Ia50df94edb7609f29f4d866d49ce58d8a593df1f
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: allow init to create symlinks
Vishal Mahaveer [Mon, 12 Oct 2015 20:36:19 +0000 (15:36 -0500)]
jacinto6evm: allow init to create symlinks

Allow init to create /mnt/sdcard symlink

Change-Id: I0c385dbdc66f525875dab763ab49393331a8c877
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: add types for block devices
Vishal Mahaveer [Mon, 12 Oct 2015 20:34:04 +0000 (15:34 -0500)]
jacinto6evm: add types for block devices

Add types for block device partitions defined in fstab.

Change-Id: I72310678e17ce11e4dfc55d534cae59f2e699278
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: fix storage for Android M
Vishal Mahaveer [Thu, 8 Oct 2015 11:24:07 +0000 (06:24 -0500)]
jacinto6evm: fix storage for Android M

- sdcard service not needed in M for emulated internal storage
- external storage (USB/sdcard) disabled for time being
- cleanup legacy paths

Change-Id: I9587d93685960872126e497055b098ddf9cf519a
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: TEMP: disable wlan and radio build
Vishal Mahaveer [Thu, 8 Oct 2015 11:20:50 +0000 (06:20 -0500)]
jacinto6evm: TEMP: disable wlan and radio build

For initial bring up, disable wlan and radio component builds

Change-Id: Iaeee42057c56355331072e9bc8a23b492cbcd1a2
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: remove BOARD_SEPOLICY_UNION
Vishal Mahaveer [Thu, 8 Oct 2015 11:17:52 +0000 (06:17 -0500)]
jacinto6evm: remove BOARD_SEPOLICY_UNION

All files under BOARD_SEPOLICY_DIRS is unioned by default now.

Change-Id: If52890d630aaf88874ac74c6a3938769e065ebea
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: switch to Launcher3
Vishal Mahaveer [Wed, 23 Sep 2015 19:38:43 +0000 (14:38 -0500)]
jacinto6evm: switch to Launcher3

Switch to Laucher3 from Launcher2

Change-Id: I2bc9c7f6aacc8de902003dec56a86eb6604b5c76
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: change default layout and wallpaper
Vishal Mahaveer [Fri, 18 Sep 2015 18:34:05 +0000 (13:34 -0500)]
jacinto6evm: change default layout and wallpaper

Update default workspace and wallpaper of launcher

Change-Id: I07bb805eb6821b3e3b089bc29e444d457c1e5cfc
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: define sync graphics node
Vishal Mahaveer [Fri, 18 Sep 2015 13:44:14 +0000 (08:44 -0500)]
jacinto6evm: define sync graphics node

Define sync dev node as gpu_device

Change-Id: I6870b8ea5b75c3e3b512fe6ad770d4c15bda5ec0
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: dev node permissions for pvr_sync
Gowtham Tammana [Wed, 16 Sep 2015 21:18:24 +0000 (16:18 -0500)]
jacinto6evm: dev node permissions for pvr_sync

Add permission for pvr native sync device node.

Change-Id: I0613576a29bdc589b77fb05cfd787d68da580025
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
5 years agojacinto6evm: ignore devtmpfs warnings
Vishal Mahaveer [Wed, 16 Sep 2015 19:35:16 +0000 (14:35 -0500)]
jacinto6evm: ignore devtmpfs warnings

Our kernel has kdevtmpfs enabled for test purpose, but
the denial reported by SELinux does not affect Android.

Adding a rule to supress those denial logs.

Change-Id: I57a320409e62abe934b0fba3815466dd0d2c5911
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: insert 2d blitter kernel module
Gowtham Tammana [Wed, 9 Sep 2015 20:14:14 +0000 (15:14 -0500)]
jacinto6evm: insert 2d blitter kernel module

Add lines to load 2d blitter (gc320) kernel module.

Change-Id: I86a902f89926e240a793516b7750e27f20c81cf1
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
5 years agoMerge "audio: primary: Do not set explicit BT PCM thresholds" into d-lollipop-mr1...
Misael Lopez Cruz [Thu, 3 Sep 2015 21:17:57 +0000 (16:17 -0500)]
Merge "audio: primary: Do not set explicit BT PCM thresholds" into d-lollipop-mr1-release

5 years agoaudio: primary: Do not set explicit BT PCM thresholds
Misael Lopez Cruz [Thu, 3 Sep 2015 16:22:29 +0000 (11:22 -0500)]
audio: primary: Do not set explicit BT PCM thresholds

When the requested period_size and period_count are not
granted by ALSA (i.e. due to hardware rules/constraints),
the pcm_open() call automatically updates those parameters
to the refined values returned by the kernel.

tinyalsa can also update the start_threshold and stop_threshold
accordingly when they are not explicitly set.  The thresholds
set by tinyalsa are correct, except for the stop_threshold
of input streams, which is set to 10x the buffer size.
This value is too large and could hide problems that would
otherwise manifest as overflows (ALSA xruns).

The AudioHAL could also do the params negotiation/update when
the kernel refines those params, but it adds unneeded
complexity that could be avoided by fixing the problem in
tinyalsa.

Change-Id: If690e8c05c2360bfc5eb983427a8adc4d060c645
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
5 years agojacinto6evm: Add public user permissions for rpmsg-dce
Sunita Nadampalli [Mon, 31 Aug 2015 19:10:29 +0000 (14:10 -0500)]
jacinto6evm: Add public user permissions for rpmsg-dce

this is required to allow rpmsg-dce device to be opened
in the application context directly.

Change-Id: Ie213f0084ae1b25d12da76460f4b0088326997f7
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
5 years agojacinto6evm: switch to AOSP wpa_supplicant
Vishal Mahaveer [Tue, 28 Jul 2015 19:42:20 +0000 (14:42 -0500)]
jacinto6evm: switch to AOSP wpa_supplicant

Switch from TI wpa_supplicant to Android's wpa_supplicant.
This requires changing Board configurations and wlan related
service defenitions.

Change-Id: Ic4770ce3d3103fc9d7cafe6ef5b0a4e79c5991fa
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: suppress netd denials
Vishal Mahaveer [Wed, 29 Jul 2015 03:03:52 +0000 (22:03 -0500)]
jacinto6evm: suppress netd denials

These denials are seen with WLAN and are not harmful.
Ignore them.

Change-Id: I62a0143fa750abfd8840e67b854d55f558695ec9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: allow system_server to access rtc0
Vishal Mahaveer [Mon, 27 Jul 2015 14:27:22 +0000 (09:27 -0500)]
jacinto6evm: allow system_server to access rtc0

Address following denials during network time update

[   31.969050] type=1400 audit(1438006232.316:5): avc: denied { read write }
for pid=2618 comm="NetworkTimeUpda" name="rtc0" dev="tmpfs" ino=528 scontext=
u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=chr_filepermissive=1
[   31.993488] type=1400 audit(1438006232.316:6): avc: denied { open } for
pid=2618 comm="NetworkTimeUpda" path="/dev/rtc0" dev="tmpfs" ino=528 scontext=
u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
[   32.015360] type=1400 audit(1438006232.316:7): avc: denied { ioctl } for
pid=2618 comm="NetworkTimeUpda" path="/dev/rtc0" dev="tmpfs" ino=528 ioctlcmd=
700a scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=chr_file
permissive=1

Change-Id: Ib1e80bd6f3be0fd6d52c9c986d33df787b628fd3
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agoaudio: Fix remix path in audio record
Misael Lopez Cruz [Wed, 22 Jul 2015 16:32:16 +0000 (11:32 -0500)]
audio: Fix remix path in audio record

When the audio input stream is opened with an unsupported
channel count but a supported sample rate, the audio HAL
should only perform the remix operation.  However, the audio
HAL was incorrectly trying to use the resampler.

Change-Id: I04abf02032ad68c7e0e8a2bae35f74f2def24cb7
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
5 years agojacinto6evm: fix uim domain definition
Vishal Mahaveer [Mon, 20 Jul 2015 15:25:20 +0000 (10:25 -0500)]
jacinto6evm: fix uim domain definition

Fix for the below log seen with Bluetooth service
[    5.775481] init: Warning!  Service uim needs a SELinux domain defined; please fix!

Change-Id: I8b32ba158e2d9b8092372d3713ef41a58b4a2951
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: add rule for camera scan
Vishal Mahaveer [Wed, 15 Jul 2015 21:44:39 +0000 (16:44 -0500)]
jacinto6evm: add rule for camera scan

Allow camera hal to scan for video devices.

Change-Id: I08cd422ddc4e0165b1d3e883f968ec70d533d069
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: add rule for mediaserver/rpmsg
Vishal Mahaveer [Mon, 13 Jul 2015 19:24:22 +0000 (14:24 -0500)]
jacinto6evm: add rule for mediaserver/rpmsg

Add sepolicy rules for mediaserver/rpmsg

Change-Id: I070f4a1acbb0af6961083483c33b899b9d023ac8
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: add rules for crda
Vishal Mahaveer [Mon, 13 Jul 2015 16:46:22 +0000 (11:46 -0500)]
jacinto6evm: add rules for crda

crda is executed vis ueventd rules from kernel.
Add rules for the same.

Change-Id: I8058e0279ca6d77709bca362e12eaceaefb42715
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
5 years agojacinto6evm: add rule for insmod from init.rc
Vishal Mahaveer [Mon, 13 Jul 2015 16:42:52 +0000 (11:42 -0500)]
jacinto6evm: add rule for insmod from init.rc

Add rule for loading modules via init.rc file.
We load WLAN and CMEM modules via init.rc

Change-Id: I7303c7e4b1804965d19be1e2debf9a42a636faae
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>