Commit graph

4925 commits

Author SHA1 Message Date
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
TreeHugger Robot
fc34064967 Merge "Remove ndk_platform backend. Use the ndk backend." 2021-08-04 15:46:16 +00:00
Wen Chang Liu
097516b70d Merge "mfc_fw: Update to use local signed FW binary" 2021-08-04 07:55:37 +00:00
wenchangliu
65a33b42c5 mfc_fw: Update to use local signed FW binary
Temporally used local test key to sign MFC.
We will update prod key once secure boot is enabled.

Bug: 194851991
Test: video playback, video recording
Change-Id: Ie21c9d50cad448e8253cedbf53fde5d5c2b55559
2021-08-04 14:38:57 +08:00
Jiyong Park
0ba1b776d7 Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Change-Id: I1b0823b253cf815b79eb064045cf8dfa08a3df51
2021-08-04 12:48:02 +09:00
Jack Yu
15c4aaaa89 Rename manifest for gs201
Bug: 189308753
Test: build pass
Change-Id: I73d22e05c7b5f6960c04fd0e523d274568bee166
2021-08-03 15:59:01 +08:00
Jaegeuk Kim
f580584d55 Merge "Enable HW encryption" 2021-07-28 17:16:17 +00:00
Jaegeuk Kim
ada680a338 Enable HW encryption
Bug: 190721536
Bug: 194850360
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I93fa7a18e84b8adbcaeebdffdbecdbfc790e690d
2021-07-28 01:28:18 +00:00
TreeHugger Robot
532fd9f5cc Merge "gs201: declare IDisplay to V3" 2021-07-23 01:40:49 +00:00
Armelle Laine
54985abb82 Merge changes from topic "trusty-keymint"
* changes:
  [device.mk] Add Trusty tipc-test in debug target
  [device.mk] Enable Keymint and GateKeeper's Trusty implementation
  Update device.mk to include trusty-storage
2021-07-22 21:18:39 +00:00
Meng Wang
188ee59c57 Move CDMA feature XML inclusion to device specific mk files
So devices not supporting CDMA don't include the feature by mistake.

Bug: 191908965
Change-Id: I8ec8e54a551fb4b3aa4127a5d43d4c1d3387a37a
2021-07-21 04:50:51 +00:00
TreeHugger Robot
7c61d7f004 Merge "thermal: add permission settings" 2021-07-20 00:31:48 +00:00
George Lee
ce845eb58d thermal: add permission settings
Bug: 194082511
Test: Local Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I7d8a117444746c2363d15d2000f0c4f90692e683
2021-07-19 16:55:07 -07:00
Armelle Laine
c512e22a22 [device.mk] Add Trusty tipc-test in debug target
Bug: 193717316
Test: /data/nativetest64/vendor/tipc-test/tipc-test -t ta2ta-ipc
Change-Id: Ia90b1d4e4a774fb4233903cfa831060647fa88e4
Signed-off-by: Armelle Laine <armellel@google.com>
2021-07-19 14:17:50 +00:00
Armelle Laine
935143f96d [device.mk] Enable Keymint and GateKeeper's Trusty implementation
Bug: 193715461
Test: `vendor.keymint-trusty` and `vendor.gatekeeper-1-0` services up
Change-Id: If49ff7daf16ef9f1dba9eedf5979d162ac96f756
Signed-off-by: Armelle Laine <armellel@google.com>
2021-07-19 14:13:17 +00:00
Armelle Laine
fdacb088c2 Update device.mk to include trusty-storage
Allows to enable Secure Storage and hardware RPMb

Bug: 192512209
Test: storageproxyd service started during boot
Change-Id: I9ceb5e8149c7279d5094c09982e0cac81c90871a
Signed-off-by: Armelle Laine <armellel@google.com>
2021-07-19 14:09:05 +00:00
TreeHugger Robot
99fee1bac6 Merge "gs201: enable google-armnn GPU neuralnetworks hal" 2021-07-16 18:11:35 +00:00
Kevin DuBois
7c995777cb gs201: enable google-armnn GPU neuralnetworks hal
Re-enable this hal now that OpenCL is running

