summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* am57xevm: idk: fastboot.sh: Add Rev 1.3B supportHEADd-marshmallow-mr3-releaseJacob Stiffler2017-06-141-3/+3
| | | | | | | | | | Add support to fastboot script for Rev 1.3B IDK platform Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> [cleanup ,resolve merge conflict and upload to gerrit] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I4d5c2ef2f3dd73dcefae08305c0c2a6fd9f89c15
* am57xevm: fastboot: resize userdata.img in PRODUCT_OUT directoryJacob Stiffler2017-06-091-5/+5
| | | | | | | | * Use the same abstraction for resizing the userdata.img as is used for flashing. Change-Id: I29ad39217fe325ca8a8b3bbcf5aa5c5b27d43c01 Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
* am57xevm: Enable general purpose PRU firmwaresJason Reeder2017-05-041-0/+1
| | | | | | | Enable general purpose PRU firmwares on the AM57xx devices. Change-Id: I2aa9e55d87994fe660ef3456b8b94c485200f668 Signed-off-by: Jason Reeder <jreeder@ti.com>
* am57xevm: fastboot: Add QSPI support for IDK bootJason Reeder2017-05-041-2/+7
| | | | | | | | Allow the script to detect an IDK board and then flash MLO and u-boot into QSPI instead of eMMC. Change-Id: Ia524669aec5bf09b1a7d4f9c3f914ab54e885f2e Signed-off-by: Jason Reeder <jreeder@ti.com>
* am57xevm: install pru modulesPraneeth Bajjuri2017-05-021-0/+6
| | | | | | | | | | | | | Build pruss as modular and copy the modules to /system/lib/modules using adb restart device for init script to pick up the modules Change-Id: I1c614d63bd0e568656e128efa6402384ddbfb979 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Conflicts: init.am57xevmboard.rc
* am57xevm: Enable PRU Ethernet on IDK boardsJason Reeder2017-04-071-0/+1
| | | | | | | Enable PRU Ethernet on IDK boards. Change-Id: I28290af5b6eb7ffa37c0a9c430226b14d087db6c Signed-off-by: Jason Reeder <jreeder@ti.com>
* am57xevm: idk: update correct dtb file in fastboot scriptPraneeth Bajjuri2017-02-271-1/+1
| | | | | | | | | | | am572x-idk-lcd-osd101t2587.dtb is the default dtb for am572-idk-lcd configuration. this patch updates fastboot.sh script to pick the right one. Change-Id: I7164c7a31f11e678a455318239d2bc7d1563eb10 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Reeder, Jason <jreeder@ti.com>
* am57xevm: fastboot: Add AM571 IDK flashing supportReeder, Jason2017-02-011-0/+2
| | | | | | | | Add board detection logic in fastboot script for AM571IDK platform Change-Id: I55ec088a3db923372bbc1ba4eefb00f1cd4af7bb Signed-off-by: Reeder, Jason <jreeder@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: remove efs partitionPraneeth Bajjuri2017-01-264-36/+0
| | | | | | | | remove factory or efs partition flashing as this is not applicable for the current configuration. Change-Id: I9434abb5d7057645a59d4f7959f4c1c457a7036b Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xem: update reference 4.4 kernel imagePraneeth Bajjuri2017-01-261-0/+0
| | | | | | | | | 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: Icbd47df004a08d96de13eb6322af3a43b8695189 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: sepolicy: remove BT policyPraneeth Bajjuri2017-01-251-3/+3
| | | | | | | | remove BT policy (temp) as the feature is not enabled yet. Change-Id: Ia36109294b6a9f2b487383d2dc35e35ab0d54906 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: Add feature for voice recognition softwareVishal Mahaveer2017-01-251-0/+1
| | | | | | | | | | | | | | | Add permission for voice recognition software. Needed for CTS picked from http://review.omapzoom.org/#/c/38044 Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [picked to am57xevm project] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: Ib5992d7361f1d22efcb599c530c7fb9b19e5ed2e
* am57xevm: add media_codecs_performance.xmlAngela Stegmaier2017-01-252-0/+98
| | | | | | | | | | | | | | | | | | | | | 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/GPEVM. Similar to http://review.omapzoom.org/#/c/38125 Change-Id: I8c8eaf197493d9c92757d966c46264d227a85eba Signed-off-by: Angela Stegmaier <angelabaker@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: sepolicy: adapt file_contextsVishal Mahaveer2017-01-251-2/+2
| | | | | | | | Base rules from jacinto6evm needs minor modification for am57xevm. Change-Id: Ifd2a566be73f719a220a5e8d01e50ae08677cae6 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* am57xevm: device.mk: fix merge error #endifPraneeth Bajjuri2017-01-171-0/+1
| | | | | | | | | | during jacinto6evm to am57xevm patches migration accidentally removed #endif this patch fixes the typo. Change-Id: I72dcc9f42530edc0a9d45ab9802bcf5e69bc4fda Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* enable systrace functionalityVishal Mahaveer2017-01-171-1/+7
| | | | | | | | | | | | | | Enable systrace support for jacinto6evm. Most of the permission configurations are done by "init.trace.rc", these are additional permissions needed. Needed for CTS Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [move to am57xevm] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: Ieef6535094dfc7db1d36a62344988b873ce7337e
* Cleanup: Remove unapplicable servicesVishal Mahaveer2017-01-172-43/+0
| | | | | | | | | | | | | Cleanup legacy configurations that are no longer used. Removing GNSS GPS service Also remove old WLAN services and links Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [move to am57xevm] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I60a09c9b2c6fe92d6ed4a3a5d0e31a25ed5cc74e
* audio: primary: Allocate temporary buffer for resamplingMisael Lopez Cruz2017-01-171-19/+23
| | | | | | | | | | | | | 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 APPEMisael Lopez Cruz2017-01-177-0/+50
| | | | | | | | 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 daemonVishal Mahaveer2017-01-173-0/+27
| | | | | | | Initial rules for lad_dra7xx daemon Change-Id: I4cff5b47bf978dc87c05bc43926b34899981eefb Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* Don't use logwrapper for lad and RadioAppMisael Lopez Cruz2017-01-171-2/+2
| | | | | | | | Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> [move to am57xevm] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I63b2a26e56085e0a33df12fd134e8ab740b92e10
* add vsync offsetsGowtham Tammana2017-01-171-0/+4
| | | | | | | | | | | | Add vsync offsets for the sw vsync used by DispSync in the SurfaceFlinger framework. Initial offsets are based of on hammerhead device. Signed-off-by: Gowtham Tammana <g-tammana@ti.com> [move to am57xevm] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: Ib82be7fc269c2c30838f51e41bac7c662958658f
* jacinto6evm: remove extra hardware featureVishal Mahaveer2017-01-171-2/+1
| | | | | | | | 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 valueVishal Mahaveer2017-01-171-4/+4
| | | | | | | TI decoders can decode any stream which is aligned with 2x2. Change-Id: Ica0decd34849aa668653a854b87dfcded24a60cc Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* Set product files and packages for APPE based audioPraneeth Bajjuri2017-01-172-1/+24
| | | | | | | | | | | | | | | | 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. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> [move to am57xevm but do not enable APPE/JAMR changes as they might be not applicable on this EVM] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I2911e58fcefb4c8dd5e8bbda1ff01f816aa57f31
* Add the 'radio_app' serviceMisael Lopez Cruz2017-01-171-0/+7
| | | | | | | | | | | The radio_app service runs the VIS_SDK's RadioApp with ethernet interface. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> [move to am57xevm] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I6189784d1ef06fd158001b6782c329c8ea0a5787
* Start lad_dra7xx with GateMPPraneeth Bajjuri2017-01-171-2/+1
| | | | | | | | | Start the lad_dra7xx service with GateMP support. Change-Id: I194f8cf2b046eb3d8a08fd4366a0df693fc47ab8 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> [move to am57xevm] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* Set permissions for IPC daemon and device filesMisael Lopez Cruz2017-01-172-4/+8
| | | | | | | | | | | | | | | | | | | | | | | Add permissions and user/group for: * /dev/hwspinlock. It's used to lock/unlock specific hwspinlock instances through ioctls * /dev/uio0: It's is assumed to be user-space I/O driver for the SR0 shared region. * /dev/cmem The user/group is set to media:system as the main users for these IPC related devices will be audio (which runs as the 'media' user) and radio (which is assumed to be a system app that runs in the 'system' group). The LAD daemon user also needs to be changed to 'media' for the same reasons described above. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> [move from jacinto6evm to am57xevm] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I10d955dfa9851050fab6f8eb6926599f4dfb9e8b
* Set 'media' user for i2c devicesPraneeth Bajjuri2017-01-171-4/+4
| | | | | | | | | | | | | | | | | | | | | The i2c devices are used by the radio and APPE user-space components, mainly to configure the analog codecs for DSP rendering and to configure radio tuners. The user/group is set to media:system in order to allow the APPE part to be started from the Audio HAL (which runs as the 'media' user). At the moment, not all i2c devices are accessed by the 'media' user but having them all accessible by media user provides more flexibility in case the analog codecs are moved to different i2c buses. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> [migrate from jacinto6evm to am57xevm] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I397b8bd1becba40f78cc91d16838a062e6ee31d0
* BoardConfig: update ramdisk offsetPraneeth Bajjuri2017-01-171-1/+1
| | | | | | | | | | 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: I3787e249cfcb1d99d62b198ad4521efc64b8d313 Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* jacinto6evm: sepolicy: add rules for cpuset scriptVishal Mahaveer2017-01-172-0/+10
| | | | | | | | | | | | | | | | 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 permissionVishal Mahaveer2017-01-171-0/+1
| | | | | | | | | | | | | | 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>
* jacinto6evm: sepolicy: allow init to delete symlinks on /configVishal Mahaveer2017-01-171-2/+1
| | | | | | | | | | | 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>
* am57x: update kernel versionPraneeth Bajjuri2017-01-171-0/+0
| | | | | | | | update kernel version to 4.4.41 commitID: 1412854cd22743561b54f64930103ecf8fa6a270 Change-Id: I34b7aa98d3464ba7e6e9c942517554f8466ad969 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: fastboot.sh: add IDK and X15 targetsPraneeth Bajjuri2016-08-151-0/+4
| | | | | | | update fastboot.sh to add IDK and X15 target EVMs Change-Id: If0964ce4615f9f2e7798a7c1c9886332c1a43677 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: Enable pixcir tangoc TouchscreenPraneeth Bajjuri2016-08-102-0/+26
| | | | | | | Enable pixcir tangoc touchscreen Change-Id: Ib17fbf87c98092f680da4f45b01b52fe5accb943 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57x: update kernel versionPraneeth Bajjuri2016-08-101-0/+0
| | | | | | | update kernel version to 4.4.16 Change-Id: Id1a22a0c92b27a405c1d6e973ab9454dc05c37b0 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: remove symlinks for vendor/lib/hwPraneeth Bajjuri2016-08-051-5/+0
| | | | | | | | | libraries are correctly generated now from device/ti/proprietary-open.git no need to symlink in init.rc Change-Id: I9df91e18a4fe14908ec25d531e4b4022c550eae9 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: fastboot.sh: update script for dtbPraneeth Bajjuri2016-08-031-3/+9
| | | | | | | update script to pick am57x gpevm rev A3 dtb Change-Id: I52d0b76fda8790476150ef25c4bc27dee39c205e Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: Pick and link android librariesPraneeth Bajjuri2016-08-032-1/+6
| | | | | | | pick and link hwc , gralloc libraries Change-Id: Ia9fa1f1452ec2f283558a6553a09bf9c97554a66 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* Revert "Revert "am57xevm: sepolicy: update crda rule for kernel4.4""Praneeth Bajjuri2016-08-021-1/+1
| | | | | | | | | | | This reverts commit fea514d7b9d00fccc18feda595c46fbbb94f47a3. omapzoom picked correct patches from AOSP master to d-marshmallow-mr2-release branch of platform/external/sepolicy. Hence this revert is not needed. We need to keep the crda rules for k4.4 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* Revert "am57xevm: sepolicy: update crda rule for kernel4.4"Praneeth Bajjuri2016-07-291-1/+1
| | | | | | | TMP fix to make build work This reverts commit b166cd614496a78a1640b181db63ef57191ee5ab. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: Fix USB controller addressSam Protsenko2016-07-292-3/+3
| | | | | | | | OTG controller on AM57x EVM is usb2 (488d0000.usb) instead of usb1 (48890000.usb). Fix it in init.am57xevmboard.usb.rc, so ADB can work. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: Fix cpuset configuration for AM57x EVM boardSam Protsenko2016-07-292-5/+3
| | | | | | | | | | | | 1. Fix typo in init.am57xevmboard.rc Obviously the `+' signs are from some patch file and weren't supposed to be there in the first place. 2. Fix board name in device.mk, so init.am57xevmboard.cpuset.sh script can be copied to /system/bin Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: add modetest to product packagesVishal Mahaveer2016-07-191-0/+1
| | | | | | | | Add modetest to list of product packages for installation. Change-Id: Idb859465d6bb9329982c93e2868a828922ffbfaf Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* media_codecs.xml: Publish AdaptivePlayback feature for AVC decoderSunita Nadampalli2016-07-191-0/+1
| | | | | | Change-Id: I9ade6a1a47447741e2683c201c702ed0d83e271a Signed-off-by: Sunita Nadampalli <sunitan@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: correct typo in usb rc filePraneeth Bajjuri2016-07-191-2/+1
| | | | | | | | 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> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: add BOARD_GPU_DRIVERSPraneeth Bajjuri2016-07-191-0/+4
| | | | | | | | BOARD_GPU_DRIVERS is set to `omapdrm` to build only omapdrm libdrm drivers and not other vendors. Signed-off-by: Gowtham Tammana <g-tammana@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: sepolicy: update crda rule for kernel4.4Vishal Mahaveer2016-07-191-1/+1
| | | | | | | | Update socket class name for kernel4.4 Change-Id: I6a7143e9072371a7748b5007e3a9d2b4a9b41082 Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: sepolicy: updates for configFSVishal Mahaveer2016-07-193-0/+8
| | | | | | | | selinux updates for configFS Change-Id: If9bfeef4ec8b2ef3293bbb2fedb777cb9839b3f4 Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>