6 years agoMerge branch 'd-oreo-r6-core-release' into d-oreo-mr1-core-release d-oreo-mr1-core-release
Merge branch 'd-oreo-r6-core-release' into d-oreo-mr1-core-release
* d-oreo-r6-core-release:
jacinto6evm: fastboot.sh: remove oem spi
jacinto6evm: make drivers built-in
jacinto6evm: Add back auto configuration for initial bringup
jacinto6evm: Make modules built-in
jacinto6evm: Remove car configuration
jacinto6evm: remove jamr services
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* d-oreo-r6-core-release:
jacinto6evm: fastboot.sh: remove oem spi
jacinto6evm: make drivers built-in
jacinto6evm: Add back auto configuration for initial bringup
jacinto6evm: Make modules built-in
jacinto6evm: Remove car configuration
jacinto6evm: remove jamr services
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
6 years agojacinto6evm: fastboot.sh: remove oem spi d-oreo-r6-core-k49-release d-oreo-r6-core-release
jacinto6evm: fastboot.sh: remove oem spi
core release supports emmc ( which is default when we do
oem format). hence removing unsupported oem spi.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
core release supports emmc ( which is default when we do
oem format). hence removing unsupported oem spi.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
jacinto6evm: remove legacy dhcpcd services
dhcpcd daemon is removed from Android, remove the
obsolete service definitions.
Change-Id: Ia7a3c379858d61c99313306160ee900ac92593e6
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
dhcpcd daemon is removed from Android, remove the
obsolete service definitions.
Change-Id: Ia7a3c379858d61c99313306160ee900ac92593e6
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: add pinner service config
Add default files for pinning.
Change-Id: Ibe49d39d02b701ed462d26cc637d9b9c1fa79157
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add default files for pinning.
Change-Id: Ibe49d39d02b701ed462d26cc637d9b9c1fa79157
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: make drivers built-in
For initial bringup , make drivers built-in.
Todo: make the drivers modularas per treble requirement
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
For initial bringup , make drivers built-in.
Todo: make the drivers modularas per treble requirement
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
jacinto6evm: Initial changes for O MR1
- RRO feature results in build break, disbaling for now.
- Automotive vehicle service needs to be added explicitly to product
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
- RRO feature results in build break, disbaling for now.
- Automotive vehicle service needs to be added explicitly to product
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: Add back auto configuration for initial bringup
for initial bringup of Android 4.9 we need to keep android device project
in sync with d-oreo-r6-release.
TODO: cleanup automotive features
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
for initial bringup of Android 4.9 we need to keep android device project
in sync with d-oreo-r6-release.
TODO: cleanup automotive features
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Merge branch 'd-oreo-r6-core-release' of git.ti.com:android/device-ti-jacinto6evm into d-oreo-r6-core-release
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Conflicts:
device.mk
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Conflicts:
device.mk
jacinto6evm: fastboot.sh: support multiple dra76 evm revisions
There are multiple versions of dra76 boards (A, A.1), don't
check for board revision in case of dra76.
Change-Id: I0d9d685fa16c4c57ad29c11bdbe5156a328ba10f
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
There are multiple versions of dra76 boards (A, A.1), don't
check for board revision in case of dra76.
Change-Id: I0d9d685fa16c4c57ad29c11bdbe5156a328ba10f
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: include dalvik definitions
Fixes: 736085b ("jacinto6evm: initial O changes")
In initial Oreo bring up commit, this line was commented
by mistake.
Change-Id: If10291688471c3687fbe24c3d284205b03623997
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Fixes: 736085b ("jacinto6evm: initial O changes")
In initial Oreo bring up commit, this line was commented
by mistake.
Change-Id: If10291688471c3687fbe24c3d284205b03623997
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: Make modules built-in
Temp fix to make the modules built-in.
After the intial o enablement stage, re-enable back as
modular.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Temp fix to make the modules built-in.
After the intial o enablement stage, re-enable back as
modular.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
jacinto6evm: Remove car configuration
Remove car configuration
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Remove car configuration
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
jacinto6evm: remove jamr services
Remove JAMR services ( Vision, APPE, Radio )
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Remove JAMR services ( Vision, APPE, Radio )
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
jacinto6evm: fastboot.sh: update script based on new device names
device names has been changed in u-boot code now.
This patch also introduces DRA76 device tree flashing capability
Change-Id: I19bd427f6392a5f16231a360ca00cc5328955e29
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
device names has been changed in u-boot code now.
This patch also introduces DRA76 device tree flashing capability
Change-Id: I19bd427f6392a5f16231a360ca00cc5328955e29
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
audio: Combine the JAMR3 HAL into the primary HAL
JAMR3 line-in audio support was provided through a separate audio HAL
which caused significant code duplication. Line-in audio support is
now combined into the primary HAL.
Change-Id: Ibd1d481954f1ebb71bb543c5a9d8dbd3ba61b002
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
JAMR3 line-in audio support was provided through a separate audio HAL
which caused significant code duplication. Line-in audio support is
now combined into the primary HAL.
Change-Id: Ibd1d481954f1ebb71bb543c5a9d8dbd3ba61b002
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
jacinto6evm: remove old EVM touch screen files
We don't support Rev-D EVM any more, remove corresponding
files from build.
Change-Id: If93575a5088abc0378b40d61535583b6725ef940
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
We don't support Rev-D EVM any more, remove corresponding
files from build.
Change-Id: If93575a5088abc0378b40d61535583b6725ef940
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: init: cleanup old entries
- Remove lines that are already taken care in core/init.rc and atrace.rc
- Remove old services
Change-Id: Ie31dc1f752a37ccca63303426f9e6c301bd0eb8d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
- Remove lines that are already taken care in core/init.rc and atrace.rc
- Remove old services
Change-Id: Ie31dc1f752a37ccca63303426f9e6c301bd0eb8d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: enable RRO on framework-res
Convert overlay part of framework-res to RRO. This enables
moving overriden part of default settings in framework to
vendor partition.
Change-Id: I4aa78d15027d52fd880a3840c1f132ebbcf82798
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Convert overlay part of framework-res to RRO. This enables
moving overriden part of default settings in framework to
vendor partition.
Change-Id: I4aa78d15027d52fd880a3840c1f132ebbcf82798
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: remove obsolete storage_list.xml
storage_list resource overlay is no longer used, this was used prior
to Android 5.0. Remove the old file from overlay.
Change-Id: Ie93c6a7abd9dfe711e6ec3391981550a897e3988
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
storage_list resource overlay is no longer used, this was used prior
to Android 5.0. Remove the old file from overlay.
Change-Id: Ie93c6a7abd9dfe711e6ec3391981550a897e3988
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: move vendor properties to vendor partition
As part of treble, move the vendor specific properties
to /vendor partition
Change-Id: I4ff39234ebd014323a7f484641c35a6c1b2cb7e1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
As part of treble, move the vendor specific properties
to /vendor partition
Change-Id: I4ff39234ebd014323a7f484641c35a6c1b2cb7e1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: modules: remove unused kernel modules
Remove kernel modules that are not needed for J6 EVMs.
By reducing number of modules, it also helps in working
around an issue where some driver modules are not loaded
by init at boot time.
Change-Id: I9a696492737078c66410f51faf8a3e54422e7497
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Remove kernel modules that are not needed for J6 EVMs.
By reducing number of modules, it also helps in working
around an issue where some driver modules are not loaded
by init at boot time.
Change-Id: I9a696492737078c66410f51faf8a3e54422e7497
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: update cmem module arguments for larger pools
Update cmem arguments for larger pools, this is needed for
APPE HAL record to function for all APPE configurations.
Change-Id: I30f6a09900ca8ddbe2ca433faf7a89c7eded3ee8
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Update cmem arguments for larger pools, this is needed for
APPE HAL record to function for all APPE configurations.
Change-Id: I30f6a09900ca8ddbe2ca433faf7a89c7eded3ee8
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: sepolicy: add new rules for hal_camera_default
Changes for addressing new SELinux errors reported
with camera HAL.
Change-Id: Id95bd4a3de208fc31b93ba6675576461ef49bea5
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Changes for addressing new SELinux errors reported
with camera HAL.
Change-Id: Id95bd4a3de208fc31b93ba6675576461ef49bea5
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: Include camera provider modules
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>
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>
jacinto6evm: use vendor modprobe for loading modules
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
Change-Id: Idae31f9802426651340b3535cbadef347ad4cca0
Signed-off-by: Vishal Mahaveer <vishalm@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
Change-Id: Idae31f9802426651340b3535cbadef347ad4cca0
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: sepolicy: update for pvrsrvkm move to vendor partition
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
Change-Id: Id137852d626c2e5ee0ef8fdb40d7934c484c0ec9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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
Change-Id: Id137852d626c2e5ee0ef8fdb40d7934c484c0ec9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: recovery: add kernel modules for recovery ramdisk
Add kernel modules for recovery ramdisk also.
Change-Id: Idc83e90ed8846396313aa094591870eaf8c4d4ce
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add kernel modules for recovery ramdisk also.
Change-Id: Idc83e90ed8846396313aa094591870eaf8c4d4ce
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: Set IPC/Radio related permissions to system:media
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.
Change-Id: Iecbc3531831f126e22881bf124c7cca464b00175
Signed-off-by: Misael Lopez Cruz <misael.lopez@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.
Change-Id: Iecbc3531831f126e22881bf124c7cca464b00175
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
jacinto6evm: Move cmem and vis service to vendor partition
Move the cmemk module and VIS service binary location to the
vendor partition.
Change-Id: Ic91126d497103480c7d5fc5dda0abb61a066c528
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Move the cmemk module and VIS service binary location to the
vendor partition.
Change-Id: Ic91126d497103480c7d5fc5dda0abb61a066c528
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
audio: Use XML audio configuration files
Replace the legacy audio_policy.conf with the new XML-based
audio policy configuration approach.
This version of the audio policy excludes the HDMI and JAMR3
HALs because they're currently not being loaded in the
binderized mode.
Change-Id: I43147dab735e3e0cbdd74578e50bbc016494910c
Signed-off-by: Misael Lopez Cruz <misael.lopez@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 and JAMR3
HALs because they're currently not being loaded in the
binderized mode.
Change-Id: I43147dab735e3e0cbdd74578e50bbc016494910c
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
jacinto6evm: modules: add vision and jamr3
Add vision and jamr3 related kernel modules to the list
of vendor modules.
Change-Id: Id6bfb1ef1dafca7d87abe16730c8967895a4a7f4
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
Add vision and jamr3 related kernel modules to the list
of vendor modules.
Change-Id: Id6bfb1ef1dafca7d87abe16730c8967895a4a7f4
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
jacinto6evm: modules: add touch screen
Add touch screen related board specific kernel modules to the list
of vendor modules.
Change-Id: I84364942b1e7f13f23565a9b5a0149890dd39927
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
Add touch screen related board specific kernel modules to the list
of vendor modules.
Change-Id: I84364942b1e7f13f23565a9b5a0149890dd39927
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
jacinto6evm: modules: add display panel modules
Add display panel, encoder and led related kernel modules to the list
of vendor modules.
Change-Id: I658d4c874095302f45224afce55497cfbe877347
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
Add display panel, encoder and led related kernel modules to the list
of vendor modules.
Change-Id: I658d4c874095302f45224afce55497cfbe877347
Signed-off-by: Subash Lakkimsetti <x0091084@ti.com>
jacinto6evm: move device specific configs to vendor
Move device specific configuration files to vendor partition.
Change-Id: I92a9f2f9311514cc43656c090f9bee65208d9ff2
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Move device specific configuration files to vendor partition.
Change-Id: I92a9f2f9311514cc43656c090f9bee65208d9ff2
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: update lad_dra7xx path
lad_dra7xx is now moved to /vendor partition. Update the path
in service definition and sepolicy.
Change-Id: Id6ca040f2dae4cdafb406fdbc6d3d718e117c65d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
lad_dra7xx is now moved to /vendor partition. Update the path
in service definition and sepolicy.
Change-Id: Id6ca040f2dae4cdafb406fdbc6d3d718e117c65d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: audio: Enable binderized HIDL interface
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>
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>
audio: Move HALs and policy files to vendor partition
Move the audio policy configuration file and the J6 audio HALs
(primary, JAMR3 and HDMI) to the 'vendor' partition.
Change-Id: I0753cc7ef67425921acaa2f4a7c8c1b4a087d679
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Move the audio policy configuration file and the J6 audio HALs
(primary, JAMR3 and HDMI) to the 'vendor' partition.
Change-Id: I0753cc7ef67425921acaa2f4a7c8c1b4a087d679
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
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.
Change-Id: I10b52df27ad1d4937bfa59a4b2f1b777701c70c0
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
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.
Change-Id: I10b52df27ad1d4937bfa59a4b2f1b777701c70c0
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
jacinto6evm: enable MultiUser configuration
Enable MultiUser related configurations.
Change-Id: Icf14a2f76768709a185cbb131381b1f4a6cc98f6
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Enable MultiUser related configurations.
Change-Id: Icf14a2f76768709a185cbb131381b1f4a6cc98f6
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: move module loading to late-init
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>
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>
jacinto6evm: move soc specific init files to vendor partition
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>
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>
jacinto6evm: fstab: remove system and vendor partition
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>
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>
Revert "jacinto6evm: switch to generic bootanimation"
This reverts commit d9967fb802ebb3c938faa80ab3d53df919ed6421.
Change-Id: I00f88c55c60b6a2bd146d85a6b2c01f48ebbb1df
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
This reverts commit d9967fb802ebb3c938faa80ab3d53df919ed6421.
Change-Id: I00f88c55c60b6a2bd146d85a6b2c01f48ebbb1df
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: modules: add USB mass storage
Add USB mass storage related kernel modules to the list
of vendor modules.
Change-Id: If975a0ee751f275b03603ea6924100a8be763ee2
Signed-off-by: Subash Lakkimsetti <x0091084@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>
jacinto6evm: initial changes for vendor modules
Changes to enable modules loading from vendor
partition. Starting with WLAN drivers.
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: Vishal Mahaveer <vishalm@ti.com>
Changes to enable modules loading from vendor
partition. Starting with WLAN drivers.
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: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: switch to generic bootanimation
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>
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>
jacinto6evm: enable new feature permissions
Add CTS, freeform window management and audio output permissions
Change-Id: I356dce3426e6fe2f555a2d8a114a1608795fb201
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add CTS, freeform window management and audio output permissions
Change-Id: I356dce3426e6fe2f555a2d8a114a1608795fb201
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: don't switch to CAR UI yet
Changes to not enable Car UI for time being.
Change-Id: Id6258112f8adc335a072aeef49d465a4442c6935
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Changes to not enable Car UI for time being.
Change-Id: Id6258112f8adc335a072aeef49d465a4442c6935
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: initial changes for automotive configuration
Initial changes to switch device definition to automotive.
Change-Id: Ifef7519abe65883c37a7387e43288d9241f9e9e6
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Initial changes to switch device definition to automotive.
Change-Id: Ifef7519abe65883c37a7387e43288d9241f9e9e6
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
selinux: grant rx perms to toolbox_exec where needed
[ 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>
[ 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>
jacinto6evm: add vendor partition
Initial changes for creating separate vendor
partition.
Change-Id: If98caaa1d4c65c12c6afe1e60e35f5c37838ea32
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Initial changes for creating separate vendor
partition.
Change-Id: If98caaa1d4c65c12c6afe1e60e35f5c37838ea32
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: initial O changes
Initial changes for building O
Change-Id: I340f2fb47028c6eeef3be546df5659f9971f0044
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Initial changes for building O
Change-Id: I340f2fb47028c6eeef3be546df5659f9971f0044
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: sepolicy: update rules failing build
Change-Id: I9d43bbab7fad82815fcb6d4dbb3cf0547ef37121
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Change-Id: I9d43bbab7fad82815fcb6d4dbb3cf0547ef37121
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: add boot partition to fstab
Adding boot partition info to fstab.
Change-Id: I01103945479dbc0d627349451c552d0ced0327f2
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Adding boot partition info to fstab.
Change-Id: I01103945479dbc0d627349451c552d0ced0327f2
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: add WallpaperPicker to product packages
Needed for changing wall paper.
Change-Id: I9697504914feda16100957eb96d14d9d4843dfef
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Needed for changing wall paper.
Change-Id: I9697504914feda16100957eb96d14d9d4843dfef
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: sepolicy: update rules for N
- Allow pvrinit to access sysfs
- Add configfs rules that are not covered in core policies
- allow mediacodec to access rpmsg device
Change-Id: Ib6e046955adaa4e58b1c76e953bb8c8eacbf85f1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
- Allow pvrinit to access sysfs
- Add configfs rules that are not covered in core policies
- allow mediacodec to access rpmsg device
Change-Id: Ib6e046955adaa4e58b1c76e953bb8c8eacbf85f1
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: update cpuset configuration
In Nougat top-app/cpus needs to be updated for cpuset
Change-Id: Ibf55973a1c8087a8ebef1ce8ac9b77cf0810fb42
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
In Nougat top-app/cpus needs to be updated for cpuset
Change-Id: Ibf55973a1c8087a8ebef1ce8ac9b77cf0810fb42
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: sepolicy: update i2c device definitions
Remove duplicate defenition of i2c device type, it is now defined
in core selinux policies. This also resolves the build issue
with Nougat MR2.
Change-Id: I90b36b33afe4f1c1bf73edff772f5352402fbb1b
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Remove duplicate defenition of i2c device type, it is now defined
in core selinux policies. This also resolves the build issue
with Nougat MR2.
Change-Id: I90b36b33afe4f1c1bf73edff772f5352402fbb1b
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Merge remote-tracking branch 'omap-mirror/d-marshmallow-mr3-release' into d-nougat-mr2.1-release
Conflicts:
kernel
sepolicy/init.te
Change-Id: I205f056dc87e02e9ac3e32332511c500785d53fb
Conflicts:
kernel
sepolicy/init.te
Change-Id: I205f056dc87e02e9ac3e32332511c500785d53fb
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>
Updating the recovery UI format from RGB565 to BGRA format.
Change-Id: Ia6e2841912b45c3aafa41d767be34d0426d3e506
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
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>
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>
media_codecs.xml: Add max number of concurrent instance support
Change-Id: I2168b4adc84e6796aa63f9ff99df313fed94265e
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Change-Id: I2168b4adc84e6796aa63f9ff99df313fed94265e
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
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>
This is required to enable persitent surface encoding.
Change-Id: I9fcbdda5323d5194e28c7de7b07dbc1496567050
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
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>
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>
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>
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>
jacinto6evm: Add feature for voice recognition software
Add permission for voice recognition software.
Change-Id: I18259bc181eeb3f9259731f6a5049e46236ae7f5
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add permission for voice recognition software.
Change-Id: I18259bc181eeb3f9259731f6a5049e46236ae7f5
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
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>
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>
Remove GNSS devices and BT services which are no longer needed.
Change-Id: I42032ba1608789dd80c7fde7fc7c0eb4a56f8a37
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
wlan drivers are now built in to kernel. Remove corresponding
insmod lines.
Change-Id: I94a9b5215f8d5f43e74eaded912a2f1ef17dee28
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
This reverts commit ed339cd7ba59db62b9ed65d2a540d4fd68f03f41.
Cleanup legacy configurations that are no longer used.
Change-Id: I152418648937558befe3a80ff2695a3d5b64b451
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
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>
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>
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>
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>
Initial rules for lad_dra7xx daemon
Change-Id: I4cff5b47bf978dc87c05bc43926b34899981eefb
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: Don't use logwrapper for lad and RadioApp
Change-Id: Idc0a8f09c4952901e2bb7eb404e4d28ac32b8e13
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Change-Id: Idc0a8f09c4952901e2bb7eb404e4d28ac32b8e13
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
TEMP: disable bluetooth hardware feature
Remove Bluetooth permissions for time being.
Change-Id: I8969566e268376f323c0998afe37480acf9bcac6
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Remove Bluetooth permissions for time being.
Change-Id: I8969566e268376f323c0998afe37480acf9bcac6
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Revert "jacinto6evm: changes for defining auto platform"
This reverts commit d0e55148e19bb6ba3401b6ad913154697cb65af0.
This reverts commit d0e55148e19bb6ba3401b6ad913154697cb65af0.
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>
Update the dtb file name for handling J6Entry Rev-A.
Change-Id: Ib7b10afc6c47cc0950ab5699dbc1dabd7fd3ed3d
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Merge remote-tracking branch 'omap-mirror/d-marshmallow-mr2-release' into d-nougat-release
Merge "jacinto6evm: add vsync offsets" into d-marshmallow-mr2-release
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>
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>
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>
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>
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>
TI decoders can decode any stream which is aligned with 2x2.
Change-Id: Ica0decd34849aa668653a854b87dfcded24a60cc
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
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>
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>
Start the lad_dra7xx service with GateMP support.
Change-Id: I194f8cf2b046eb3d8a08fd4366a0df693fc47ab8
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Revert "jacinto6evm: TEMP: disable wlan/wpan firmware makefiles"
This reverts commit ff771bbc38e9a8ed13f004b527a09ed1600cd4d7.
The firmware extraction using Android build system is fixed in
device/ti/proprietary-open project
c260ee9 (wl12xx: fix build issue and align firmware extraction)
Change-Id: Ifa8f7d159786bdf72a27cb698c359cc3aabffe50
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
This reverts commit ff771bbc38e9a8ed13f004b527a09ed1600cd4d7.
The firmware extraction using Android build system is fixed in
device/ti/proprietary-open project
c260ee9 (wl12xx: fix build issue and align firmware extraction)
Change-Id: Ifa8f7d159786bdf72a27cb698c359cc3aabffe50
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: update prebuilt kernel to recent
Update prebuilt kernel image to recent version.
Change-Id: Ib74eefe6ac07c1d0cb61c4b6dff2e4b68d96199d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Update prebuilt kernel image to recent version.
Change-Id: Ib74eefe6ac07c1d0cb61c4b6dff2e4b68d96199d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: changes for defining auto platform
Define the default uitype to car[1] and define the
hardware as automotive type.
[1] https://developer.android.com/reference/android/content/res/Configuration.html#UI_MODE_TYPE_CAR
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Define the default uitype to car[1] and define the
hardware as automotive type.
[1] https://developer.android.com/reference/android/content/res/Configuration.html#UI_MODE_TYPE_CAR
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: TEMP: disable wlan/wpan firmware makefiles
The way WLAN/WPAN firmware gets copied to final build needs to
be relooked at. Latest AOSP build system is giving permission
errors when building them.
Disable for time being.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
The way WLAN/WPAN firmware gets copied to final build needs to
be relooked at. Latest AOSP build system is giving permission
errors when building them.
Disable for time being.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Revert "jacinto6evm: sepolicy: updates for configFS"
This reverts commit 1ff27277f3bf42c81e2d3c398468fc2468d4471c.
Configfs rules added in default sepolicy.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
This reverts commit 1ff27277f3bf42c81e2d3c398468fc2468d4471c.
Configfs rules added in default sepolicy.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Revert "jacinto6evm: sepolicy: allow init to delete symlinks on /config"
This reverts commit 64caf5c82d17537a9281ae8d3fe99b7e5defbd92.
Configfs rules added in default sepolicy.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
This reverts commit 64caf5c82d17537a9281ae8d3fe99b7e5defbd92.
Configfs rules added in default sepolicy.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: TEMP: remove custom wallpaper
This is generating build erros with latest AOSP build.
Remove it for time being.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
This is generating build erros with latest AOSP build.
Remove it for time being.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: remove COMMON_GLOBAL_CFLAGS
Latest Android does not support defining COMMON_GLOBAL_CFLAGS from
BoardConfig.mk
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Latest Android does not support defining COMMON_GLOBAL_CFLAGS from
BoardConfig.mk
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>