Test: build, see hal, pass 54k CTS tests (1 seems to hang).
Fixes: 193679354
Change-Id: Ie88d2f6c4853145d8f8d9ed552ca33de75899157
2021-07-16 10:30:16 -07:00
Max Shi
23d08cd659 Revert "Revert "Add sensors to gs201.""
This reverts commit 1396b4b523.

Reason for revert: Re-enable sensors as AOC boot latency is resolved.

Change-Id: I421f558f3ac05d872b8b398c6bc7f4229cf303bc
2021-07-15 11:33:05 -07:00
Weizhung Ding
9edb5f5cab gs201: declare IDisplay to V3
Bug: 184697262
Test: build
Change-Id: Ia04145c6a0e7ac086c1b979a5d4b344bbaf56e17
2021-07-12 07:15:59 +08:00
Pat Tjin
390f6baeb5 Change to sensors.gs201 to cover all gs201 devices
Change to sensors.gs201 to cover all gs201 devices when using fake sensors.
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ic06fee767d9e0da1cd1aa1a558e1a842a489a85a
2021-07-09 12:39:57 -07:00
Robert Lee
9b4560b850 Merge "audio: built-in Audio HAL" 2021-07-07 02:12:07 +00:00
Adam Shih
118707a05a make gs201 permissive
Bug: 192632804
Test: build and flash ROM with it being permissive
Change-Id: I54a2ff96466c5d9365ee7811a6f9c318f0a9e286
2021-07-05 14:51:55 +08:00
Carter Hsu
7be2643021 audio: built-in Audio HAL
Bug: 192799001
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I836f0ce199a5184c8ae34e5cb2198f9317cf320f
2021-07-05 02:01:24 +00:00
Richard Hsu
70db99f885 gs201: add compatibility path for TPU
This is to expose a common path to runtime. This is the gs201 version of the WCH change ag/15100070. It alias /dev/janeiro to /dev/edgetpu. This is a temporary measure to make /dev/edgetpu work. Once the TPU kernel driver is refactored to produce /dev/edgetpu by default, we'll remove this symlink.

Test: Manual. Verified edgetpu_logging works with modified path
Bug: 191193044

Change-Id: Icc70264c0c7d20ea7b6aa43903e109d9180dd022
2021-07-02 14:35:41 -07:00
TreeHugger Robot
160e6929aa Merge "Enable Bluetooth Ccc Timesnyc feature for gs201" 2021-07-02 09:14:51 +00:00
TreeHugger Robot
987e800e3b Merge "gs201: declare IDisplay to V2" 2021-07-02 04:21:28 +00:00
TreeHugger Robot
ba0c1138ba Merge "gs201: Setup verbose logging property" 2021-07-02 02:37:51 +00:00
Ted Wang
1047a74fe9 Enable Bluetooth Ccc Timesnyc feature for gs201
Bug: 191846449
Test: make;
Change-Id: I33dc0caeaa5c751d646ad1be30768e24a70edeea
2021-07-01 15:43:17 +08:00
Yu-Chi Cheng
39e6ef197b Merge "Added edgetpu_config_chip soong variable to gs201 edgetpu.mk." 2021-07-01 00:49:25 +00:00
TreeHugger Robot
9dda3376af Merge "init.gs201.rc: don't disable SICD" 2021-06-30 16:03:15 +00:00
Thierry Strudel
08b9ee5d45 init.gs201.rc: don't disable SICD
Bug: 187330340
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Change-Id: I65efc3c50d1fe54d445cd8be4cba8fa7d30bdd84
2021-06-30 00:59:17 -07:00
SalmaxChang
08264e80ec gs201: Setup verbose logging property
Bug: 191961885
Change-Id: I2526a6cd65ac18bfc8361a935610dad896daec66
2021-06-30 06:39:51 +00:00