Commit graph

54 commits

Author SHA1 Message Date
Adam Shih
d242564abd reuse gs101 pktrouter
Bug: 196916111
Test: boot with pktrouter launched
Change-Id: I10bdeccd32db50152993b64bb4b7ee2e303da017
2021-08-18 12:48:41 +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
TreeHugger Robot
c2239dca95 Merge "Install vulkan driver" 2021-06-01 21:02:10 +00:00
Jesse Hall
1946a9b569 Install vulkan driver
Bug: 189832243
Test: adb shell cmd gpu vkjson
Change-Id: Icf262fb95a4909d8eb79d03ce5238dc147a575dc
2021-06-01 13:25:06 -07:00
weichinweng
6546e7e0b6 Add bt_vendor_overlay.conf to gs201 folder
Add bt_vendor_overlay.conf for customizing project configuration
* If the overlay config has same config item with origin config, it
  will overwrite it.

Bug: 189727579
Test: build pass, Bluetooth can up successfully.
Change-Id: I48f160ab87b5d512b78884d4502c790587724cd9
2021-06-01 16:34:27 +08:00
weichinweng
e4ed280188 Add Bluetooth to gs201 device makefile
Bug: 189727579
Test: Bluetooth can be turned ON from settings
Change-Id: I11424bd904771c6173121d8f8b9e67948c03f384
2021-06-01 16:34:06 +08:00
Roger Wang
545a3f9174 Add WiFi to gs201 device makefile
In this commit we add wifi xml files into devices.

Bug: 189501230
Test: WiFi can be turned ON from settings
Change-Id: I775ca9c703357cb58ccd2e5055a27ba1cc957905
2021-05-28 07:11:38 +08:00
Jesse Hall
2b48a89ece Switch back to GPU
Bug: 188817759
Test: boot to homescreen
Change-Id: If30ea44a04453170bc9d14607deea513ee16a94f
2021-05-27 11:06:45 -07:00
Jesse Hall
68287dba46 Disable GPU again, switching back to swiftshader
At TOT, Zygote is crashing when GPU is enabled.

Test: boot to homescreen
Bug: 188817759
Change-Id: I3e89c5a2a21f8621fa82c61bcac10e901cf39359
2021-05-26 16:42:50 -07:00
TreeHugger Robot
c27f35185a Merge "Use bare-bones prebuilt GPU libs for now" 2021-05-26 22:36:47 +00:00
TreeHugger Robot
a7be3de4ee Merge "device.mk: Collect and clean up gpu-related settings" 2021-05-25 22:57:21 +00:00
Jesse Hall
e29630377e Use bare-bones prebuilt GPU libs for now
Bug: 188817759
Test: boot to homescreen
Change-Id: I2717e4b4507b1f27c118d122f3dc6edeb53a613c
2021-05-25 15:00:04 -07:00
Jesse Hall
1c62b01110 device.mk: Collect and clean up gpu-related settings
This is a port to gs201 of the original gs101 change.

Mostly this change just collects existing GPU-related settings into one
place so they can be found more easily. It also removes some vestigial
and redundant settings.

* Renderscript is deprecated and we never planned to include the RS HAL.
  But it was copied in (twice) from some previous device. Remove it and
  things that only the RS HAL depends on.
* The separate "*32" PRODUCT_PACKAGES entries were left over from when
  prebuilts had separate prebuilts modules for 32-bit and 64-bit
  variants of the package, instead of using a single multilib package.

Bug: 188672865
Test: boot to home, check all moved properties are still correct
Change-Id: I4b4088ffcec09b5b898eabe1710680dd3cc61959
2021-05-25 14:12:35 -07:00
Kourosh Derakshan
75de3b527b Add camera to gs201 device makefile
Bug: 176910876
Test: compilation
Change-Id: Ic2c6505c83cdad4993e5f66ff06e12bec0a6a057
2021-05-24 18:02:14 -07:00
Aaron Ding
b89f5f54b2 disable USES_GAUDIO
Bug: 186836335
Change-Id: I46e6ca6443b6c90530711a51ffa00eaabbb73e61
2021-05-20 21:35:22 +08:00
Pat Tjin
89841bf57a s/gs101/gs201
do a global substitution

Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ic79e8983d04615be7da70ebb2b5092aae5178495
2021-05-20 17:54:35 +08:00