summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* j721e: automotive: Add activities_on_secondary_displays permissiond-android10-core-releaseVishal Mahaveer2019-11-111-0/+1
| | | | | | | Add activities_on_secondary_displays permission for automotive configuration. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* j721e: update pinned file namesVishal Mahaveer2019-11-111-8/+9
| | | | | | Update pinned file names for current Android 10 codebase. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* j721e: opt-in for dynamic kernel module loadingVishal Mahaveer2019-11-011-0/+3
| | | | | | | Add entry in ueventd.rc to opt-in for modalias handling. Current code base needs explicit opt-in. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* j721e: compatibility_matrix: fix build issueVishal Mahaveer2019-10-281-8/+0
| | | | | | | | | | | | | | | Remove entries from compatibility_matrix that build is complaining about. ------ FAILED: out/target/product/j721e/verified_assembled_framework_manifest.xml Not compatible: HALs incompatible. The following requirements are not met: android.hardware.graphics.composer: required: @2.1::IComposer/vr provided: ------ Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* j721e: sepolicy: fix for build issueVishal Mahaveer2019-10-281-3/+0
| | | | | | | | | | | | | | | Remove the sepolicy line causing build issue with Android 10. --------------- build out/target/product/j721e/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests FAILED: out/target/product/j721e/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests /bin/bash -c "(out/host/linux-x86/bin/sepolicy_tests -l out/host/linux-x86/lib64/libsepolwrap.so -f out/target/product/j721e/obj/ETC/plat_file_contexts_intermediates/plat_file_contexts -f out/target/product/j721e/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts -p out/target/product/j721e/obj/ETC/sepolicy_intermediates/sepolicy ) && (touch out/target/product/j721e/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests )" The following types on /system/ must be associated with the "system_file_type" attribute: same_process_hal_file 12:23:08 ninja failed with: exit status 1 --------------- Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* Replace removed resourceSoonil Nagarkar2019-10-281-2/+2
| | | | | | | | | | Fix build break by replacing removed resource. Test: presubmits Change-Id: Ib21a59b7fb32df6d4e7480e97f4d87f968b6ae76 [Cherry-picked from beagle_x15] Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* j721e: Enable Audio playback and record support on J7Chandrashekhar Urkeri2019-10-092-5/+36
| | | | | | | Added audio HAL libraries and xml files. Added tinyalsa tools for verifying the audio playback and record. Acked-by: Vishal Mahaveer <vishalm@ti.com> Acked-By: Misael Lopez Cruz <misael.lopez@ti.com>
* j721e: fstab: update for external storageVishal Mahaveer2019-10-081-0/+5
| | | | | | | Update fstab with entries for SD card slot and USB port to be auto detected by Android. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* j721e: update its file to reflect beta board changesVishal Mahaveer2019-09-231-1/+15
| | | | | | | Update its file to reflect changes in dtb names for alpha and beta boards. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* j721e: sepolicy: allow debugfs access to memtrack halVishal Mahaveer2019-08-283-0/+7
| | | | | | Allow memtrack hal access to pvr and ion debugfs entries. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* j721e: sepolicy: update graphics library namesVishal Mahaveer2019-08-281-23/+12
| | | | | | Update graphics library names for j721e. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* j721e: increase userdata image sizeVishal Mahaveer2019-08-231-1/+1
| | | | | | | | Increase userdata image size to 4 GB. More space needed for installing larger apps. Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Acked-by: Praneeth Bajjuri <praneeth@ti.com>
* j721e: Enable Android Automotive w/ New Lunch TargetJosh Shafran2019-08-215-0/+78
| | | | | | | | | | | | | | | | | | | | | | All changes made to baseline enable full Android Automotive in-vehicle infotainment (IVI) system, presenting an updated boot animation and user interface on J721E platform(s). Car mode is enabled by default and the UI is locked in car mode when using lunch combo j721e_auto-userdebug. https://source.android.com/devices/automotive https://developer.android.com/training/cars Separated the content necessary for Android Auto from baseline tablet interface. Result is two lunch combos: 1) j721e 2) j721e_auto (Each with three build variants: eng, user, userdebug) Signed-off-by: Josh Shafran <j-shafran@ti.com> Tested-by: Vishal Mahaveer <vishalm@ti.com>
* j721e: Change TARGET_PRODUCT name (remove *_full)Josh Shafran2019-08-212-5/+5
| | | | | | | | | Removing the "_full" portion of the TARGET_PRODUCT name to open up possibility for platform expansion, e.g. *_auto. Default target should not have _<label> appension as per current upstream platforms (Google Cuttlefish and AOSP). Signed-off-by: Josh Shafran <j-shafran@ti.com>
* j721e: Migrate away from vendorsetup.sh for lunchJosh Shafran2019-08-212-21/+6
| | | | | | | | | Update method of adding a lunch combo from Oreo-MR1 to current. Remove vendorsetup.sh because this file is depreciated. Update AndroidProducts.mk to add COMMON_LUNCH_CHOICES and PRODUCT_MAKEFILES for each TARGET_PRODUCT. Signed-off-by: Josh Shafran <j-shafran@ti.com>
* j721e: usb.rc: update usb controller nameVishal Mahaveer2019-08-201-1/+1
| | | | | | | Update correct USB controller name for j721e. Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Acked-by: Praneeth Bajjuri <praneeth@ti.com>
* j721e: mount debugfs at initVishal Mahaveer2019-08-161-0/+4
| | | | | | Mount debugfs during boot time. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* Add Infotainment Expansion Overlay to FIT ITS fileAndrew F. Davis2019-07-231-0/+11
| | | | | Signed-off-by: Andrew F. Davis <afd@ti.com> Acked-by: Praneeth Bajjuri <praneeth@ti.com>
* Update fstab mount path for eMMCAndrew F. Davis2019-07-231-4/+4
| | | | | | | | | For early bringup and testing the default fstab partitions targeted the SD card device. Now the we have eMMC and some fastboot support working we can switch to eMMC root by default. Do that here. Signed-off-by: Andrew F. Davis <afd@ti.com> Acked-by: Praneeth Bajjuri <praneeth@ti.com>
* Revert "TEMP: Use infotainment DTB to enable display"Praneeth Bajjuri2019-07-191-1/+1
| | | | | | | | | | | This reverts commit 604f066fce3cb8133e785a9a790968ae10ed8c1e. Common Processor Board is the default base platform and it contains support of eDP0. Reverting the temp infotainment FIT configuration now. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* TEMP: Use infotainment DTB to enable displayAndrew F. Davis2019-05-301-1/+1
| | | | | | | When this is turned into a detectable overlay we can revert this and add the overlay. Signed-off-by: Andrew F. Davis <afd@ti.com>
* j721e: Update fstab to use SD for userdata and boot partitionAndrew F. Davis2019-05-221-8/+4
| | | | | | | | | | | update SDcard instance device node for j721e for userdata and boot partition. For now, boot android from SD (pre-partitioned similar to eMMC flow) move back to eMMC with android partition table and eMMC boot is ready. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* j721e: Grow vendor partition to 1GBAndrew F. Davis2019-05-191-1/+1
| | | | | | | | Due to the size of kernel modules, firmware images, and userspace libraries we have once again filled the vendor partition, double its size. Signed-off-by: Andrew F. Davis <afd@ti.com>
* j721e: Use j721e wakeup kernel ITSAndrew F. Davis2019-05-183-124/+47
| | | | Signed-off-by: Andrew F. Davis <afd@ti.com>
* j721e: Initial rename to J721eAndrew F. Davis2019-05-1713-42/+34
| | | | Signed-off-by: Andrew F. Davis <afd@ti.com>
* am65xevm: sepolicy: fix webview_zygote denial warningsPraneeth Bajjuri2019-05-091-0/+1
| | | | | | fix webview_zygote selinux denial warnings during bootup Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: sepolicy: fix denial warnings in video playbackPraneeth Bajjuri2019-05-092-0/+4
| | | | | | | fix bootup denial warnings with video playback usecase caused by comm="omx@1.0-service" with mediacodec Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: sepolicy: update permissions for fsckPraneeth Bajjuri2019-05-093-8/+4
| | | | | | | mmc_block_device (userdata partition) update permission to include fsck Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: sepolicy: dontaudit wificond module_requestPraneeth Bajjuri2019-05-091-0/+1
| | | | | | dontaudit wificond module_request Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: sepolicy: Add map permissions to vendor_config_filesPraneeth Bajjuri2019-05-092-0/+2
| | | | | | | | | | | | | picked from platform/system/sepolicy 'commit: 3ba03d61106f ("domain.te: Add map permissions to vendor_config_files")' For 4.14+ kernels, we need map permissions for vendor_config_files, for things like kernel loaded firmware blobs, etc. Also updated vendor_init accordingly Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: sepolicy: dontaudit dac_read_searchPraneeth Bajjuri2019-05-095-0/+5
| | | | | | | picked changes from 'commit 88a08af230b58 ("am65xevm: Pulling sepolicies from am57xevm")' Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* sepolicy: Add policy for ion_devicePraneeth Bajjuri2019-05-092-0/+3
| | | | | | | pvr and graphics services uses ion_device now, update sepolicy to fix denials Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* sepolicy: Allow ueventd to request modulesRuslan Trofymenko2019-05-091-0/+1
| | | | | | | Allow ueventd to request the kernel to load modules Signed-off-by: Ruslan Trofymenko <ruslan.trofymenko@linaro.org> Acked-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: sepolicy: Allow ueventd to insert modulesRuslan Trofymenko2019-05-091-0/+4
| | | | | | | | Allow ueventd daemon to load modules in response to modalias events. This patch makes dynamic kernel module loading work in 'enforcing' mode. Signed-off-by: Ruslan Trofymenko <ruslan.trofymenko@linaro.org> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65x: Add TI ICSSG Ethernet firmware for AM65xPraneeth Bajjuri2019-04-256-0/+65
| | | | | | | | | | | | | | | | | | | | picked from Project: http://git.ti.com/cgit/cgit.cgi/processor-firmware/ti-linux-firmware.git/ Branch: ti-linux-firmware CommitID: 534ba03becfa9b39ccbd42b97e091abd94a207e7 Version: DEV.EMAC_LLD.01.00.03.15 As described in the mentioned project, This specific version introduces bug fixes, optimizations and time stamping support for PTP when comparing to old firmware. It breaks old ABI, so device driver needs to be updated as well. Please use matching kernel commit tag: ti2019.01-rc1-android Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* BoardConfig.mk: set value for TARGET_BOOTLOADER_BOARD_NAMEPraneeth Bajjuri2019-03-281-0/+1
| | | | | | | | | | | | | | | | | | set value for TARGET_BOOTLOADER_BOARD_NAME so that there will be value for ro.product.board property, and fix the vts execution problem Log: E/VtsMultiDeviceTest: Device 0e005017394200e2 not available. E/GranularRetriableTestWrapper: Failed to get device information java.lang.RuntimeException: Failed to get device information Similar to fix in aosp: https://android.googlesource.com/device/ti/beagle-x15/+/6970cd55dc1d1ffb6fca86f50890478d6be108f5 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Tested-by: Mykhailo Sopiha <mykhailo.sopiha@linaro.org>
* am65x: update FIT configuration to include additional overlaysPraneeth Bajjuri2019-03-281-0/+55
| | | | | | | | | | | | | | | | | AM654x EVM supports additional overlays. This patch is to include overlays * CSI2 OV490 camera * Toshiba TC358876 based expansion board * IDK application board * PCIe + USB2.0 SERDES personality card * PCIe + USB3.0 SERDES personality card EEPROM detech logic in bootloader should take care of loading the needed overlay when a specific card is connected. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: remove userdata resize from fastboot.shPraneeth Bajjuri2019-03-141-63/+1
| | | | | | | | | userdata image should use mke2fs for android pie instead of make_ext4fs.make_ext4fs is deprecated in pie. Removing the complete resize of userdata image section. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: update overlay configuration for piePraneeth Bajjuri2019-03-123-87/+92
| | | | | | | Update/Sync overlay configuration and keep it same as the current upstreamed platform version (device/ti/beagle-x15:master) Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: fix wifi-related nullpointer dereferencesMykhailo Sopiha2019-03-121-0/+3
| | | | | | | | | Since some Android services are not checking whether wifi is present on the board - we need this configs to avoid nullpointer dereferences. Signed-off-by: Mykhailo Sopiha <mykhailo.sopiha@linaro.org> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: Update 2nd arch to correct variantAndrew F. Davis2019-03-071-1/+1
| | | | | | | | The Cortex-A53 CPU is still a "armv8-a" architecture core even when running in AARCH32 mode, update TARGET_2ND_ARCH_VARIANT for the same. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: add ServiceManager to compatibility_matrixPraneeth Bajjuri2019-03-071-0/+8
| | | | | | | | Enable ServiceManager HIDL defintion to device compatibility matrix as recommended in platform/system/libhidl/transport/current.txt Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: Update fstab path for android partitionsPraneeth Bajjuri2019-03-021-1/+4
| | | | | | | | | | | | | eMMC device node path for am65x platform changed in 4.19 kernel. this patch is to update the fstab to pick the correct path for userdata image. while at it, include other current partitions as defined in android build. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: sepolicy: Update to piePraneeth Bajjuri2019-02-2720-52/+12
| | | | | | | Initial sepolicy with reference from pie device/ti/beagle_x15 project. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: update FIT configurationPraneeth Bajjuri2019-02-271-41/+8
| | | | | | update FIT configuration based on 4.19 kernel Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: Remove property PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDEPraneeth Bajjuri2019-02-261-1/+0
| | | | | | | | | property PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE is obsolete in android pie release. removing this from device board configuration. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* sepolicy: Allow ueventd to request modulesRuslan Trofymenko2018-11-091-0/+1
| | | | | | | Allow ueventd to request the kernel to load modules Signed-off-by: Ruslan Trofymenko <ruslan.trofymenko@linaro.org> Acked-by: Praneeth Bajjuri <praneeth@ti.com>
* sepolicy: Add policy for ion_devicePraneeth Bajjuri2018-11-024-0/+7
| | | | | | | pvr and graphics services uses ion_device now, update sepolicy to fix denials Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* Add ueventd rule to set permissions on /dev/ionAndrew F. Davis2018-11-011-2/+5
| | | | | | | ION can be used from user-space non-root programs and so should have permissions for such. Signed-off-by: Andrew F. Davis <afd@ti.com>
* am65xevm: remove static module installingPraneeth Bajjuri2018-10-301-9/+0
| | | | | | | | with reintroduction of ueventd dynamic kernel module loading, we dont need to install modules statically, hence removing this from init.am65xevmboard.rc Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>