firmware: ti-pruss: am65x: Update to PDK version 2019.12.2
PRUSS project now moved inside processor-sdk/pdk
Update TI ICSSG Firmware for AM65x to new PDK version
Project: https://git.ti.com/cgit/processor-sdk/pdk/
Branch: PROCESSOR-SDK_06.02.00
PDK Version:: 2019.12.2
commitid: 2357d1436f1b2c3b5f1d0c9c94e045d33b63f3fe
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
PRUSS project now moved inside processor-sdk/pdk
Update TI ICSSG Firmware for AM65x to new PDK version
Project: https://git.ti.com/cgit/processor-sdk/pdk/
Branch: PROCESSOR-SDK_06.02.00
PDK Version:: 2019.12.2
commitid: 2357d1436f1b2c3b5f1d0c9c94e045d33b63f3fe
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65xevm: mount debugfs at init
Mount debugfs during boot time.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
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.17A
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>
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 Target
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>
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)
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>
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 lunch
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>
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 images
* Follow the precedent set by other images, and use PRODUCT_OUT.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
* 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 warnings
fix webview_zygote selinux denial warnings during bootup
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
fix webview_zygote selinux denial warnings during bootup
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65xevm: sepolicy: fix denial warnings in video playback
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>
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 fsck
mmc_block_device (userdata partition) update permission
to include fsck
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
mmc_block_device (userdata partition) update permission
to include fsck
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65xevm: sepolicy: dontaudit wificond module_request
dontaudit wificond module_request
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
dontaudit wificond module_request
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65xevm: sepolicy: Add map permissions to vendor_config_files
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>
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_search
picked changes from
'commit 88a08af230b58 ("am65xevm: Pulling sepolicies from am57xevm")'
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
picked changes from
'commit 88a08af230b58 ("am65xevm: Pulling sepolicies from am57xevm")'
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
sepolicy: Add policy for ion_device
pvr and graphics services uses ion_device now,
update sepolicy to fix denials
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
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 modules
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>
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 modules
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>
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 AM65x
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>
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_NAME
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>
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 overlays
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>
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.sh
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>
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 pie
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>
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 dereferences
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>
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 variant
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>
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_matrix
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>
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 partitions
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>
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 pie
Initial sepolicy with reference from
pie device/ti/beagle_x15 project.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Initial sepolicy with reference from
pie device/ti/beagle_x15 project.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65xevm: update FIT configuration
update FIT configuration based on 4.19 kernel
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
update FIT configuration based on 4.19 kernel
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65xevm: Remove property PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE
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>
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 modules
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>
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_device
pvr and graphics services uses ion_device now,
update sepolicy to fix denials
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
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/ion
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>
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 installing
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>
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 modules
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>
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 warnings
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>
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 am57xevm
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>
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 images
update fastboot flash script to include oem format and reboot-bootloader
command for updating bootloader images.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
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 apps
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>
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-preoptimization
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>
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"
This reverts commit e0535a783ba932377bc2ad580daab578f336ad89.
following commits on the top enables DEXPREOPT
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
This reverts commit e0535a783ba932377bc2ad580daab578f336ad89.
following commits on the top enables DEXPREOPT
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65xevm: Enable PRODUCT_TREBLE
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>
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_density
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>
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 codecs
add default audio and video codecs
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
add default audio and video codecs
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65xevm: move touchscreen to later boot stage
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>
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_matrix
Inital manifest and compatibility matrix
Needed to enable treble configuration
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Inital manifest and compatibility matrix
Needed to enable treble configuration
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65xevm: Include goodix touchscreen module
Include goodix touchscreen module in init.am65xevmboard.rc
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Include goodix touchscreen module in init.am65xevmboard.rc
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65xevm: Initial fastboot script
Initial Fastboot flashing script to flash all
android images on am65xevm
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Initial Fastboot flashing script to flash all
android images on am65xevm
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65xevm: Add 64bit binder
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Add device settings overlays
These define some default behaviors and interface settings.
Signed-off-by: Andrew F. Davis <afd@ti.com>
These define some default behaviors and interface settings.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Add device feature permissions
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
TEMP: Disable optimizing DEX code at build time
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>
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 packages
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>
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>
am65x_evm: workaround: Set UDC controller manually
Ideally should have been done in Android init.cpp
But due to loading dwc3.ko dynamically we can't rely on it
as set_usb_controller() executed before early-init
This workaround needs to be removed once dwc3 can work as
built-in
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Ideally should have been done in Android init.cpp
But due to loading dwc3.ko dynamically we can't rely on it
as set_usb_controller() executed before early-init
This workaround needs to be removed once dwc3 can work as
built-in
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65x-evm: workaround: configure adb as default
more details of history from device/ti/am57xevm:
commit dda6d31bf1a2 "workaround: configure adb as default."
Need to configure as adb by default till UI is up.
This needs to be reverted once home screen is up
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
more details of history from device/ti/am57xevm:
commit dda6d31bf1a2 "workaround: configure adb as default."
Need to configure as adb by default till UI is up.
This needs to be reverted once home screen is up
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
am65x-evm: Enable USB configuration for ADB support
Reference from device/ti/am57xevm:
commit 626cf2cc64be "am57xevm: Sync USB init script with Hikey"
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Reference from device/ti/am57xevm:
commit 626cf2cc64be "am57xevm: Sync USB init script with Hikey"
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Allow U-Boot to manually apply overlays
U-Boot no longer hard-codes the list of overlays to
apply based on the board type (EVM, IDK) rather detects
daughter-cards individually and applies and overlay for
each. To allow the same with FIT keep each overlay as
a separate configuration.
Signed-off-by: Andrew F. Davis <afd@ti.com>
U-Boot no longer hard-codes the list of overlays to
apply based on the board type (EVM, IDK) rather detects
daughter-cards individually and applies and overlay for
each. To allow the same with FIT keep each overlay as
a separate configuration.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Remove ramdisk load address from FIT file
The ramdisk image does not need to be loaded at a particular
address. To prevent it from getting overwritten do not specify
any load address to let U-Boot manage it for us.
Signed-off-by: Andrew F. Davis <afd@ti.com>
The ramdisk image does not need to be loaded at a particular
address. To prevent it from getting overwritten do not specify
any load address to let U-Boot manage it for us.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Move data partition in fstab to eMMC
The SD card was used for testing. With fastboot support
we can write this partition to eMMC. Also drop the boot
partition as this is not a filesystem type partition.
Signed-off-by: Andrew F. Davis <afd@ti.com>
The SD card was used for testing. With fastboot support
we can write this partition to eMMC. Also drop the boot
partition as this is not a filesystem type partition.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Add initial SEpolicy files to enable init and pvr services
Even in permissive mode services cannot be launched from
init without a base SE policy string in place. Add this here.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Even in permissive mode services cannot be launched from
init without a base SE policy string in place. Add this here.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Add minimal fstab file to mount boot and data partitions
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Add all kernel modules to vendor image
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Increase vendor partition size to 512MB
The vendor partition hold all the kernel modules, for the
64-bit build these modules take more space than 256MB,
grow the vendor partition accordingly.
Signed-off-by: Andrew F. Davis <afd@ti.com>
The vendor partition hold all the kernel modules, for the
64-bit build these modules take more space than 256MB,
grow the vendor partition accordingly.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Add DT overlays to boot_fit.img
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Add init files needed for graphics support
Start the PVR service and give the created device
nodes proper permissions.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Start the PVR service and give the created device
nodes proper permissions.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Revert "Switch from add_lunch_combo to COMMON_LUNCH_CHOICES"
This reverts commit 911fc231a4ec417e605fac433c145b4ed1c1c0e6.
The associated changes for COMMON_LUNCH_CHOICES is only available
in AOSP master.
on Oreo-MR1 lunch command doesnt show am65xevm-* as target option.
So reverting the change for Oreo, The original patch is good for AOSP
master
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
This reverts commit 911fc231a4ec417e605fac433c145b4ed1c1c0e6.
The associated changes for COMMON_LUNCH_CHOICES is only available
in AOSP master.
on Oreo-MR1 lunch command doesnt show am65xevm-* as target option.
So reverting the change for Oreo, The original patch is good for AOSP
master
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Build FIT image
In addition to already generated regular boot.img, build also FIT image
containing:
- Image
- ramdisk
- dtb files
- dtbo files
- boards configurations info
Resulting image will be named boot_fit.img and will be placed to
$(PRODUCT_OUT) dir.
One can disable the generation of FIT boot image by disabling TARGET_BOOTIMAGE_FIT option in BoardConfig.mk file.
Based on the same by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Andrew F. Davis <afd@ti.com>
In addition to already generated regular boot.img, build also FIT image
containing:
- Image
- ramdisk
- dtb files
- dtbo files
- boards configurations info
Resulting image will be named boot_fit.img and will be placed to
$(PRODUCT_OUT) dir.
One can disable the generation of FIT boot image by disabling TARGET_BOOTIMAGE_FIT option in BoardConfig.mk file.
Based on the same by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Fix product model name
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Remove cache and recovery images
Cache is not used anymore and recovery is not needed
as we can boot from an SD card to recover.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Cache is not used anymore and recovery is not needed
as we can boot from an SD card to recover.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Switch from add_lunch_combo to COMMON_LUNCH_CHOICES
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Add libgbm to project build
This is used by our graphics buffer allocator.
Signed-off-by: Andrew F. Davis <afd@ti.com>
This is used by our graphics buffer allocator.
Signed-off-by: Andrew F. Davis <afd@ti.com>
am65xevm: Initial device project baseline
Initial content is based on am57xevm device project.
AM65x SoC is lead device of K3 Multicore SoC architecture platform
Targeted for broad/catalog market and industrial control to meet
product needs of modern embedded devices and platforms.
More Info on Processor:
http://www.ti.com/lit/ug/spruid7/spruid7.pdf
Signed-off-by: Andrew F. Davis <afd@ti.com>
[praneeth@ti.com: updated commitmsg]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Initial content is based on am57xevm device project.
AM65x SoC is lead device of K3 Multicore SoC architecture platform
Targeted for broad/catalog market and industrial control to meet
product needs of modern embedded devices and platforms.
More Info on Processor:
http://www.ti.com/lit/ug/spruid7/spruid7.pdf
Signed-off-by: Andrew F. Davis <afd@ti.com>
[praneeth@ti.com: updated commitmsg]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Initial empty commit