Commit Graph

68 Commits

Author SHA1 Message Date
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
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
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
Adam Shih
76f8e12e56 modularize scd
Bug: 197914244
Test: boot with scd started
Change-Id: I5cfede43239c5d49e271bdd981be2e781c5a05ba
2021-08-27 11:17:46 +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
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
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
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
I-Chih Lu
0bb253c03f Merge "TUI: enable for cloudripper" 2021-08-12 23:35:04 +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
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
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
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
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
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
SalmaxChang
08264e80ec gs201: Setup verbose logging property
Bug: 191961885
Change-Id: I2526a6cd65ac18bfc8361a935610dad896daec66
2021-06-30 06:39:51 +00:00
Pat Tjin
1396b4b523 Revert "Add sensors to gs201."
This reverts commit 4c78229124.

Test: Boot to home
Bug: 192097339
Change-Id: I41fb4f58233f542f9fed7cce8aabad6eb65d3028
2021-06-29 16:56:26 -07:00
Salmax Chang
65cc9fae12 Merge "Add vcd for userdebug ROM" 2021-06-27 08:52:58 +00:00
SalmaxChang
9a3f7171fd Add vcd for userdebug ROM
Bug: 190331325
Change-Id: I6642f426ba77ea6bfa661d7eb88884df48f7b3ca
2021-06-27 07:32:26 +00:00
Armelle Laine
80b4b76457 Update device.mk to include trusty unit test
Bug: 191324832
Test: adb shell /vendor/bin/trusty-ut-ctrl -D /dev/trusty-ipc-dev0
Change-Id: I53e4b55826c17d6830667c93e68300bc4e3a5a93
Signed-off-by: Armelle Laine <armellel@google.com>
2021-06-25 20:37:48 +00:00
ichihlu
d7035a52dc TUI: enable for cloudripper
Bug: 192038980
Test: Build pass
Change-Id: I590fb0f232879fc2248b089c90daa7d1e10988a7
2021-06-25 07:51:00 +00:00
Max Shi
e3c50a383e Merge "Add sensors to gs201." 2021-06-23 21:33:24 +00:00
Adlai Holler
fff0d1fa1f Remove redundant build property for reduceOpsTaskSplitting
This flag is true for everyone now. No need for it here. Change has no effect.

Change-Id: Iba023c08ff1cb4f88e460fbb69c6cfb17f6d780f
Bug: 183612348
2021-06-22 17:03:05 +00:00
Wayne Lin
c153824304 gps: enable gps module in gs201
Build GPS with RIL due to library dependencies

Bug: 190707050
Bug: 191119634
Test: GPS test pass
Change-Id: I96151b95a8c7a3bf3d9cea340d6f5aaebba8ffde
2021-06-18 11:09:06 +08:00
Taehwan Kim
d065e12bf9 MFC H/W video bring up
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I4b39ba082a2f955f4a21fa7f2b107e27c8357681
2021-06-16 23:08:26 +00:00
Wei Wang
daf8a29c31 Enable ADPF for P22
Bug: 191163855
Change-Id: Ie2a3324f5b116271ca790943b70b69291e0f4f05
Test: Build
2021-06-15 18:25:10 +00:00
Nrithya Kanakasabapathy
64f57befb2 Merge "Updates to device make files to include the TPU firmware for whitechapel pro" 2021-06-15 05:02:41 +00:00
Wei Wang
124deebf68 Disable ADPF for bring up
Bug: 191078889
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I9984f9c0214884ca7b29a780bcd5b50ce639d876
2021-06-14 21:14:21 -07:00
Nrithya Kanakasabapathy
87b88bb590 Updates to device make files to include the TPU firmware for whitechapel
pro

Bug: 190569662

Signed-off-by: Nrithya Kanakasabapathy <nrithya@google.com>
Change-Id: I960d7aaafebb377dbcf976381a9dc6edcc01d8c7
2021-06-14 19:36:50 +00:00
Jesse Hall
71aa8f3301 gs201: install libOpenCL
This required disabling the GPU-related PRODUCT_SOONG_NAMESPACES so that
we don't get an installed-path collision between the prebuilt gs201
libOpenCL and the gs101 libOpenCL that we build from source. Once we're
able to build both gs101 and gs201 from the same source (b/185349920)
we'll need to re-add the namespaces.

Bug: 190424017
Test: gfx-score
Change-Id: I9095e099a120494fab0c33fc6bd1ace2c69f3bc4
2021-06-11 15:58:22 -07:00
Max Shi
4c78229124 Add sensors to gs201.
Fixes: 189280780
Bug: 189855134
Test: adb shell dumpsys sensorservice
Test: adb shell sensor_test --version
Change-Id: I658fabeaaf589393047570f15528962c02ec638c
2021-06-09 20:16:49 -07:00
TreeHugger Robot
d30f612aed Merge "Remove GPU module and firmware from ramdisk" 2021-06-09 16:54:37 +00:00
Andrew Scull
dcce238528 Merge "Enable pKVM be default" 2021-06-08 13:43:34 +00:00
Jesse Hall
ee3c76e93a Remove GPU module and firmware from ramdisk
They aren't needed for first-stage boot, and can be loaded from
`/vendor` and `/vendor_dlkm`.

Bug: 189506395
Test: boot to home
Change-Id: Ib4c708c8631586cf25e1535035b8bc81f727ef5f
2021-06-07 13:27:49 -07:00
Andrew Scull
2496a78bdf Enable pKVM be default
Include the com.android.virt APEX in the cloudripper image to bundle the
pKVM user space components.

Test: atest VirtualizationTestCases
Bug: 181324461
Change-Id: If84c957b74dc59faefc88edf6b7f500894eef38b
2021-06-07 12:21:03 +00:00
Chien-Yu Chen
020b77a5ac Link Lyric HAL for GCH in cloudripper
Test: Make
Bug: 190088732
Change-Id: I790cfe792374e256a96ac501e612a2759b1772e1
2021-06-03 15:38:07 -07:00
Pat Tjin
ac54e6697c add usb features
Prevent crashing of settings when going into Connected Devices.

   E SystemServiceRegistry: No service published for: usb

followed by NPE:

   java.lang.RuntimeException: Unable to start activity
   ComponentInfo{com.android.settings/com.android.settings.Settings$ConnectedDeviceDashboardActivity}:
   java.lang.NullPointerException: Attempt to invoke virtual method
   'java.util.List android.hardware.usb.UsbManager.getPorts()'
   on a null object reference

Bug: 189904047
Test: check settings doesn't crash anymore
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I1dd8df5cf70500b3dbb95009783dc2ba89e5ce13
2021-06-02 11:56:58 -07:00