Commit graph

4063 commits

Author SHA1 Message Date
Kyle Lin
f5817b68d7 init.gs101.rc: adjust ratio_ceil am: e574d5e7dd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16074856

Change-Id: I608d4a4a8caa806569ff0b9f598c7c1c5481a815
2021-10-18 19:38:55 +00:00
Kyle Lin
a3c7bc302f init.gs101.rc: adjust ratio_ceil
Test: build , boot and CUJs.
Bug: 201052887
Change-Id: I94158c1f78f937ef93e4e2c31eabcd4d05798870
2021-10-18 19:24:03 +00:00
Pierre-Clément Tosi
d96639e490 gs101: Remove BOARD_PVMFWIMG_PARTITION_SIZE
Remove the deprecated variable now that it has been replaced by
BOARD_PVMFWIMAGE_PARTITION_SIZE in AOSP.

Bug: 199717422
Test: m ${ANDROID_PRODUCT_OUT}/pvmfw.img
Change-Id: I96fba129d0b0f9a2e845e8a507a9ec8f65910942
2021-10-18 08:19:47 +00:00
Android Build Coastguard Worker
6aadad76ff Snap for 7825444 from f31fad844a7b94ee7c6689afd0b563da00c29118 to tm-release
Change-Id: Id0794076275df5a4d049686867b564f077e4e1a2
2021-10-15 01:02:04 +00: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
Android Build Coastguard Worker
24d2b4d14b Snap for 7821439 from ccb50a92d6bc330cadc5f47681824ebbca64b637 to tm-release
Change-Id: I84d7d7b590ca1c071365e9510e4cee7b695471a4
2021-10-14 01:02:22 +00:00
Wei Wang
e87d6dbf34 Use sysbg group for system background jobs am: 4599c16628 am: b69bb3c0b2 am: 5ed8a0d19a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425

Change-Id: Ie3366c9f5b902de63fa83b4b9d79767989d39718
2021-10-13 06:41:27 +00:00
Wei Wang
0598dd35f3 Use sysbg group for system background jobs am: 4599c16628 am: 95e9e05186 am: 6b6d813677
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425

Change-Id: I5e4e8abcccdc8ee92d0113228c2706b5eb59af02
2021-10-13 06:41:17 +00:00
Wei Wang
2ba110036d Use sysbg group for system background jobs am: 4599c16628 am: b69bb3c0b2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425

Change-Id: Ib3d18a7d227aac36c894623073c6ac6482a510e2
2021-10-13 06:31:41 +00:00
Wei Wang
f8cfca0d70 Use sysbg group for system background jobs am: 4599c16628 am: 95e9e05186
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425

Change-Id: Ic570e47e40cfac0944e7317b76dd55e8dafa31cb
2021-10-13 06:29:42 +00:00
Wei Wang
43c94bc18a Use sysbg group for system background jobs am: 4599c16628
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425

Change-Id: I2c01c2614a309b1cbca412cb2dbc79cc3cb9c36e
2021-10-13 06:16:24 +00:00
Wei Wang
0d2642fa60 Use sysbg group for system background jobs am: 4599c16628
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15995425

Change-Id: I3e0059ec5d491b157f460a8f311ba2fe47dc8ddd
2021-10-13 06:16:23 +00:00
Android Build Coastguard Worker
f6742e92f5 Snap for 7818222 from d74e00e3c898e61552e32e8ad7c9dd5194181f58 to tm-release
Change-Id: I0861df53ebfda36380a018888fc94a48c4c89e98
2021-10-13 03:00:59 +00:00
Wei Wang
414066f103 Use sysbg group for system background jobs
Bug: 201428466
Test: Build and boot check system_server's sched group
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I03396b661788de0a5963e29abfd95f609e9dc7ec
2021-10-12 13:50:57 -07:00
David Brazdil
ae3c59fc0b Revert^2: pKVM: Include pvmfw and virt APEX in gs101 builds
Support for pKVM is being added to all gs101 builds starting with T,
disabled by default. So far, the userspace components have been included
only in special _pkvm builds. Include them unconditionally.

Also move BOARD_* variables specifying location and partition size of
pvmfw from vendor board config file here.

This adds 89MB to the size of the system image.

Bug: 192819132
Test: build a gs101 target, check /apex/com.android.virt exists
Change-Id: Ie46b0ad5f45bd4757570b72cb275d002df7b4616
2021-10-12 16:12:39 +00:00
David Brazdil
efcaa740ad Revert "pKVM: Include pvmfw and virt APEX in gs101 builds"
Revert "Include pvmfw variables in all gs101 builds"

Revert submission 16007088-pkvm-apex-gs101

Reason for revert: Fails on checkouts without vendor
Reverted Changes:
I238181780:Include pvmfw variables in all gs101 builds
Iefd7e1dc5:pKVM: Include pvmfw and virt APEX in gs101 builds

