Commit graph

5 commits

Author SHA1 Message Date
Ethan Chen
30885811ec
Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-20 05:01:11 +03:00
Will McVicker
f6de971bb3 gs101: recovery: add wait for dwc3 device to probe
This patch adds a dependency on the dwc3 device probing before setting
the sys.usb.controller property. Without this, we have a race between
fastbootd starting and the dwc3 device probing. If fastbootd starts
before the dwc3 device probes, then the recovery init.rc will fail to
setup the USB gadget resulting in "fastboot devices" failing to detect
the device.

Bug: 202338035
Test: verify device is detected in fastbootd
Change-Id: I146451eae03f23dde915c00af3028681be41a8c1
2021-10-14 07:31:26 +00:00
Badhri Jagan Sridharan
a7c0b48fc4 gs101: recovery: Set maxpower to allow charging from SDP port
Leaving maxpower at default i.e. 2mA prevents the phone from
charging from SDP ports. Setting this to 900mA. Kernel would
then set the current limit to 500/900mA based on the configured
speed.

Bug: 194722479
Test: Boot to recovery; Through uart cat maxpower;
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I763c70eb5d19f74e6e846155af69c25ca3e91f85
2021-07-27 20:07:58 +00:00
Badhri Jagan Sridharan
9a80547bed gs101: recovery: Set sys.usb.controller for UDC configuration
Bug: 179935027
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I259ac52bc5f91d1de74cc94862440739c9726d48
2021-04-11 08:31:24 +00:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00