Age | Commit message (Collapse) | Author |
|
This is a temp fix , till module loading from vendor partition
is investigated
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
We don't support J6 Rev-D EVM any more, remove corresponding
files from build.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[based on http://review.omapzoom.org/#/c/38649 ]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Change-Id: I8cfb6a1409d4ea0dfd9a3321a98d21f0af7b66a6
|
|
- Remove lines that are already taken care in core/init.rc and atrace.rc
- Remove old services
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[based on http://review.omapzoom.org/#/c/38647]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Change-Id: I5fa7fa7115b1dc6cdc35d055195d143363f5a420
|
|
Convert overlay part of framework-res to RRO. This enables
moving overriden part of default settings in framework to
vendor partition.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[based on http://review.omapzoom.org/#/c/38645 ]
Change-Id: Iee7c9c6ebc4262b7e85a94202a54f055b2fa2620
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
storage_list resource overlay is no longer used, this was used prior
to Android 5.0. Remove the old file from overlay.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[port http://review.omapzoom.org/#/c/38644 to am57xevm project]
Change-Id: I45c58bb161a38ac8521217e284889f04f4d877db
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Changes for addressing new SELinux errors reported
with camera HAL.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[port http://review.omapzoom.org/#/c/38637/ to am57xevm project]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Change-Id: Ic097a5209284e477556df87c117597053ef6a8eb
|
|
Add the default camera provider to build.
Camera provider is necessary for camera
functionality.
Change-Id: Icf78f40bf6a0ba61b30aa62a461761f9934b1b3c
Signed-off-by: David Huang <d-huang@ti.com>
[port http://review.omapzoom.org/#/c/38630 to am57xevm project]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Use modprobe from vendor parition for loading modules
in vendor partition. This fixes the selinux errors like below,
[ 5.231785] audit: type=1400 audit(5.229:3): avc: denied { module_load }
for pid=136 comm="modprobe" path="/vendor/lib/modules/wlcore.ko"
dev="mmcblk0p11" ino=169 scontext=u:r:modprobe:s0
tcontext=u:object_r:vendor_file:s0 tclass=system permissive=1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[port http://review.omapzoom.org/#/c/38623/1 to am57xevm device project]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Change-Id: I843e1ecf1531a99bac80ef5b92e9f05568e724ed
|
|
sepolicy update for recent move of pvr kernel module to vendor
partition. This change fixes the below selinux warning
[ 7.682370] type=1400 audit(7.679:4): avc: denied { module_load }
for pid=187 comm="pvrsrvinit" path="/vendor/lib/modules/pvrsrvkm.ko"
dev="mmcblk0p11" ino=160 scontext=u:r:pvr:s0 tcontext=u:object_r:vendor_file:s0
tclass=system permissive=1
based on http://review.omapzoom.org/#/c/38620
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[port to am57xevm project]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Change-Id: I845a0eafc640572932c7c8ba3f14f6cdb8de3124
|
|
Add kernel modules for recovery ramdisk also.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
[based on http://review.omapzoom.org/#/c/38613/]
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Change-Id: I60094b4ec6e671cb195ba5e5282585fc3cbd81ca
|
|
This reverts commit 1296d2db9c24badefb6dbd07c8278ab41779047b.
Change-Id: I09a0c00d83d7bb8767f7330b609623ba6db71a55
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Add touch screen related board specific kernel modules to the list
of vendor modules.
picked from http://review.omapzoom.org/#/c/38553
Change-Id: I22718591c42ff55c5d71528dc717363966326440
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Add display panel, encoder and led related kernel modules to the list
of vendor modules.
picked from http://review.omapzoom.org/#/c/38552
Change-Id: I712fae8a1f6e1887a7d67108b9b1dd7436941092
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Audio no longer belongs to the 'media' process. It runs in a
separated process ('audioserver') so the LAD and IPC files (/dev/cmem,
/dev/uio0, /dev/hwspinlock) couldn't be accessed anymore because
their ownership was set to media:system.
The binderized audio service is started under the 'audioserver'
user and several groups including 'media':
service audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service
class hal
user audioserver
# media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct
...
So, changing the group of the LAD and IPC files to 'media' allows
the audio service to access them again.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
[picked from http://review.omapzoom.org/#/c/38588]
[comment: radio is not applicable to am57xevm hence lad_dra7xx service is
not seen in init.am57xevmboard.rc]
Change-Id: Ifba0c3c86e84ed28ada1b0078efa06dcfaf2bc49
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Replace the legacy audio_policy.conf with the new XML-based
audio policy configuration approach.
This version of the audio policy excludes the HDMI
HALs because they're currently not being loaded in the
binderized mode.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
[picked from http://review.omapzoom.org/#/c/38586
and did not take vendor partition moving change as this is
not working with am57x yet]
Change-Id: Id2fd413a0a4af46ad769512edad9bb10bcf55edb
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Conflicts:
device.mk
|
|
This reverts commit 0c09a0783488d23ddc63437f35d608c623f6a597.
Change-Id: I9cfae262e91adbf1008bc93061546e97d30d19c0
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
This reverts commit b9d38ffd5e63b4a452ea03338c62ca26b6cd4975.
Change-Id: Ib6087d28df644827feadc74f754866794565bf0e
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
This reverts commit c0930d6978b29922df2dab66e8406951bb836389.
Change-Id: I5f3a1805a0570d26b4952e28b98cbe6e47a639cb
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
modules"
This reverts commit 3014c40155a3d3e7b0009750dbf0eba12b15f267.
Change-Id: I72f0346b0e458f0a78b0f1223c615e3d8dd041df
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Add display panel, encoder and led related kernel modules to the list
of vendor modules.
Also add Wilink ,touchscreen, camera and sound modules
TODO: Remove non am57xevm specific modules later.
Change-Id: I0f1165be550cf3a65977fb46f64ca91140e3fe96
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
fix sync error in updating media_profiles_V1_0.xml
from device/ti/jacinto6evm
Change-Id: Ibfb7ef35d0fc5334a2745739fe65058faae82466
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Move device specific configuration files to vendor partition.
Change-Id: I92a9f2f9311514cc43656c090f9bee65208d9ff2
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[pick http://review.omapzoom.org/#/c/38581/2 to am57xevm]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
misc code cleanup and remove unapplicable services after syncing with
jacinto6evm project
Change-Id: Ie447de97a03d5a93a5995a02b904bceb327ee65c
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
sync project from jacinto6evm for the missing device settings
Change-Id: Iff426fa3740023412f5cde0b31315bf4fe377a23
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
reduce display density to fit the ui am57xevm lcd properly
Change-Id: If6aa511ec04ddaae2a923b9db1c9b6fd374a1862
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Enable the service side library of the HIDL audio interface
so that it can work in binderized mode.
Change-Id: Id1369d9bc6d2c8010fef00ca50fcd57eea3c08b3
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
[picked from http://review.omapzoom.org/#/c/38547]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
sync hdmi and audio changes from jacinto6evm device project.
this patch is combination of
audio: Move HALs and policy files to vendor partition
Move the audio policy configuration file and the J6 audio HALs
(primary and HDMI) to the 'vendor' partition.
---
audio: Get card name via mixer_get_name()
The card index detection mechanism used in the audio HALs was
based on a customized function which isn't part of the tinyalsa
library.
tinyalsa provides the mixer_get_name() function which also
returns the card name. The audio HALs now make the card index
detection based on this function and no longer rely on a
customized tinyalsa library.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
[synced from jacinto6evm but not jamr3]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Change-Id: Ie1f04cc8d636b4828e265ff6e8d5de0ee7063bab
|
|
Enable MultiUser related configurations.
Change-Id: Icf14a2f76768709a185cbb131381b1f4a6cc98f6
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[picked from http://review.omapzoom.org/#/c/38544]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Now that we have early mounting of vendor partition enabled, module
loading is not dependent on fs.
Change-Id: I3a9628d4e507ce2bba92096147c0bb9f9dfb6ca9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[picked from http://review.omapzoom.org/#/c/38540]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Move SoC specific init files to vendor partition. This works on top
of early mounted vendor partition.
Change-Id: I320cf139a66b743d4f346030f7f428e28ff31288
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[picked from http://review.omapzoom.org/#/c/38534]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
These partitions are moved to kernel device tree for init
to early mount them as part of first stage boot.
Change-Id: I3474282046e7aa76f23744345b61a29c35f6ae85
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[picked from http://review.omapzoom.org/#/c/38532]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Add USB mass storage related kernel modules to the list
of vendor modules.
Change-Id: If975a0ee751f275b03603ea6924100a8be763ee2
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
[picked from http://review.omapzoom.org/#/c/38536/]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Changes to enable modules loading from vendor
partition.
After this change the Kernel is expected to be built
before building Android file system and kernel path needs
to be exported via KERNELDIR environment variable.
Change-Id: Ibe6efd1f5afb0cf9d87a3f17d49bfcde27717ad8
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
[picked from http://review.omapzoom.org/#/c/38531/]
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
By default when including car product, android wear boot animation
is copied to target.
Change-Id: Ic7c7c766b5fd41ef90cd1d8e6fe566ca59bccc14
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[port same to device/ti/am57xevm]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Add CTS, freeform window management and audio output permissions
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
[similar to http://review.omapzoom.org/#/c/38511]
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Change-Id: If8bea5343bd8ba01fffe8323c037029c58748ef2
|
|
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.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
[migrate from jacinto6evm to am57xevm]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Change-Id: I397b8bd1becba40f78cc91d16838a062e6ee31d0
|
|
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.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
[move from jacinto6evm to am57xevm]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Change-Id: I10d955dfa9851050fab6f8eb6926599f4dfb9e8b
|
|
TI decoders can decode any stream which is aligned with 2x2.
Change-Id: Ica0decd34849aa668653a854b87dfcded24a60cc
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
|
|
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>
|
|
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>
|
|
Add permission for voice recognition software.
Needed for CTS
picked from
http://review.omapzoom.org/#/c/38044
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[picked to am57xevm project]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Change-Id: Ib5992d7361f1d22efcb599c530c7fb9b19e5ed2e
|
|
* Use the same abstraction for resizing the userdata.img as is used
for flashing.
Change-Id: I29ad39217fe325ca8a8b3bbcf5aa5c5b27d43c01
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
|
|
Add support to fastboot script for Rev 1.3B IDK platform
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
[cleanup ,resolve merge conflict and upload to gerrit]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Change-Id: I4d5c2ef2f3dd73dcefae08305c0c2a6fd9f89c15
Conflicts:
fastboot.sh
|
|
This is required to enable persitent surface encoding.
Change-Id: I9fcbdda5323d5194e28c7de7b07dbc1496567050
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
|
|
Change-Id: I2168b4adc84e6796aa63f9ff99df313fed94265e
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
|
|
[ based on commit 630adcb0779926a0900b054ef4e2658d7a693c82
from device/lge/bullhead ]
AOSP commit a3c97a7660ba ("Only allow toolbox exec where /system
exec was already allowed.") removed domain's rx perms to
toolbox_exec. This breaks a number of domains on bullhead. Restore
rx perms for toolbox_exec where needed.
Change-Id: I68dcef5f15535414f7b9588aae1b63b38dd77d8d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
|
|
Initial changes for creating separate vendor
partition.
Change-Id: I40e731fac67fa4bdd854e4eed4c23aab86d836b4
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Initial changes for building O
Change-Id: I09a0bb066163df5fbcb294704787fb936a58853d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Change-Id: I8730497fb9b08b7b26c4c69477cc75f64bc6cf9e
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Adding boot partition info to fstab.
Change-Id: If3233927d895c1e4f671d472ad3a2406060d84a8
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|