Commit graph

907 commits

Author SHA1 Message Date
Kevin DuBois
5875d29f23 powerhint.json: update GPU node.
GPU node was not using the correct level-lock (should be using the hint one).
a0 and a1 jsons did not have correct frequencies, correct this.

Test: check camera hints work.
Change-Id: I79263bcb0fe3f264c021e2838aac3839081b7de7
2021-09-17 21:53:28 +00:00
Ocean Chen
954b427911 Pixelstats: add more UFS error count paths
The UFS resume flow also increase the reset count.
It makes the reset count cannot represent the real
error count. So we use other count instead of reset count

Bug: 199459367
Test: run storage-qa pixel/022
Change-Id: I7eabf238bb0963af9430b47c9ffa92bb3ad3b6fc
2021-09-14 09:13:16 +00:00
Kris Chen
a90972ed73 gs201: remove the redundant config_biometric_sensors
Bug: 199760755
Test: boot on ravenclaw-userdebug
Change-Id: Ifa08e35bcb6f15d14e42d6b6f3d9e42fcaa67a73
2021-09-14 07:19:18 +00:00
chloedai
2b5427334a Remove NFC/SE settings from common gs201
Bug: 199236672
Test: Build pass
Change-Id: Ie6a6c90946bb51b2c0e8d644c2c9372b4fc9c357
2021-09-13 10:49:47 +00:00
Rex Lin
6306cd9715 uwb: add uwb diag modules into the dlkm blocklist
Bug: 199529362

Test: verified pass with local build

Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I580a666236163e3888eeed1f7d4bbb82a9000139
2021-09-11 06:51:57 +00:00
Krzysztof Kosiński
6b82c37c4c Use the correct GPU device path for gs201.
gs201 uses 28000000.mali instead of 1c500000.mali.

Bug: 196866904
Test: verified that libperfmgr logspam is gone on dev board.
Change-Id: I7e00bb67f06960bcedc29d4e98422676a651bd05
2021-09-10 21:56:31 +00:00
Adam Shih
c7d07e27e0 modularize drm
Bug: 199232842
Test: boot with drm modules started
Change-Id: I6d91d411cf2b9354d4d1cefc3184e8fefa8a9ea7
2021-09-10 01:16:19 +00:00
weichinweng
1c94ce30ef gs201: migrate Bluetooth HAL service setting to project dependent make files
Bug: 189727579
Test: Manually
Change-Id: I97e9e4b764ccf3b7896904590d00633ae206b729
2021-09-10 00:47:03 +00:00
Grace Chen
a8ddf739a5 Merge "Config overlay to support 2 physical slots" 2021-09-08 19:07:52 +00:00
Sasha Smundak
af1d890dd7 Simplify the check.
Fixes: 198503238
Test: treehugger
Change-Id: Ibebbd199391aa4c207a3cd622791008aa412828c
2021-09-03 17:55:36 -07:00
Grace Chen
eec347d23f Config overlay to support 2 physical slots
Bug: 197989438
Test: Confirm sim configuration.
Change-Id: I3972e0456d8034517cc4224ef786a9292439a8b9
2021-09-03 00:59:11 -07:00
TreeHugger Robot
22067f611c Merge "dumpstate: dump logbuffer tcpm logs in bugreport" 2021-09-03 05:58:53 +00:00
Petri Gynther
e3c25c230c gs201: clean up kernel variables
1) remove TARGET_BOARD_KERNEL_HEADERS
2) remove TARGET_PREBUILT_KERNEL

Bug: 198654765
Change-Id: I3efff472e46be435fc0b845bf9b09b7d7a6311f1
2021-09-02 12:08:57 -07:00
Kyle Tso
1fc334c1c6 dumpstate: dump logbuffer tcpm logs in bugreport
(Port of ag/15018442)

