Commit graph

4988 commits

Author SHA1 Message Date
Albert Wang
398bdf6dd4 Merge "Correct i2c path for contaminant protection detection and status" 2021-06-04 08:20:36 +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
Albert Wang
9b1babb956 Correct i2c path for contaminant protection detection and status
Bug: 189703449
Test: read contaminant status normally
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iff31b2846cec2e960e5c5db83371ca3e983a4a3b
2021-06-03 15:29:29 +08:00
Jesse Hall
c6519ab937 Move init.gs201.rc from cloudripper/
Test: boot to home
Change-Id: I35e4c2495029aba1b51ccbd99661c6e83b909ba8
2021-06-02 16:27:10 -07:00
Pat Tjin
5294123ac1 Cloudripper: workaround for USB bring up
This is a workaround to get adb working while USB is being brought up.

(cherry-pick from device/google/cloudripper)
Bug: 188672439
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ie114c1f67198a10a6c0dda49d1ed2ee85c8b2bf5
2021-06-02 16:26:59 -07:00
Pat Tjin
28140b7240 Hold wakelock on boot
Hold wakelock on boot to mitigate b/188796118

(cherry-pick from device/google/cloudripper)
Bug: 188796118
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ia75d355eaed0d469f791f126aaed1c0059df0abd
2021-06-02 16:26:35 -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
Albert Wang
aa78dc8437 Merge "Correct the new udc path" 2021-06-02 01:41:43 +00: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
weichinweng
ac85fcac51 Change gs201 bluetooth uart port to dev/ttySAC18
Bug: 189727579
Test: Bluetooth can be turned ON from settings
Change-Id: I8712c2af2ef8dd63cd198f6a29aaeaf7ec22b0ca
2021-06-01 16:33:41 +08:00
Albert Wang
afefe3a71e Correct the new udc path
Bug: 189703449
Test: access attributes correctly
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I2223666cf05ea69ea531991bedcf1de62686f2e7
2021-05-31 11:20:27 +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
TreeHugger Robot
bdad6e9580 Merge "Add camera to gs201 device makefile" 2021-05-25 01:36:24 +00: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
Ray Chi
ef2cbbe6c3 Revert "gs201: usb: add state of usb extcon to monitorffs"
This reverts commit 72ef08cafa11ab10bc31105c70836cef92e1f7b4.

Reason for revert: using alternate method for original behavior change
Bug: 187261232
Test: build pass

Change-Id: I5643a4109f6e4a64d167ed9ee1ce0bc3492cea42
2021-05-24 20:29:07 +08:00
Hyunki Koo
f398577b5c change name 11110000.usb to 11210000.usb
Bug: 188672439
Signed-off-by: Pat Tjin <pattjin@google.com>
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Change-Id: I61c874ab37c7a1f9288843dbbba2781dee7ecf1e
2021-05-21 14:58:56 -07:00
Pat Tjin
154bd667c8 Use only gs201 sepolicy
Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I0d8e8b9ec08900b99c0f87208a5ea095020605a7
2021-05-20 17:49:09 -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
Pat Tjin
6ec6628fc5 Remove tpu, camera, chre, audio, change swiftshader backend for bring up
Remove TPU, camera, CHRE, audio
Change swiftshader to gles and disable Vulkan

Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I27f25e0e756e722807ce503a0c702e3de0e9a880
2021-05-20 17:54:14 +08:00
Pat Tjin
d186bcc4e6 Add generic sensor HAL
Add generic sensor hal for bringup

Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I9a995c0f506b251e0b9129ed200776eb66db003f
2021-05-20 17:54:02 +08:00
Pat Tjin
cd94440140 Remove some bluetooth for bring up
(not sure if required)

Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I1b5109e1e20de2af63dbcae14d64a4d1728da072
2021-05-20 17:53:52 +08:00
Pat Tjin
aac7611e6e Disable secure element for bring up
Disable secure element for bring up since the service is crashing.

Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ia4ba3824a1f6ec44f326aaf4f7f5c607622391ab
2021-05-20 17:53:38 +08:00
Pat Tjin
52f6dc9255 Disable keymaster start
Disable keymaster for bringup

Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I7a1e35e6271aa3f64ee2a90130a438f1692021f6
2021-05-20 17:53:23 +08:00
Pat Tjin
cdc70500b1 Disable bluetooth on boot
Prevent crash on boot

Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: If56bdf001181ced1f56c5bcd86a07df65a7ff021
2021-05-20 17:53:07 +08:00
Hyunki Koo
1e7f912b51 BoardConfig-common.mk
Bug: 186836335
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Change-Id: Id3f575d31fa32303207ac2a424d7543c45508cfc
2021-05-19 15:23:26 +00:00
Aaron Ding
c4227335c9 init gs201 builds
Bug: 183183095
Change-Id: Ida78d0352dbd79acb8f2122b51fdb47a2e217bf0
2021-05-19 17:38:25 +08:00
Aaron Ding
bb4beafe47 Create gs201 device folder baseline
clone from gs101 sha 9d1c97c2

Bug: 183183095
Change-Id: Ie7112bdf0aceb33c9e1956aa52e961b670582733
2021-05-19 13:35:26 +08:00
Inna Palant
4414b92594 Initial empty repository 2021-05-18 11:35:56 -07:00