Bug: 202827425
Bug: 192819132
Change-Id: I08b0b2ac09f68847ad9bfabc39423de408fa6632
2021-10-12 13:21:18 +00:00
David Brazdil
625b010c8a pKVM: Include pvmfw and virt APEX in gs101 builds
Support for pKVM is being added to all gs101 builds starting with T,
disabled by default. So far, the userspace components have been included
only in special _pkvm builds. Include them unconditionally.

This adds 89MB to the size of the system image.

Bug: 192819132
Test: flash, check /apex/com.android.virt exists
Change-Id: Iefd7e1dc5e0c1f23ff66e8b282c94a3b85f7cc3e
2021-10-12 09:31:30 +00:00
eddielan
bee19e91dd fingerprint: Enable HIDL fingerprint status flag am: 93073646f4 am: dc7447ee3a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16003384

Change-Id: I77a96a69f2bb48bbe65c47a647374a1d5d707af7
2021-10-12 03:24:24 +00:00
eddielan
0729e90055 fingerprint: Enable HIDL fingerprint status flag am: 93073646f4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16003384

Change-Id: Ie7c4e789f5aefd4b1a50e955cda33a24dd2c0e58
2021-10-12 03:09:20 +00:00
eddielan
01459cea67 fingerprint: Enable HIDL fingerprint status flag
Bug: 202485883
Test: Bulid Pass, getprop vendor.fp.status
Change-Id: I67d39a91c24e3d91a029422fd8860de6d74a8422
2021-10-12 02:58:16 +00:00
Android Build Coastguard Worker
612335ff54 Snap for 7809064 from 0644b368d3a69c6d776d57c18662c67b1b15cf6c to tm-release
Change-Id: I470baf387655dec5e2465ca5acee93bd0d412da5
2021-10-09 05:01:35 +00:00
Edwin Tung
d536d3970e [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours am: b6b96ae58d -s ours am: 7f6deea673 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111

Change-Id: I212159980edda69a829e3de613a7ebd9edb55064
2021-10-08 15:46:17 +00:00
Edwin Tung
c3dab3018b [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 am: 56c60d0df5 -s ours am: 024ee79b4b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111

Change-Id: I4d2eedb83552b87cf7153ea6f4de325d44d023e9
2021-10-08 15:46:04 +00:00
Edwin Tung
bd81fb0ac2 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours am: b6b96ae58d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111

Change-Id: Ib701c70fdaf88c9bf6a8584c55e780964f6751cf
2021-10-08 15:29:39 +00:00
Edwin Tung
4caafe9a69 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 am: 56c60d0df5 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111

Change-Id: I671f059b70d2f17a8c545375d70f48271cc90be5
2021-10-08 15:28:51 +00:00
Edwin Tung
7e1adeaf82 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111

Change-Id: Ib247d37517279c4acae596483ece50383299da58
2021-10-08 15:14:29 +00:00
Edwin Tung
3f7cc79132 [DO NOT MERGE] gps: update gps driver 129.20.23.516938 am: 7fd8cce123
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15993111

Change-Id: I16e4d4b540c7751a0dacdd099a2e9059fe3383d3
2021-10-08 15:10:54 +00:00
Edwin Tung
7d0d2634ef [DO NOT MERGE] gps: update gps driver 129.20.23.516938
Rescale accuracy confident to 67% for AGPS NI request
Fix velocity URE in SatellitePvt
Fix scd crash
Enhance log mechanism
Fix avc denied
Force 1 sec interval in emergency mode

Bug: 199581865
Bug: 200654813
Bug: 201514516
Bug: 197196725
Bug: 201382800
Bug: 201729040

Sanity Test: 202280989
Test: build pass

Change-Id: I425e3f05e9ffc51ffeaa3f4d3d17a92592097a23
2021-10-08 14:55:53 +00:00
David Brazdil
c439f780ee Enable hypervisor on pKVM builds
gs101 builds are getting experimental support for pKVM which can be
enabled either using fastboot or with misc_writer. For _pkvm builds we
want the device to automatically enable pKVM for testing. This patch
adds a new early-init service which checks for the presence of /dev/kvm
and if not found, writes to /misc and forces a reboot.

Bug: 192819132
Bug: 202484976
Test: flash a _pkvm build, observe double-reboot, check /dev/kvm exists
Change-Id: I3834b3e4c6118b3f6e4093ce52d5b94117eca29c
2021-10-08 11:20:14 +00:00
Sayanna Chandula
d6bde6c1ce Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: a7140c3ce7 am: 5c78a030da
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I36e081fa724d5f49bb3275ed774f882a73431302
2021-10-08 05:50:37 +00:00
Sayanna Chandula
3f87fa2005 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: c07a3a33e1 am: 4e8f38a0a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I1646e7f0f9747ba8913f0c6fc25cd5167fc64df4
2021-10-08 05:50:22 +00:00
Sayanna Chandula
476b9e44a5 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: a7140c3ce7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I12a8a2e85570a5f32bcef2c5333c816dab605ea4
2021-10-08 05:37:38 +00:00
Sayanna Chandula
57cc3f1086 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25 am: c07a3a33e1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: Ibfd7e64cb57c5597556344143cd054d3dd87b925
2021-10-08 05:37:23 +00:00
Sayanna Chandula
611e6d7a25 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I31be22450d7f850a8f8ba274f6ba60c3a0a8a513
2021-10-08 05:27:29 +00:00
Sayanna Chandula
8ee1d91ea4 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346 am: 7829c88d25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: Ifc58cbba65ad635fa4c9dd33886d737d4c53d3b4
2021-10-08 05:25:01 +00:00
Sayanna Chandula
b4d3792d59 Revert "powerhint: thermal: Support powerhint to change tmu control-temp" am: f319cfc346
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009633

Change-Id: I89c042150bc17229097cfae4a88b122f7f0b395d
2021-10-08 05:13:03 +00:00
Android Build Coastguard Worker
8948928968 Snap for 7804768 from 98e491c6b6db7e19a4e0eec8d64e7283c4960369 to tm-release
Change-Id: I190665cddef765d7583ab7ddbacc9b15e3183e60
2021-10-08 03:01:05 +00:00
Sayanna Chandula
e2da019e13 Revert "powerhint: thermal: Support powerhint to change tmu control-temp"
This reverts commit 7769380db2427d19bbcfad12af08818e75988068.
During debugging of b/192030129, it was observed that setting trip temp
followed by a suspend results in temperature getting struck at 10
degrees. Reverting powerhint change will disable dynamic setting of
trip temp and thus avoiding the 10 degree issue.

Bug: 192030129
Test: build and boot on device
Change-Id: I42ca12be23abf9c48fb2985f1506557d0fb93c1c
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2021-10-07 21:58:17 +00:00
Wei Wang
b5d3027064 Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: c96054296b am: e2d1da80c0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: I4002c44067a3d698e997ac2778f0274412905e30
2021-10-07 20:04:12 +00:00
Wei Wang
50efa1eedd Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: 40e6432990 am: ad3ccecad6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: I74d5b6438fa13d65ccb395d137eae5a508ce7b81
2021-10-07 20:04:04 +00:00
Wei Wang
6b85de869a Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: c96054296b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: I208140c9affe1844b739667426345809dc0a303e
2021-10-07 19:43:59 +00:00
Wei Wang
31ccc310e2 Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a am: 40e6432990
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: I4861ecc4b3df9e5df9abaab87fcee8d8cb4d5727
2021-10-07 19:43:51 +00:00
Wei Wang
ca8e0700fe Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: I0165f047141bc44b419b7c30feebf4ef641d3862
2021-10-07 19:29:46 +00:00
Wei Wang
5a3e0e98e9 Remove DISABLE_TA_BOOST completely am: 0f0f4f6d8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16007650

Change-Id: If46b121ad07401849082b2db6557dbe490813b12
2021-10-07 19:29:45 +00:00
Wei Wang
a89970daa6 Remove DISABLE_TA_BOOST completely
Bug: 199292504
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ibcdb9b5968268be9765654c691910dfe7ba549ac
2021-10-07 10:30:20 -07:00
Pierre-Clément Tosi
b7662784fc gs101: Build pvmfw.img through the Android framework
Enable building pvmfw.img through PRODUCT_BUILD_PVMFW_IMAGE for products
that currently enable pKVM. Note that the board-provided
BOARD_PREBUILT_PVMFWIMAGE may still overshadow that flag.

Bug: 199831815
Test: m ${ANDROID_PRODUCT_OUT}/pvmfw.img
Change-Id: I47713648b795fd7e0f4c0d5a868a1abafea47588
2021-10-07 08:40:15 +00:00
eddielan
8f0a85d99e fingerprint: Add suez config am: 064b80a273 am: c54fb82302
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15774309

Change-Id: Idd6ca968223b5c350f3de4efe975fe28f2610723
2021-10-07 04:08:17 +00:00
eddielan
27e5207339 fingerprint: Add suez config am: 064b80a273
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15774309

Change-Id: Ibba4de5185d729ad982ae80c0c629e304fdb9daf
2021-10-07 03:59:03 +00:00
eddielan
8f4c51d3b3 fingerprint: Add suez config
Bug: 187663434
Test: Build pass
Test: Check log on logcat
Change-Id: I42026d13dafcfd7d32e37a1e5edb5e7f327d562d
2021-10-07 03:43:01 +00:00
Android Build Coastguard Worker
062223a969 Snap for 7800871 from 4235a79265d61d0425ffe0b12cb7b6d6198c2d5d to tm-release
Change-Id: Ie993955a8d57b0a45a971b2f6e4749e1b1933229
2021-10-07 03:01:16 +00:00