Bug: 189792358
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I936028d0d3360f2611b672bdc353438fb8478ca6
2021-09-02 14:08:05 +08:00
Adam Shih
ff12044f71 Merge "gs201: use sscoredump common device.mk" 2021-09-02 04:21:47 +00:00
Adam Shih
8ef36172cc gs201: use sscoredump common device.mk
Bug: 198365717
Test: boot with sscoredump started
Change-Id: If5c881a873971f4e238b7357e6e2802c55db6029
2021-09-02 01:24:23 +00:00
Robert Lee
32270ec77b Merge "device.mk: enable cs35l41 related module for gs201" 2021-09-01 07:58:27 +00:00
Petri Gynther
d2221258ad gs201: enable vbmeta_vendor
Bug: 197026498
Test: make dist and check [vbmeta_vendor.img + img.zip + ota.zip]
Test: flash [fastboot update + remote_local_flashstation] and boot to home
Change-Id: I0f7c69218d296451da2cef6e47adf3a910ea1cb0
2021-08-31 20:37:21 -07:00
TreeHugger Robot
4d6e54e336 Merge "factory: zygote and rescue party properties" 2021-08-31 16:08:30 +00:00
Robert Lee
b693d60c7f device.mk: enable cs35l41 related module for gs201
Bug: 198260805
Test: Builds pass
Change-Id: I56f2b7d1c786ac3c821194dced16e2f43a85f2b1
Signed-off-by: Robert Lee <lerobert@google.com>
2021-08-31 11:50:42 +00:00
Ryan Chu
e8541c4ae1 factory: zygote and rescue party properties
Add the two properties to prevent rebooting due to crashing services
That will allow for better debugging of factory target builds
1) init.svc_debug.no_fatal.zygote true
2) persist.device_config.configuration.disable_rescue_party true

Bug: 198180802
Change-Id: Icc8ec4435b80fd271d563f837bde880be1ae4df8
2021-08-31 16:03:15 +08:00
TreeHugger Robot
7b08b14329 Merge "BT: gs201: Set default Bluetooth ON in non-factory build" 2021-08-31 06:38:03 +00:00
weichinweng
9262f5c6b9 BT: gs201: Set default Bluetooth ON in non-factory build
Bug: 189728903
Test: Build pass, BT can default enable after flash ROM.
Change-Id: Ie173809569ae6f52d05c483fa98fb1d3df8f653d
2021-08-31 06:32:46 +00:00
Sam Ou
8585eb45cf Merge "powerstats: correct TPU, GPU, several DVFS buckets and frequency unit" 2021-08-31 02:10:09 +00:00
Adam Shih
f67eea1947 make sepolicy available in aosp targets
Bug: 198214600
Test: build pass
Change-Id: I113d1855f8d71b3d837a3f02974079e12ed5ddec
2021-08-31 09:12:17 +08:00
samou
21623c73d0 powerstats: correct TPU, GPU, several DVFS buckets and frequency unit
Bug: 197152245
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ie4f260c643e3d19f8080436b3a0197764196ccfc
2021-08-30 07:09:18 +00:00
Adam Shih
175d36ced8 Merge "modularize scd" 2021-08-27 07:17:53 +00:00
Adam Shih
76f8e12e56 modularize scd
Bug: 197914244
Test: boot with scd started
Change-Id: I5cfede43239c5d49e271bdd981be2e781c5a05ba
2021-08-27 11:17:46 +08:00
Roger Wang
49d98956fc dumpstate: remove wifi fw symbol table
In b/183180525, vendor mentioned they won't provide
fw symbol table (logstrs.bin) in terms of their internal
concern. Hence, remove wifi fw symbol table from dumpstate.

Bug: 197849117
Test: build pass, device can connect to AP.
Change-Id: I91f5c38b87fd099961a95ac2ddf7fb8232003cd7
2021-08-27 10:24:13 +08:00
Adam Shih
930b449775 review hal_audiometricext
Bug: 197585437
Test: boot with hal_audiometricext initialized
Change-Id: Ia23c3d4936d4c6e86d427fbfaeeceace57ab630b
2021-08-25 14:43:35 +08:00
Adam Shih
0f853db94c modularize aocd
Bug: 197585437
Test: boot with aoc started
Change-Id: I61560751a5d81816b7ecdc2e1be0eaae025a29e3
2021-08-24 11:48:00 +08:00
weichinweng
df5cec3e17 BT audio: gs201: set A2DP offloading default OFF
Support the A2DP offloading feature, and default OFF. So, we can
switch to ON manually without compiling.

