Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support to enable ADB over DBC #8

Open
wants to merge 260 commits into
base: master
Choose a base branch
from

Conversation

gururajk53
Copy link
Contributor

This patch adds sepolicy changes required to enable adb
over debug-capability provided by xhci.

ADB over DBC can be a useful feature for debug purposes
especially on platforms which lack usb device mode port.

Jira: None
Test: None

Signed-off-by: Rajaram Regupathy [email protected]
Signed-off-by: K, Gururaj [email protected]

kalyankondapally and others added 30 commits February 23, 2017 18:02
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Enabling vendor partition

Jira: AIA-123
Test: On booting the device the vendor partition should be mounted and accessed.

Signed-off-by: Kishore Kadiyala <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
ENABLE_CPUSET is enable in Android through the use of the 4cores mixins.
This requires support in the kernel.

JIRA: AIA-210
Test: No more schedpolicy errors seen in logcat.
      i.e. SchedPolicy: add_tid_to_cgroup failed; fd=-1

Signed-off-by: Michael Goffioul <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Use squashfs compression for system and vendor image

JIRA: AIA-113
Test: Boots to homescreen

Signed-off-by: Harish Krupo <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Jira: None
Test: Boot to home screen

Signed-off-by: Michael Goffioul <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Jira: None.
Test: Boots to home screen.
Signed-off-by: Kalyan Kondapally <[email protected]>
Summary: Enabling generic interactive governor.
       The interactive governor can be used with the acpi-cpufreq
       driver to scale cpu frequencies.

Jira: none

Test: Able to boot with Interactive governor enabled by default,
      and CPU changing the frequencies based on the load.

Signed-off-by: Sameer Lattannavar <[email protected]>
enabling adb over usb in mixins and tested on Joule

Bug Id: https://01.org/jira/browse/AIA-67
Test: adb devices and adb shell works from the host

Signed-off-by: Carlos Santa <[email protected]>
Signed-off-by: Kalyan Kondapally <[email protected]>
Signed-off-by: Kishore Kadiyala <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Shobhit Kumar <[email protected]>
JIRA: None
Test: Pass Vulkan dEQP-VK.wsi.android.swapchain.render.basic
      and see triangle rendered on the screen

Signed-off-by: Tapani Pälli <[email protected]>
The telemetry driver can give us useful information regarding
entry into S0ix states from APL platforms onwards. The information
can be accessed via attributes in /sys/kernel/debug/telemetry.

Jira: none
Test: Boot to homescreen and access the telemetry debugfs
      attributes.

Signed-off-by: Abhilash Kesavan <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Unused firmware binaries are getting generated in vendor/lib/firmware.
These firmwares are generated by kernel.
Hence, Remove unwanted firmware configs from kernel defconfig.

Jira : AIA-241
Test : Device boots to home screen. Adb, wifi, bt works fine.

Signed-off-by: sgnanase <[email protected]>
After boot, the built-in mic doesn't work, because it's not enabled in
the mixer settings. One needs to set:
- Capture Switch => 1
- Capture Volume => non-zero (63 in my case)

Jira: https://01.org/jira/browse/AIA-228
Test: mic is working after boot

Signed-off-by: Michael Goffioul <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Jira: None
Test: Serial logs come out on Joule when add kernel cmdline console=/dev/ttyS2.

Signed-off-by: Qin Chao [email protected]
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Enable following mixin configs to enable logs generation in /data/logs :
debug-crashlogd: true
debug-logs: true

Jira: None
Test: '/data/logs' created and logs are generated.
Signed-off-by: sgnanase <[email protected]>
Jira: None.
Test: Eng build passes.

Signed-off-by: Kalyan Kondapally <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
Jira: None.
Test: Builds and boots to home screen.

Signed-off-by: Kalyan Kondapally <[email protected]>
sgnanase and others added 25 commits April 11, 2018 13:48
Modified media_codecs.xml and media_codecs_performance.xml
to pass cts video test cases.
Basically modified frame rate for google codecs based on
measured frame rate for each resolutions of AVC, H263,
MPEG4, VP8 and VP9 encoders.

Jira: None
Test: Video test cases (CtsVideoTestCases) are passed

Signed-off-by: Muhammad Aksar <[email protected]>
Enable simulation RPMB.
Set sepolicy for teedata partition and storageproxyd.

Jira: None
Test: Device boots to home screen.
Signed-off-by: swei22 <[email protected]>
This patch adds 'sleep' option to the
global menu that shows up on power key press.

Change-Id: I153db8487faf2e4517f3a83c4d03f23478e6662a
Tracked-On:
Signed-off-by: saranya <[email protected]>
Jira: None
Test: Device can boot to UI successfully.

Signed-off-by: ji, zhenlong z <[email protected]>
Jira: None
Test: None
The type stopped working after kernel rebase to
4.14.33. Additional configs were need to enable
the USB dual role phy, which this patch intro-
duces into the kernel. With these changes the
TypeC connector works fine.

Jira: None
Test: Boot and check with Type C OTG cable,
keyword, mouse and memory stick.

Signed-off-by: Karan889 <[email protected]>
Signed-off-by: Abhilash K V <[email protected]>
Jira: None
Test: None

Signed-off-by: swaroopb <[email protected]>
Jira: None
Test: None

Signed-off-by: sgnanase <[email protected]>
Modified media_codecs_performance.xml file to pass
CTS Media Decoder test cases for different resolutions
by giving achievable frame rate.

Jira: None
Test: Media OMX Decoder test cases are passed

Signed-off-by: Muhammad Aksar <[email protected]>
Jira: None.
Test: Test it in Joule and KBL NUC.

Signed-off-by: Ming Tan <[email protected]>
Signed-off-by: Zhou, Lihua <[email protected]>
Jira: None.
Test: Test it in Joule and KBL NUC.

Signed-off-by: Ming Tan <[email protected]>
Signed-off-by: Zhou, Lihua <[email protected]>
Jira: None.
Test: Test it in KBL NUC.

Signed-off-by: Ming Tan <[email protected]>
Signed-off-by: Zhou, Lihua <[email protected]>
Jira: None.
Test: Test it on Joule and KBL NUC.

Signed-off-by: Zhou, Lihua <[email protected]>
This patch adds sepolicy changes required to enable adb
over debug-capability provided by xhci.

ADB over DBC can be a useful feature for debug purposes
especially on platforms which lack usb device mode port.

Jira: None
Test: None

Signed-off-by: Rajaram Regupathy <[email protected]>
Signed-off-by: K, Gururaj <[email protected]>
@android-ia-srv
Copy link

Commit message is verified for commit id: c7d3979

@sysopenci sysopenci added the Stale Stale label for inactive open prs label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Stale label for inactive open prs
Projects
None yet
Development

Successfully merging this pull request may close these issues.