summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* am65xevm: mount debugfs at initd-android10-core-releasePraneeth Bajjuri2019-08-161-0/+4
| | | | | | | Mount debugfs during boot time. Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65x: Update TI ICSSG Firmware to version DEV.EMAC_LLD.01.00.03.17APraneeth Bajjuri2019-08-154-0/+0
| | | | | | | | Project: http://git.ti.com/cgit/cgit.cgi/keystone-rtos/emac-lld.git/ Branch: master tag: DEV.EMAC_LLD.01.00.03.17A Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: Enable Android Automotive w/ New Lunch TargetJosh Shafran2019-07-225-0/+77
| | | | | | | | | | | | | | | | | | | | | | | All changes made to baseline enable full Android Automotive in-vehicle infotainment (IVI) system, presenting an updated boot animation and user interface on AM65x platforms. Car mode is enabled by default and the UI is locked in car mode when using lunch combo am65xevm_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) am65xevm-userdebug 2) am65xevm_auto-userdebug Test: Build,Boot with am65xevm-userdebug and am65xevm_auto-userdebug Test: Look and feel test of Automotive HMI Test: Executed test plans CtsCarTestCases and vts-hal-auto Signed-off-by: Josh Shafran <j-shafran@ti.com>
* am65xevm: Change TARGET_PRODUCT name (remove *_full)Josh Shafran2019-07-222-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. Signed-off-by: Josh Shafran <j-shafran@ti.com> Acked-By: Andrew F. Davis <afd@ti.com>
* am65xevm: Migrate away from vendorsetup.sh for lunchJosh Shafran2019-07-222-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> Acked-By: Andrew F. Davis <afd@ti.com>
* am65xevm: fastboot.sh: use PRODUCT_OUT to find imagesJacob Stiffler2019-06-261-5/+5
| | | | | | * Follow the precedent set by other images, and use PRODUCT_OUT. Signed-off-by: Jacob Stiffler <j-stiffler@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>
* am65xevm: sepolicy: Allow ueventd to insert modulesRuslan Trofymenko2018-10-301-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>
* am65xevm: Fix selinux warningsMykhailo Sopiha2018-10-3010-0/+22
| | | | | | | | | | | | This patch fixes selinux warnings during bootup process and video playback. Additionally to dontaudit and allow rules for basic objects one more object was declared - mmc_block_device (data partition) to include fsck permissions for it. Signed-off-by: Mykhailo Sopiha <mykhailo.sopiha@linaro.org> Acked-by: Ruslan Trofymenko <ruslan.trofymenko@linaro.org>
* am65xevm: Pulling sepolicies from am57xevmMykhailo Sopiha2018-10-308-0/+35
| | | | | | | | This patch includes minimal sepolicies for enabling boot up in enforcing mode for trebleized device. Signed-off-by: Mykhailo Sopiha <mykhailo.sopiha@linaro.org> Acked-by: Ruslan Trofymenko <ruslan.trofymenko@linaro.org>
* am65xevm: fastboot.sh: update flashing bootloader imagesPraneeth Bajjuri2018-10-291-7/+7
| | | | | | | update fastboot flash script to include oem format and reboot-bootloader command for updating bootloader images. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: Add support for 64b and 32b appsPraneeth Bajjuri2018-10-262-0/+8
| | | | | | | | | | | | | | | Set TARGET_SUPPORTS_32_BIT_APPS and TARGET_SUPPORTS_64_BIT_APPS, TARGET_PREFERS_32_BIT_APPS get apps to build for 32-bit only, and leaves TARGET_SUPPORTS_64_BIT_APPS unset. This confuses zygote64 because it finds an empty 64-bit ABI list and causes zygote* process to fail on android init. Hence Enabling support for both 32b and 64b apps. and making 64b as primary , 32b as secondary Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: Enable dex-preoptimizationPraneeth Bajjuri2018-10-261-1/+1
| | | | | | | | | Enable dex-preoptimization to speed up the first boot sequence Enabling this feature also increases the system image size close to 1GB. Increasing the size of system image partition. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* Revert "TEMP: Disable optimizing DEX code at build time"Praneeth Bajjuri2018-10-251-2/+0
| | | | | | | | This reverts commit e0535a783ba932377bc2ad580daab578f336ad89. following commits on the top enables DEXPREOPT Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: Enable PRODUCT_TREBLEPraneeth Bajjuri2018-10-173-4/+38
| | | | | | | | | | | | | | | This patch sets ro.treble.enable=true - turned on legacy PRODUCT_COMPATIBILITY_MATRIX_LEVEL - Enabled FULL_TREBLE and vndk support in device*.mk - Enforced VINFT manifest as part of treble requirements - Added compatibility matrix to match device manifest and pass prebuild checks - Added missing services for compatibility matrix - Extended device manifest with missing hals - removed unused audio packages - re-arranged device*.mk and BoardConfig.mk Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: enable property ro.sf.lcd_densityPraneeth Bajjuri2018-10-171-0/+1
| | | | | | | | | | | | | 01-01 00:00:09.413 158 219 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property. this message is seen when ro.sf.lcd_density is not set in device*.mk. If this build parameter is not set, then xdpi from hwc display is used for density. when ro.sf.lcd_density is set,it is used as primary for Surfaceflinger DisplayInfo objects Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: media_codecs.xml: add default codecsPraneeth Bajjuri2018-10-172-0/+30
| | | | | | add default audio and video codecs Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: move touchscreen to later boot stagePraneeth Bajjuri2018-10-171-1/+4
| | | | | | | | | | | | having touchscreen driver loaded at early-init stage causing dialog box appear on home screen "System not responding and contact device manufacturer" moving touschreen to post boot complete for now. This issue is seen and reported on touchscreen on am57x gpevm and idk too. and seems to be due to android input subsystem not ready in time. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: Add initial manifest and compatibility_matrixPraneeth Bajjuri2018-10-174-4/+152
| | | | | | | | Inital manifest and compatibility matrix Needed to enable treble configuration Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: Include goodix touchscreen modulePraneeth Bajjuri2018-10-151-1/+2
| | | | | | Include goodix touchscreen module in init.am65xevmboard.rc Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: Initial fastboot scriptPraneeth Bajjuri2018-10-151-0/+202
| | | | | | | Initial Fastboot flashing script to flash all android images on am65xevm Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* am65xevm: Add 64bit binderPraneeth Bajjuri2018-10-151-0/+2
| | | | Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* Add device settings overlaysAndrew F. Davis2018-10-153-0/+126
| | | | | | These define some default behaviors and interface settings. Signed-off-by: Andrew F. Davis <afd@ti.com>
* Add device feature permissionsAndrew F. Davis2018-10-152-2/+32
| | | | Signed-off-by: Andrew F. Davis <afd@ti.com>
* TEMP: Disable optimizing DEX code at build timeAndrew F. Davis2018-10-081-0/+2
| | | | | | | | This works around a boot error preventing boot, but also drastically increases first time boot so this should be reverted when the error is root-caused. Signed-off-by: Andrew F. Davis <afd@ti.com>
* Add Audio and Security related packagesAndrew F. Davis2018-10-081-2/+17
| | | | | | | This also stops a boot error loop when looking for an audio device for audioserver service. Signed-off-by: Andrew F. Davis <afd@ti.com>