Bug: 194607800
Test: manually
Change-Id: Ibe5f799d757344df8a3106e904ab65f74826ac96
2021-08-23 11:50:29 +00:00
Adam Shih
d653791dd6 Merge "reuse gs101 confirmation UI" 2021-08-23 06:40:19 +00:00
Adam Shih
00a3bf0a8b Merge "reuse gs101 pktrouter" 2021-08-23 06:40:06 +00:00
weichinweng
6159256942 Add legacy bluetooth audio hal into audio hal
Bug: 194607747
Test: build pass, legacy A2DP pass.
Change-Id: Ic8c09bcaad57945ffdd58ea5f8136a93350fa9a3
2021-08-23 13:46:52 +08:00
TreeHugger Robot
af11b608f1 Merge "Enable CHRE components for gs201" 2021-08-18 17:24:05 +00:00
Richard Hsu
44e7ad27ed Merge "[Bringup] Enable darwinn EdgeTPU implementation of NNAPI on PRO." 2021-08-18 09:22:53 +00:00
Adam Shih
859c4dc028 reuse gs101 confirmation UI
Bug: 196916111
Test: boot with confirmation UI started
Change-Id: I8bd3f8fa83c2ec57338a4e842f9a717afc01c2bc
2021-08-18 12:58:41 +08:00
Adam Shih
d242564abd reuse gs101 pktrouter
Bug: 196916111
Test: boot with pktrouter launched
Change-Id: I10bdeccd32db50152993b64bb4b7ee2e303da017
2021-08-18 12:48:41 +08:00
Anthony Stange
44cf3700a7 Enable CHRE components for gs201
Bug: 194284732
Test: Build and flash firmware
Change-Id: I896cc666fba238e9b429941a51e8a8a3485049e5
2021-08-17 22:54:38 +00:00
Albert Wang
09e106422b Merge "Move init.gs201.usb.rc under hw/" 2021-08-17 06:46:38 +00:00
Michael Eastwood
bdd18706de Attach the latest .cpa file to bugreports (gs201).
* Latest is determined by alphabetical order
* To find the .cpa file, unzip the bug report and run
  `tar -xvf dumpstate_board.bin`
* The .cpa file can then be found under the `camera/` directory
* This can be disabled with the prop
  `vendor.camera.debug.camera_performance_analyzer.attach_to_bugreport`

Bug: 191169822
Test: m -j
Change-Id: Iee7fbe45dfd5bbd67af0e5ebd965884b84e531ff
2021-08-16 13:28:38 -07:00
Richard Hsu
b60bfdd875 [Bringup] Enable darwinn EdgeTPU implementation of NNAPI on PRO.
The NNAPI is now fully functional and passes all the tests. This CL enables the Darwinn NNAPI
service by default on the master branch.

Adding an OWNERS file to edgetpu part of gs*01 to make review process
easier in the future.

Bug: 186425023

Test: run_nnapi_test. tflite to nnapi test.

Change-Id: I4caeb01f23526f4094799df968c96646d52e2131
2021-08-16 00:24:35 -07:00
Albert Wang
5d7cfa429a Move init.gs201.usb.rc under hw/
Fix the error log:
init    : Unable to read config file 'init.gs201.usb.rc'

Bug: 196523163
Test: USB works well in Android, bootloader fastboot and
      flash station
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I7a30ab93477bb3a95cb44fa6f265b5e1d432b69c
2021-08-16 09:42:45 +08:00
Albert Wang
5710123448 Merge "Revert "Cloudripper: workaround for USB bring up"" 2021-08-13 03:14:22 +00:00
Richard Hsu
962b8ef07d Merge "[Bringup] Enable Darwinn Logging Service on Android T" 2021-08-13 01:27:22 +00:00
I-Chih Lu
0bb253c03f Merge "TUI: enable for cloudripper" 2021-08-12 23:35:04 +00:00
Albert Wang
900be82549 Revert "Cloudripper: workaround for USB bring up"
This reverts commit 5294123ac1.

We can revert this workaround since USB driver and HAL get ready

Test: USB works well in Android, bootloader, fastbootd and
      flash station
Change-Id: Icfec04d22c604937b92cd892f5d429aee35e8ce9
2021-08-12 13:54:17 +00:00
Jidong Sun
b296a184d0 mfc_fw: Update to use unsigned FW binary
Bug: 195214116
Signed-off-by: Jidong Sun <jidong@google.com>
Change-Id: Ie921b783896f790028bfa4f33d8bef495304ba9b
2021-08-11 12:49:27 -07:00
Richard Hsu
64c714a88e [Bringup] Enable Darwinn Logging Service on Android T
Enables the EdgeTPU firmware logger on Android T, for both WCH and PRO.
Also makes the tpu_usage paths up-to-date with the new path: edgetpu-soc

Bug: 196105736

Test: Manually triggered firmware logs to confirm.

Change-Id: I6d3c7fd31046296fb2e87613a97c85a151220217
2021-08-10 17:06:43 -07:00