summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* am57xevm: Initial changes for O MR1d-oreo-mr1-releasePraneeth Bajjuri2017-12-192-2/+21
| | | | | | | - RRO feature results in build break, disbaling for now. - Automotive vehicle service needs to be added explicitly to product Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* Merge branch 'd-oreo-r6-release' of ↵Praneeth Bajjuri2017-12-192-1/+3
|\ | | | | | | | | | | | | | | | | | | git://git.omapzoom.org/device/ti/am57xevm into d-oreo-r6-release * 'd-oreo-r6-release' of git://git.omapzoom.org/device/ti/am57xevm: am57xevm: remove car properties and make am57xevm: fastboot.sh: IDK: update script for picking correct dtb for am572x IDK Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| * am57xevm: remove car properties and makePraneeth Bajjuri2017-12-182-2/+2
| | | | | | | | | | | | | | | | remove car properties and lunch make option since am57xevm configuration needs are different Change-Id: I2326556a58cf0be47b8e6e7dbfb869c394af8d33 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| * am57xevm: fastboot.sh: IDK: update script for picking correct dtb for am572x IDKJason Reeder2017-12-111-0/+2
| | | | | | | | | | | | | | Added a path in the dtb selection logic for the am572x IDK board. Change-Id: I66f84f14a6fe16e4c910dadac0dd1dabc462dc30 Signed-off-by: Jason Reeder <jreeder@ti.com>
* | am57xevm: dont switch to CAR UIPraneeth Bajjuri2017-12-111-0/+8
| | | | | | | | | | | | Changes to not enable Car UI for time being. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* | am57xevm: Enable early mount and make modules loadablePraneeth Bajjuri2017-12-113-18/+27
| | | | | | | | | | | | | | | | | | this is phase-1 of enabling modules and mounting the modules during first stage of android boot. Ref: https://source.android.com/devices/architecture/kernel/modular-kernels#mounting-partitions-early-first-stage-mount Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* | am57xevm: Remove car configurationPraneeth Bajjuri2017-12-083-11/+2
| | | | | | | | | | | | Remove car configuration Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* | Merge branch 'd-oreo-r6-release' of ↵Praneeth Bajjuri2017-12-0721-151/+354
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.omapzoom.org/device/ti/am57xevm into HEAD * 'd-oreo-r6-release' of git://git.omapzoom.org/device/ti/am57xevm: am57xevm: fastboot.sh: IDK: update script for picking correct dtb am57xevm: Install pru modules am57xevm: Enable general purpose PRU firmwares am57xevm: Enable PRU Ethernet on IDK boards am57xevm: change display density to fit small screen am57xevm: sync with device/ti/jacinto6evm am57xevm: include dalvik definitions audio: Combine the JAMR3 HAL into the primary HAL am57xevm: fastboot.sh: update script to pick right dtb am57xevm: fastboot.sh: update script based on new device names am57xevm: update fastboot script for latest u-boot am57xevm: fastboot: fix board_rev handling am57xevm: make modules builtin Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Conflicts: BoardConfig.mk init.am57xevmboard.rc init.recovery.am57xevmboard.rc Change-Id: I5e9999cef10384ddd6202a46eafb02b7ea9b66fb
| * am57xevm: fastboot.sh: IDK: update script for picking correct dtbPraneeth Bajjuri2017-11-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | After the patch : commit a35e0aa406c88cbb3c1b28cef1d4118881eaaf2e "am57xevm: fastboot: fix board_rev handling " Only the first character of the boardrev is used to detect and flash dtb. This patch fixes script to pick correct dtb for IDK. Change-Id: Id3ec94e6f170c18bbc8bf5d091cbb0bd7089612b Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| * am57xevm: Install pru modulesPraneeth Bajjuri2017-11-292-2/+10
| | | | | | | | | | | | | | Install PRU modules in vendor partitions Change-Id: I70c7a8b693a736f478973213f84e8d6cccfe7633 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| * am57xevm: Enable general purpose PRU firmwaresJason Reeder2017-11-291-0/+1
| | | | | | | | | | | | | | Enable general purpose PRU firmwares on the AM57xx devices. Change-Id: I2aa9e55d87994fe660ef3456b8b94c485200f668 Signed-off-by: Jason Reeder <jreeder@ti.com>
| * am57xevm: Enable PRU Ethernet on IDK boardsJason Reeder2017-11-291-0/+1
| | | | | | | | | | | | | | Enable PRU Ethernet on IDK boards. Change-Id: I28290af5b6eb7ffa37c0a9c430226b14d087db6c Signed-off-by: Jason Reeder <jreeder@ti.com>
| * am57xevm: change display density to fit small screenPraneeth Bajjuri2017-11-291-1/+1
| | | | | | | | | | | | | | | | AM57xevm has a smaller screen, hence changing the density to fit appropriately Change-Id: I49eb87999fbdface17008ffd74dad97ae23d2d44 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| * am57xevm: sync with device/ti/jacinto6evmPraneeth Bajjuri2017-11-2918-132/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is to sync am57xevm device project with jacinto6evm -- Retain everything from jactinto6evm (Including auto changes) -- Append am57xevm specific configuration This helps in cleanly cherry-picking patches across device projects. Next TBD: Remove auto only services and configurations Change-Id: I0396d55fa9515b71d0faf241ddb55accf21b2b46 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| * am57xevm: include dalvik definitionsVishal Mahaveer2017-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Conflicts: device.mk
| * audio: Combine the JAMR3 HAL into the primary HALMisael Lopez Cruz2017-11-284-13/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Conflicts: audio/primary/jamr3_mixer_paths.xml device.mk
| * am57xevm: fastboot.sh: update script to pick right dtbPraneeth Bajjuri2017-11-281-4/+4
| | | | | | | | | | | | | | update script to pick up correct dtb and default setting Change-Id: I175d651287cee5757c67b5c545cfe8e78f24bc93 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| * am57xevm: fastboot.sh: update script based on new device namesPraneeth Bajjuri2017-11-281-14/+19
| | | | | | | | | | | | | | | | | | 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>
| * am57xevm: update fastboot script for latest u-bootVishal Mahaveer2017-11-281-1/+1
| | | | | | | | | | | | | | | | | | dra7xx_hs_evm_config/am57x_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> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| * am57xevm: fastboot: fix board_rev handlingVishal Mahaveer2017-11-281-1/+1
| | | | | | | | | | | | | | | | | | Update script to use only first character of board rev. Some boards (IDK) have revision set as "1.3A pr 1.3B" Change-Id: Ifb189deb41f8cd24297ef3979a11b46350f2fa6c Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| * am57xevm: make modules builtinPraneeth Bajjuri2017-11-083-6/+6
| | | | | | | | | | | | | | | | make driver modules builtin till early mount and driver modularization is investigated and fixed accordingly. Change-Id: I4bd353b9cd544fc1a9df2b033dceaa822f65376c Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* | Temp: am57xevm: Make modules built-inPraneeth Bajjuri2017-10-253-17/+17
|/ | | | | | | This is a temp fix , till module loading from vendor partition is investigated Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: remove old EVM touch screen filesPraneeth Bajjuri2017-10-242-2/+1
| | | | | | | | | | | We don't support J6 Rev-D EVM any more, remove corresponding files from build. Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [based on http://review.omapzoom.org/#/c/38649 ] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I8cfb6a1409d4ea0dfd9a3321a98d21f0af7b66a6
* am57xevm: init: cleanup old entriesVishal Mahaveer2017-10-241-25/+0
| | | | | | | | | | | - Remove lines that are already taken care in core/init.rc and atrace.rc - Remove old services Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [based on http://review.omapzoom.org/#/c/38647] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I5fa7fa7115b1dc6cdc35d055195d143363f5a420
* am57xevm: enable RRO on framework-resVishal Mahaveer2017-10-241-0/+3
| | | | | | | | | | | | Convert overlay part of framework-res to RRO. This enables moving overriden part of default settings in framework to vendor partition. Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [based on http://review.omapzoom.org/#/c/38645 ] Change-Id: Iee7c9c6ebc4262b7e85a94202a54f055b2fa2620 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: remove obsolete storage_list.xmlVishal Mahaveer2017-10-241-56/+0
| | | | | | | | | | | storage_list resource overlay is no longer used, this was used prior to Android 5.0. Remove the old file from overlay. Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [port http://review.omapzoom.org/#/c/38644 to am57xevm project] Change-Id: I45c58bb161a38ac8521217e284889f04f4d877db Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: sepolicy: add new rules for hal_camera_defaultVishal Mahaveer2017-10-241-0/+3
| | | | | | | | | | | Changes for addressing new SELinux errors reported with camera HAL. Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [port http://review.omapzoom.org/#/c/38637/ to am57xevm project] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: Ic097a5209284e477556df87c117597053ef6a8eb
* am57xevm: Include camera provider modulesDavid Huang2017-10-242-1/+12
| | | | | | | | | | | Add the default camera provider to build. Camera provider is necessary for camera functionality. Change-Id: Icf78f40bf6a0ba61b30aa62a461761f9934b1b3c Signed-off-by: David Huang <d-huang@ti.com> [port http://review.omapzoom.org/#/c/38630 to am57xevm project] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: use vendor modprobe for loading modulesVishal Mahaveer2017-10-242-1/+3
| | | | | | | | | | | | | | | Use modprobe from vendor parition for loading modules in vendor partition. This fixes the selinux errors like below, [ 5.231785] audit: type=1400 audit(5.229:3): avc: denied { module_load } for pid=136 comm="modprobe" path="/vendor/lib/modules/wlcore.ko" dev="mmcblk0p11" ino=169 scontext=u:r:modprobe:s0 tcontext=u:object_r:vendor_file:s0 tclass=system permissive=1 Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [port http://review.omapzoom.org/#/c/38623/1 to am57xevm device project] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I843e1ecf1531a99bac80ef5b92e9f05568e724ed
* am57xevm: sepolicy: update for pvrsrvkm move to vendor partitionVishal Mahaveer2017-10-241-1/+1
| | | | | | | | | | | | | | | | sepolicy update for recent move of pvr kernel module to vendor partition. This change fixes the below selinux warning [ 7.682370] type=1400 audit(7.679:4): avc: denied { module_load } for pid=187 comm="pvrsrvinit" path="/vendor/lib/modules/pvrsrvkm.ko" dev="mmcblk0p11" ino=160 scontext=u:r:pvr:s0 tcontext=u:object_r:vendor_file:s0 tclass=system permissive=1 based on http://review.omapzoom.org/#/c/38620 Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [port to am57xevm project] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: I845a0eafc640572932c7c8ba3f14f6cdb8de3124
* am57xevm: recovery: add kernel modules for recovery ramdiskPraneeth Bajjuri2017-10-243-1/+30
| | | | | | | | | | Add kernel modules for recovery ramdisk also. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> [based on http://review.omapzoom.org/#/c/38613/] Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Change-Id: I60094b4ec6e671cb195ba5e5282585fc3cbd81ca
* Revert "am57xevm: fstab: remove system and vendor partition"Praneeth Bajjuri2017-10-021-0/+2
| | | | | | | This reverts commit 1296d2db9c24badefb6dbd07c8278ab41779047b. Change-Id: I09a0c00d83d7bb8767f7330b609623ba6db71a55 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: modules: add touch screenPraneeth Bajjuri2017-10-022-0/+7
| | | | | | | | | | | Add touch screen related board specific kernel modules to the list of vendor modules. picked from http://review.omapzoom.org/#/c/38553 Change-Id: I22718591c42ff55c5d71528dc717363966326440 Signed-off-by: Subash Lakkimsetti <x0091084@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: modules: add display panel modulesPraneeth Bajjuri2017-10-022-2/+17
| | | | | | | | | | | Add display panel, encoder and led related kernel modules to the list of vendor modules. picked from http://review.omapzoom.org/#/c/38552 Change-Id: I712fae8a1f6e1887a7d67108b9b1dd7436941092 Signed-off-by: Subash Lakkimsetti <x0091084@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: Set IPC/Radio related permissions to system:mediaPraneeth Bajjuri2017-10-022-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Audio no longer belongs to the 'media' process. It runs in a separated process ('audioserver') so the LAD and IPC files (/dev/cmem, /dev/uio0, /dev/hwspinlock) couldn't be accessed anymore because their ownership was set to media:system. The binderized audio service is started under the 'audioserver' user and several groups including 'media': service audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service class hal user audioserver # media gid needed for /dev/fm (radio) and for /data/misc/media (tee) group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct ... So, changing the group of the LAD and IPC files to 'media' allows the audio service to access them again. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> [picked from http://review.omapzoom.org/#/c/38588] [comment: radio is not applicable to am57xevm hence lad_dra7xx service is not seen in init.am57xevmboard.rc] Change-Id: Ifba0c3c86e84ed28ada1b0078efa06dcfaf2bc49 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* audio: Use XML audio configuration filesPraneeth Bajjuri2017-10-024-104/+79
| | | | | | | | | | | | | | | | | | | Replace the legacy audio_policy.conf with the new XML-based audio policy configuration approach. This version of the audio policy excludes the HDMI HALs because they're currently not being loaded in the binderized mode. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> [picked from http://review.omapzoom.org/#/c/38586 and did not take vendor partition moving change as this is not working with am57x yet] Change-Id: Id2fd413a0a4af46ad769512edad9bb10bcf55edb Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Conflicts: device.mk
* Revert "am57xevm: move soc specific init files to vendor partition"Praneeth Bajjuri2017-10-023-7/+7
| | | | | | | This reverts commit 0c09a0783488d23ddc63437f35d608c623f6a597. Change-Id: I9cfae262e91adbf1008bc93061546e97d30d19c0 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* Revert "am57xevm: move device specific configs to vendor"Praneeth Bajjuri2017-10-023-23/+23
| | | | | | | This reverts commit b9d38ffd5e63b4a452ea03338c62ca26b6cd4975. Change-Id: Ib6087d28df644827feadc74f754866794565bf0e Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* Revert "am57evm: media_profiles: fix sync error"Praneeth Bajjuri2017-10-021-1/+68
| | | | | | | This reverts commit c0930d6978b29922df2dab66e8406951bb836389. Change-Id: I5f3a1805a0570d26b4952e28b98cbe6e47a639cb Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* Revert "am57xevm: modules: add display , touch , sound ,camera and wilink ↵Praneeth Bajjuri2017-10-022-38/+6
| | | | | | | | | modules" This reverts commit 3014c40155a3d3e7b0009750dbf0eba12b15f267. Change-Id: I72f0346b0e458f0a78b0f1223c615e3d8dd041df Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: modules: add display , touch , sound ,camera and wilink modulesPraneeth Bajjuri2017-09-252-6/+38
| | | | | | | | | | | | | Add display panel, encoder and led related kernel modules to the list of vendor modules. Also add Wilink ,touchscreen, camera and sound modules TODO: Remove non am57xevm specific modules later. Change-Id: I0f1165be550cf3a65977fb46f64ca91140e3fe96 Signed-off-by: Subash Lakkimsetti <x0091084@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57evm: media_profiles: fix sync errorPraneeth Bajjuri2017-09-251-68/+1
| | | | | | | | fix sync error in updating media_profiles_V1_0.xml from device/ti/jacinto6evm Change-Id: Ibfb7ef35d0fc5334a2745739fe65058faae82466 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: move device specific configs to vendorPraneeth Bajjuri2017-09-223-23/+23
| | | | | | | | | Move device specific configuration files to vendor partition. Change-Id: I92a9f2f9311514cc43656c090f9bee65208d9ff2 Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [pick http://review.omapzoom.org/#/c/38581/2 to am57xevm] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: code cleanupPraneeth Bajjuri2017-09-195-40/+21
| | | | | | | | misc code cleanup and remove unapplicable services after syncing with jacinto6evm project Change-Id: Ie447de97a03d5a93a5995a02b904bceb327ee65c Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: sync project from jacinto6evmPraneeth Bajjuri2017-09-194-16/+5
| | | | | | | sync project from jacinto6evm for the missing device settings Change-Id: Iff426fa3740023412f5cde0b31315bf4fe377a23 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: reduce lcd display densityPraneeth Bajjuri2017-09-191-1/+1
| | | | | | | reduce display density to fit the ui am57xevm lcd properly Change-Id: If6aa511ec04ddaae2a923b9db1c9b6fd374a1862 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: audio: Enable binderized HIDL interfaceMisael Lopez Cruz2017-09-192-0/+10
| | | | | | | | | | Enable the service side library of the HIDL audio interface so that it can work in binderized mode. Change-Id: Id1369d9bc6d2c8010fef00ca50fcd57eea3c08b3 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> [picked from http://review.omapzoom.org/#/c/38547] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: sync audio from jacinto6evm projectMisael Lopez Cruz2017-09-195-17/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sync hdmi and audio changes from jacinto6evm device project. this patch is combination of audio: Move HALs and policy files to vendor partition Move the audio policy configuration file and the J6 audio HALs (primary and HDMI) to the 'vendor' partition. --- audio: Get card name via mixer_get_name() The card index detection mechanism used in the audio HALs was based on a customized function which isn't part of the tinyalsa library. tinyalsa provides the mixer_get_name() function which also returns the card name. The audio HALs now make the card index detection based on this function and no longer rely on a customized tinyalsa library. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> [synced from jacinto6evm but not jamr3] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Change-Id: Ie1f04cc8d636b4828e265ff6e8d5de0ee7063bab
* am57xevm: enable MultiUser configurationVishal Mahaveer2017-09-191-0/+5
| | | | | | | | | Enable MultiUser related configurations. Change-Id: Icf14a2f76768709a185cbb131381b1f4a6cc98f6 Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [picked from http://review.omapzoom.org/#/c/38544] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am57xevm: move module loading to late-initVishal Mahaveer2017-09-191-0/+1
| | | | | | | | | | Now that we have early mounting of vendor partition enabled, module loading is not dependent on fs. Change-Id: I3a9628d4e507ce2bba92096147c0bb9f9dfb6ca9 Signed-off-by: Vishal Mahaveer <vishalm@ti.com> [picked from http://review.omapzoom.org/#/c/38540] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>