7 years agoMerge branch 'd-nougat-release' of git://git.omapzoom.org/device/ti/jacinto6evm into... d-nougat-release
Merge branch 'd-nougat-release' of git://git.omapzoom.org/device/ti/jacinto6evm into d-nougat-release
* 'd-nougat-release' of git://git.omapzoom.org/device/ti/jacinto6evm:
TEMP: disable bluetooth hardware feature
Revert "jacinto6evm: changes for defining auto platform"
jacinto6evm: add vsync offsets
jacinto6evm: remove extra hardware feature
jacinto6evm: media_codecs.xml: fix alignment value
jacinto6evm: Set product files and packages for APPE based audio
jacinto6evm: Add the 'radio_app' service
jacinto6evm: Start lad_dra7xx with GateMP
jacinto6evm: Set permissions for IPC daemon and device files
jacinto6evm: Set 'media' user for i2c devices
jacinto6evm: update ramdisk offset
jacinto6evm: sepolicy: add rules for cpuset script
jacinto6evm: sepolicy: update pvr module_load permission
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* 'd-nougat-release' of git://git.omapzoom.org/device/ti/jacinto6evm:
TEMP: disable bluetooth hardware feature
Revert "jacinto6evm: changes for defining auto platform"
jacinto6evm: add vsync offsets
jacinto6evm: remove extra hardware feature
jacinto6evm: media_codecs.xml: fix alignment value
jacinto6evm: Set product files and packages for APPE based audio
jacinto6evm: Add the 'radio_app' service
jacinto6evm: Start lad_dra7xx with GateMP
jacinto6evm: Set permissions for IPC daemon and device files
jacinto6evm: Set 'media' user for i2c devices
jacinto6evm: update ramdisk offset
jacinto6evm: sepolicy: add rules for cpuset script
jacinto6evm: sepolicy: update pvr module_load permission
Signed-off-by: Praneeth Bajjuri <praneeth@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.
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>
Merge branch 'd-nougat-release' of git://git.omapzoom.org/device/ti/jacinto6evm into d-nougat-release
* 'd-nougat-release' of git://git.omapzoom.org/device/ti/jacinto6evm:
Revert "jacinto6evm: TEMP: disable wlan/wpan firmware makefiles"
jacinto6evm: update prebuilt kernel to recent
jacinto6evm: changes for defining auto platform
jacinto6evm: TEMP: disable wlan/wpan firmware makefiles
Revert "jacinto6evm: sepolicy: updates for configFS"
Revert "jacinto6evm: sepolicy: allow init to delete symlinks on /config"
jacinto6evm: TEMP: remove custom wallpaper
jacinto6evm: remove COMMON_GLOBAL_CFLAGS
jacinto6evm: sepolicy: allow init to delete symlinks on /config
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* 'd-nougat-release' of git://git.omapzoom.org/device/ti/jacinto6evm:
Revert "jacinto6evm: TEMP: disable wlan/wpan firmware makefiles"
jacinto6evm: update prebuilt kernel to recent
jacinto6evm: changes for defining auto platform
jacinto6evm: TEMP: disable wlan/wpan firmware makefiles
Revert "jacinto6evm: sepolicy: updates for configFS"
Revert "jacinto6evm: sepolicy: allow init to delete symlinks on /config"
jacinto6evm: TEMP: remove custom wallpaper
jacinto6evm: remove COMMON_GLOBAL_CFLAGS
jacinto6evm: sepolicy: allow init to delete symlinks on /config
Signed-off-by: Praneeth Bajjuri <praneeth@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>
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>
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>
7 years agoMerge branch 'd-marshmallow-mr2-release' of git://git.omapzoom.org/device/ti/jacinto6... d-marshmallow-release
Merge branch 'd-marshmallow-mr2-release' of git://git.omapzoom.org/device/ti/jacinto6evm into d-marshmallow-release
* 'd-marshmallow-mr2-release' of git://git.omapzoom.org/device/ti/jacinto6evm:
jacinto6evm: update fastboot script for J6 ECO Rev C
jacinto6evm: add modetest to product packages
media_codecs.xml: Publish AdaptivePlayback feature for AVC decoder
jacinto6evm: correct typo in usb rc file
jacinto6evm: fastboot: fix board_rev handling
jacinto6evm: fastboot: enable qspi flashing
jacinto6evm: add BOARD_GPU_DRIVERS
jacinto6evm: sepolicy: update crda rule for kernel4.4
jacinto6evm: sepolicy: updates for configFS
jacinto6evm: enable configFS based adb
jacinto6evm: media_codecs.xml: Define Limits for each mime type
jacinto6evm: update fastboot script for latest u-boot
jacinto6evm: remove dummy wake_lock
jacinto6evm: sepolicy: update block device names
jacinto6evm: fstab: update for Kernel 4.4
jacinto6evm: media_codecs: Add attributes for HW Codecs
jacinto6evm: update fastboot script for Kernel 4.4
TEMP: jacinto6evm: disable bluetooth
jacinto6evm: configure cpusets for J6 and J6 Eco
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* 'd-marshmallow-mr2-release' of git://git.omapzoom.org/device/ti/jacinto6evm:
jacinto6evm: update fastboot script for J6 ECO Rev C
jacinto6evm: add modetest to product packages
media_codecs.xml: Publish AdaptivePlayback feature for AVC decoder
jacinto6evm: correct typo in usb rc file
jacinto6evm: fastboot: fix board_rev handling
jacinto6evm: fastboot: enable qspi flashing
jacinto6evm: add BOARD_GPU_DRIVERS
jacinto6evm: sepolicy: update crda rule for kernel4.4
jacinto6evm: sepolicy: updates for configFS
jacinto6evm: enable configFS based adb
jacinto6evm: media_codecs.xml: Define Limits for each mime type
jacinto6evm: update fastboot script for latest u-boot
jacinto6evm: remove dummy wake_lock
jacinto6evm: sepolicy: update block device names
jacinto6evm: fstab: update for Kernel 4.4
jacinto6evm: media_codecs: Add attributes for HW Codecs
jacinto6evm: update fastboot script for Kernel 4.4
TEMP: jacinto6evm: disable bluetooth
jacinto6evm: configure cpusets for J6 and J6 Eco
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
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>
Update the dtb file name for Rev-C based on latest kernel.
Change-Id: I0543a7553e576ced594a7ea6637748f2c06a1e9f
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
Add modetest to list of product packages for installation.
Change-Id: Idb859465d6bb9329982c93e2868a828922ffbfaf
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
media_codecs.xml: Publish AdaptivePlayback feature for AVC decoder
Change-Id: I9ade6a1a47447741e2683c201c702ed0d83e271a
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Change-Id: I9ade6a1a47447741e2683c201c702ed0d83e271a
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
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>
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>
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>
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>
jacinto6evm: fastboot: enable qspi flashing
Enable qspi flashing instructions in fastboot script.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Enable qspi flashing instructions in fastboot script.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
Update socket class name for kernel4.4
Change-Id: I6a7143e9072371a7748b5007e3a9d2b4a9b41082
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: sepolicy: updates for configFS
selinux updates for configFS
Change-Id: If9bfeef4ec8b2ef3293bbb2fedb777cb9839b3f4
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
selinux updates for configFS
Change-Id: If9bfeef4ec8b2ef3293bbb2fedb777cb9839b3f4
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
jacinto6evm: media_codecs.xml: Define Limits for each mime type
Change-Id: Icae9b148ba31f7e37ff852ba0648e2c012d8fbce
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Change-Id: Icae9b148ba31f7e37ff852ba0648e2c012d8fbce
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
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>
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>
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>
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>
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>
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>
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>
Update fstab.jacinto6evmboard to match Kernel 4.4 sysfs path.
Change-Id: I8fc0cefec61f98a527957e5e8b51237c04a217ac
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: media_codecs: Add attributes for HW Codecs
Add attributes for hardware codecs.
Change-Id: Ibbcf4bf03cb39e38e7057e8e716e0930a2446a9c
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Add attributes for hardware codecs.
Change-Id: Ibbcf4bf03cb39e38e7057e8e716e0930a2446a9c
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
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>
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>
TEMP: jacinto6evm: disable bluetooth
Temporarily disable bluetooth for Kernel 4.4 bringup.
Change-Id: Id4d2d4d8200ef3cf8e401a74dfe9833ca1d87548
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Temporarily disable bluetooth for Kernel 4.4 bringup.
Change-Id: Id4d2d4d8200ef3cf8e401a74dfe9833ca1d87548
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
Temp : Disable connectivity
Disable connectivity for initial bringup.
To be renabled later.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Disable connectivity for initial bringup.
To be renabled later.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
audio: Use preallocated card indices
Use preallocdated indices for primary and HDMI sound cards.
* primary: hw:0
* HDMI: hw:1
* BT card: hw:2
* JAMR3:hw:3
This removes a dependency on a OMAP_ENHANCEMENT change in
tinyalsa.git.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Use preallocdated indices for primary and HDMI sound cards.
* primary: hw:0
* HDMI: hw:1
* BT card: hw:2
* JAMR3:hw:3
This removes a dependency on a OMAP_ENHANCEMENT change in
tinyalsa.git.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
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>
Use board revision to decide on which dtb to flash.
Change-Id: If33594d54dd52c7b6e22843527d6ec1464ca8f17
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
jacinto6evm: fstab: remove unused partition
Remove unused partition from fstab.
Change-Id: I321cfee2eff93a886f158dfc84e46aff90e66a0d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Remove unused partition from fstab.
Change-Id: I321cfee2eff93a886f158dfc84e46aff90e66a0d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
Add /dev/sw_sync as gpu_device.
Change-Id: I30895a125abea5ace90d6378290b24eb42af9769
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
e2fsck package is directly added via core.mk, removing
redundant addition.
Change-Id: I1271d584089294c56e46f5fa58623954b674e2fa
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
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>
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>
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>
jacinto6evm: add user build option
Add option for user build (for experiments)
Change-Id: Ib3f8b4328b64aa05095d0bd47a218d3b3ead6c66
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add option for user build (for experiments)
Change-Id: Ib3f8b4328b64aa05095d0bd47a218d3b3ead6c66
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
Revert "jacinto6evm: dev node permissions for sw_sync"
This reverts commit 42bf6b70bde254e2fe624498e6c857b55b0f78b9.
Change-Id: Ie2be0add9fe318acdee6e6ffbf1d3512ac99efe5
This reverts commit 42bf6b70bde254e2fe624498e6c857b55b0f78b9.
Change-Id: Ie2be0add9fe318acdee6e6ffbf1d3512ac99efe5
jacinto6evm: dev node permissions for sw_sync
Change-Id: I4b6da4fdc757496e349ff1487dd656f81d6e7add
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Change-Id: I4b6da4fdc757496e349ff1487dd656f81d6e7add
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
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>
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>
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>
The new boot animation is very heavy.
Disabling it for tiem being.
Change-Id: Ifbc3f15247737f5427d2b1855e9b288054e3c473
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Merge remote-tracking branch 'omap-mirror/d-lollipop-mr1-release' into d-marshmallow-release
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>
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>
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>
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>
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>
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>
Merge remote-tracking branch 'omap-mirror/d-lollipop-mr1-release' into d-marshmallow-release
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>
Allow system server to access rpmsg device.
Change-Id: Id916392eb7231ab03f5c39430e4fa5dfb515d3f9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
Add idc file for supporting new touch screen controller
Change-Id: I16b50e467a921dc2cf0736b42b5f3e4783917cd8
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: another update on boot animation
Minor update to boot animation
Change-Id: I46a2defcc80c55a314d16ec8dc9c72d0b83cd899
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Minor update to boot animation
Change-Id: I46a2defcc80c55a314d16ec8dc9c72d0b83cd899
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: update boot animation
Update boot animation for M
Change-Id: Ic86fc7c2a4a7480ec82f455fe6d73b1610e8c480
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Update boot animation for M
Change-Id: Ic86fc7c2a4a7480ec82f455fe6d73b1610e8c480
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
WLAN was temporarily disabled for bring up, re-enabling now.
Change-Id: I0f59068a331031e54509da854f88618a2b91431d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
jacinto6evm: allow init to create symlinks
Allow init to create /mnt/sdcard symlink
Change-Id: I0c385dbdc66f525875dab763ab49393331a8c877
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Allow init to create /mnt/sdcard symlink
Change-Id: I0c385dbdc66f525875dab763ab49393331a8c877
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
Add types for block device partitions defined in fstab.
Change-Id: I72310678e17ce11e4dfc55d534cae59f2e699278
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
- 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>
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>
For initial bring up, disable wlan and radio component builds
Change-Id: Iaeee42057c56355331072e9bc8a23b492cbcd1a2
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
All files under BOARD_SEPOLICY_DIRS is unioned by default now.
Change-Id: If52890d630aaf88874ac74c6a3938769e065ebea
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: switch to Launcher3
Switch to Laucher3 from Launcher2
Change-Id: I2bc9c7f6aacc8de902003dec56a86eb6604b5c76
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Switch to Laucher3 from Launcher2
Change-Id: I2bc9c7f6aacc8de902003dec56a86eb6604b5c76
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: change default layout and wallpaper
Update default workspace and wallpaper of launcher
Change-Id: I07bb805eb6821b3e3b089bc29e444d457c1e5cfc
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Update default workspace and wallpaper of launcher
Change-Id: I07bb805eb6821b3e3b089bc29e444d457c1e5cfc
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: define sync graphics node
Define sync dev node as gpu_device
Change-Id: I6870b8ea5b75c3e3b512fe6ad770d4c15bda5ec0
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Define sync dev node as gpu_device
Change-Id: I6870b8ea5b75c3e3b512fe6ad770d4c15bda5ec0
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
Add permission for pvr native sync device node.
Change-Id: I0613576a29bdc589b77fb05cfd787d68da580025
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
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>
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>
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>
Add lines to load 2d blitter (gc320) kernel module.
Change-Id: I86a902f89926e240a793516b7750e27f20c81cf1
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Merge "audio: primary: Do not set explicit BT PCM thresholds" into d-lollipop-mr1-release
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>
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>
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>
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>
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>
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>
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>
These denials are seen with WLAN and are not harmful.
Ignore them.
Change-Id: I62a0143fa750abfd8840e67b854d55f558695ec9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
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>
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>
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>
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>
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>
Allow camera hal to scan for video devices.
Change-Id: I08cd422ddc4e0165b1d3e883f968ec70d533d069
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: add rule for mediaserver/rpmsg
Add sepolicy rules for mediaserver/rpmsg
Change-Id: I070f4a1acbb0af6961083483c33b899b9d023ac8
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add sepolicy rules for mediaserver/rpmsg
Change-Id: I070f4a1acbb0af6961083483c33b899b9d023ac8
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
crda is executed vis ueventd rules from kernel.
Add rules for the same.
Change-Id: I8058e0279ca6d77709bca362e12eaceaefb42715
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
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>
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>
jacinto6evm: fix typo in bluetooth device name
Fix typo in bluetooth device name of SELinux policy
Change-Id: I4d67d08a287bf1eb8a3006303e2313675626ffe9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Fix typo in bluetooth device name of SELinux policy
Change-Id: I4d67d08a287bf1eb8a3006303e2313675626ffe9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
jacinto6evm: add initial policies for graphics
Add policies for graphics binaries and device.
Reference for pvr taken from device/asus/fugu project
Change-Id: I8dba7b622096cdff8b609a9973a9e960b06b572c
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add policies for graphics binaries and device.
Reference for pvr taken from device/asus/fugu project
Change-Id: I8dba7b622096cdff8b609a9973a9e960b06b572c
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>