Commit graph

21 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
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
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
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
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
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
Armelle Laine
ab4c5929db Include /dev/trusty-log0 as one of the Cloudripper's dumpstate_board section
- DumpState add trusty section to dump /dev/trusty-log0
- ueventd.gs101.rc: add /dev/trusty-log0 (system ownership) and r/w permissions to user/group

Test: adb root; adb shell lshal debug android.hardware.dumpstate@1.1::IDumpstateDevice/default trusty
Bug: 192036703
Change-Id: I752ee9c9a88855485d71ed9deb1555df5bb005cd
Signed-off-by: Armelle Laine <armellel@google.com>
2021-06-25 20:37:56 +00:00
Thierry Strudel
c74bbb4df9 Revert "Hold wakelock on boot"
This partially reverts commit 28140b7240.

USB will hold a wakelock preventing suspend to happen

Bug: 188796118
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Change-Id: Idc583a025e429a5b5f13a94b732717e9491e4e55
2021-06-24 16:01:27 +00:00
SalmaxChang
ef1afd402d gs201: fstab: mount modem partition
Bug: 190504416
Change-Id: I51fca8fee2f8a75348152ee408f2c52bec602906
2021-06-23 02:33:08 +00:00
Richard Hsu
b7408c33ee Merge "[Bringup] Update device.mk for TPU (Janeiro) for PRO." 2021-06-18 01:20:29 +00:00
Richard Hsu
45ff75ce19 [Bringup] Update device.mk for TPU (Janeiro) for PRO.
Give TPU device path (/dev/janeiro) the same access permission as /dev/abrolhos. This change is similar
to what we did for WCH, but for PRO.

Bug: 191185522

Test: run_tflite_test_odc passes.
https://paste.googleplex.com/5466657955774464

Change-Id: If735e699c0c9ec842f915ebc7b59d0896f4c776c
2021-06-17 17:23:04 -07: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
Aaron Ding
eb7fdf23ad update fstab.gs201
Bug: 183183095
Change-Id: Ic75c341dda02e8bab58542ddb77a7507eabe53ee
2021-06-07 11:55:24 +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
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
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
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
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
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