Age | Commit message (Collapse) | Author |
|
Sync USB init script with Hikey init.common.usb.rc. This patch fixes
ADB (when using Android-O with kernel v4.9). Next changes are made:
- Add sys.usb.ffs.mtp.ready=1 related changes from Hikey file
("Switch to FunctionFS userspace interface" patch)
- Read UDC from /sys/class/udc/ at runtime (remove setting
sys.usb.controller property manually, it's already done at runtime)
- Remove "on adbd=stopped" trigger: it's already done in
system/core/rootdir/init.usb.configfs.rc file
Note that there is no need to revert this kernel patch anymore:
usb: gadget: f_fs: Fix wrong check on reserved1 of OS_DESC_EXT_COMPAT
That was a very old bug related to USB os_desc and fixed in AOSP since
then. USB Gadgets are working fine on Android-O with v4.9 kernel now.
Change-Id: Ic726e6989633661a8af75b24234caae299c4839e
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
with 2017.01+ bootloader we
1. need not do oem emmc ( default oem format does emmc )
2. oem spi is not supported
updating fastboot script accordingly
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
workaround needed on am57xevm to make adb functional
due to android kernel patch
"usb: gadget: f_fs: Fix wrong check on reserved1 of OS_DESC_EXT_COMPAT"
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
sepolicy is pointed to the wrong path.
this patch fixes it
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
For initial bringup , make drivers built-in.
Todo: make the drivers modularas per treble requirement
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
git://git.ti.com/android/device-ti-am57xevm into d-oreo-r6-core-release
* 'd-oreo-r6-release' of git://git.ti.com/android/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>
|
|
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>
|
|
remove car properties and lunch make option
since am57xevm configuration needs are different
Change-Id: I2326556a58cf0be47b8e6e7dbfb869c394af8d33
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Added a path in the dtb selection logic for the am572x IDK board.
Change-Id: I66f84f14a6fe16e4c910dadac0dd1dabc462dc30
Signed-off-by: Jason Reeder <jreeder@ti.com>
|
|
d-oreo-r6-core-release
* origin/d-oreo-r6-release:
am57xevm: dont switch to CAR UI
am57xevm: Enable early mount and make modules loadable
am57xevm: Remove car configuration
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Changes to not enable Car UI for time being.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
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>
|
|
Remove car configuration
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Remove car configuration
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
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
|
|
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>
|
|
Install PRU modules in vendor partitions
Change-Id: I70c7a8b693a736f478973213f84e8d6cccfe7633
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
Enable general purpose PRU firmwares on the AM57xx devices.
Change-Id: I2aa9e55d87994fe660ef3456b8b94c485200f668
Signed-off-by: Jason Reeder <jreeder@ti.com>
|
|
Enable PRU Ethernet on IDK boards.
Change-Id: I28290af5b6eb7ffa37c0a9c430226b14d087db6c
Signed-off-by: Jason Reeder <jreeder@ti.com>
|
|
AM57xevm has a smaller screen, hence changing the density to
fit appropriately
Change-Id: I49eb87999fbdface17008ffd74dad97ae23d2d44
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
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>
|
|
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
|
|
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
|
|
update script to pick up correct dtb and default setting
Change-Id: I175d651287cee5757c67b5c545cfe8e78f24bc93
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
This is a temp fix , till module loading from vendor partition
is investigated
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
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
|
|
- 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
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
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
|
|
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
|
|
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
|
|
This reverts commit 1296d2db9c24badefb6dbd07c8278ab41779047b.
Change-Id: I09a0c00d83d7bb8767f7330b609623ba6db71a55
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
This reverts commit 0c09a0783488d23ddc63437f35d608c623f6a597.
Change-Id: I9cfae262e91adbf1008bc93061546e97d30d19c0
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
This reverts commit b9d38ffd5e63b4a452ea03338c62ca26b6cd4975.
Change-Id: Ib6087d28df644827feadc74f754866794565bf0e
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
This reverts commit c0930d6978b29922df2dab66e8406951bb836389.
Change-Id: I5f3a1805a0570d26b4952e28b98cbe6e47a639cb
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
modules"
This reverts commit 3014c40155a3d3e7b0009750dbf0eba12b15f267.
Change-Id: I72f0346b0e458f0a78b0f1223c615e3d8dd041df
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
|
|
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>
|
|
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>
|
|
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>
|