Petri Gynther
5460a9cd2a
gs101: clean up kernel variables am: 17f6b03738 am: f276caad32 am: 9ad38e7941
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15746361
Change-Id: I4578b811d14a6c984a5591089ea2e29cc3f09dc1
2021-09-03 13:34:14 +00:00
Petri Gynther
ac4bfb6f13
gs101: clean up kernel variables am: 17f6b03738 am: e2d75ff078
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15746361
Change-Id: I24929729f612646a159de6f4711348865f0fe251
2021-09-03 13:14:56 +00:00
Petri Gynther
24d9c3647b
gs101: clean up kernel variables am: 17f6b03738 am: f276caad32
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15746361
Change-Id: I6f866d6a6cd5cf4b11a551a49fae601298ac5999
2021-09-03 13:13:54 +00:00
Petri Gynther
0b32c7a064
gs101: clean up kernel variables am: 17f6b03738
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15746361
Change-Id: If35675fa7de6b3029d211ca9d32b58d88eb80144
2021-09-03 12:58:43 +00:00
Petri Gynther
b5474eb289
gs101: clean up kernel variables am: 17f6b03738
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15746361
Change-Id: Ic6e3d962e0e54df7d0880bc412295432f54b9df2
2021-09-03 12:58:42 +00:00
Petri Gynther
299ca16835
gs101: clean up kernel variables
...
1) remove TARGET_BOARD_KERNEL_HEADERS
2) remove TARGET_PREBUILT_KERNEL
Bug: 198682676
Change-Id: I9ab161ee75dc33e135ad87e084b3373350ca0c93
2021-09-03 12:35:16 +00:00
Edwin Tung
df141c9325
gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: 9eb6778a29 am: 8e7f591666 am: 0c04176f49
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517
Change-Id: Ib022b5851c6ceafe8b02cda27dfa0014a8af901c
2021-09-03 09:14:00 +00:00
Edwin Tung
c92a53336f
gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: 9eb6778a29 am: 7351c83a2e am: a8c115610f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517
Change-Id: I141e9bb16497647dbedb0ab80884da769a2d5200
2021-09-03 09:13:55 +00:00
Edwin Tung
f4a5c8400d
gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: c8b0f33127 am: cb3231674f am: fc5e227518
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517
Change-Id: I5dce3f03248da71ae5b4a10e00591c29d5cb9015
2021-09-03 09:13:49 +00:00
Edwin Tung
ce0089eda3
gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: 9eb6778a29 am: 8e7f591666
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517
Change-Id: I9dae5dcbf62c4c962095c88f939a43e3e1c74613
2021-09-03 08:54:03 +00:00
Edwin Tung
ae50483323
gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: 9eb6778a29 am: 7351c83a2e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517
Change-Id: I12b5188386f6c8b40ccdcaf5572d5150af81ca60
2021-09-03 08:52:59 +00:00
Edwin Tung
6765768898
gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: c8b0f33127 am: cb3231674f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517
Change-Id: Ic22a9fda6965ae36bfe623b038008daf2f3d6e6f
2021-09-03 08:52:54 +00:00
Edwin Tung
347f033019
gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: 9eb6778a29
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517
Change-Id: I9c6020023d9ef1a9fb56d311a5b70328aae960be
2021-09-03 08:35:44 +00:00
Edwin Tung
d50292475a
gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: 9eb6778a29
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517
Change-Id: I1356ace0fb22cd690f1e6e7ca65643659999eb9b
2021-09-03 08:35:43 +00:00
Edwin Tung
91022aaa1e
gps: update gps driver 129.20.23.513912 am: 63d85c21e8 am: c8b0f33127
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517
Change-Id: I2e86b294a3e31bb6ad12cbebfcf93ee743bd16fb
2021-09-03 08:35:25 +00:00
Edwin Tung
d80cf7415e
gps: update gps driver 129.20.23.513912 am: 63d85c21e8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15743517
Change-Id: I3b068cf749a96b1b52287115d19e3638e07140f3
2021-09-03 08:18:41 +00:00
Ted Lin
dcf2f88fe7
dumpstate: move the dump registers from regmap to each driver am: 79d4aa8404 am: a8d924be8e am: 577b331c38
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583885
Change-Id: Id62e3dc3b348bf0267b7866b651ff2ddd14964c4
2021-09-03 06:37:27 +00:00
Ted Lin
15faead640
dumpstate: move the dump registers from regmap to each driver am: 79d4aa8404 am: 61416bc885 am: b9f0d4e6d9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583885
Change-Id: Ibdb3e35fc4eecd9a9a3a571fba32dcbbbcb1323d
2021-09-03 06:37:20 +00:00
Ted Lin
44f220cc1b
dumpstate: move the dump registers from regmap to each driver am: 79d4aa8404 am: a8d924be8e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583885
Change-Id: I24dee02b74ae5a820af188814af564147404d3d0
2021-09-03 06:14:18 +00:00
Ted Lin
a3345f8128
dumpstate: move the dump registers from regmap to each driver am: 79d4aa8404 am: 61416bc885
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583885
Change-Id: Ibb249b9aae81dd9fde30e52a461aedea32670f08
2021-09-03 06:13:19 +00:00
Ted Lin
ac572156d8
dumpstate: move the dump registers from regmap to each driver am: 79d4aa8404
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583885
Change-Id: Iec8d71029d9843d7df79e1d43c44dfdce9e8466f
2021-09-03 06:01:09 +00:00
Ted Lin
89bde98bef
dumpstate: move the dump registers from regmap to each driver am: 79d4aa8404
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583885
Change-Id: I34fe2ec8a0319abea57966b7b6333f460764dada
2021-09-03 06:01:09 +00:00
Ted Lin
2b86da4352
dumpstate: move the dump registers from regmap to each driver
...
dumpstate availible to dump data with below 2 permission:
-r--r--r-- 1 root root
-r--r----- 1 system system
but /d/regmap permission is -r-------- 1 root root
1. we cannot change root to system with chown if the file node is root
2. we cannot change to read with chmod if the file node is root
3. try change permission in vendor_init causes sepolicy build fail with
message rule neverallow
Base on above results, we added new file node in kernel with available
permission to dump needed data and dump it.
Bug: 194941806
Test: adb bugreport
Change-Id: Ieeb1adfb0351ceb33bf817cbef3663d41cdb8645
Signed-off-by: Ted Lin <tedlin@google.com>
2021-09-03 05:44:37 +00:00
Bob Badour
c08588abaf
[LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101 am: 9600d301b7 am: 96078c8a90
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15738724
Change-Id: Ifb541b8ed0de5392e8ea76a9a90783ec82eab93c
2021-09-02 23:27:32 +00:00
Bob Badour
ec47ba52c5
[LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101 am: 9600d301b7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15738724
Change-Id: I596bfd6009c5b80c22380259b1f8f9fcb546a4b8
2021-09-02 23:17:21 +00:00
Edwin Tung
16e8a27f52
gps: update gps driver 129.20.23.513912
...
Fixed a bug of missing ref location in ME switching
Fixed to report velocity type correctly
Increased PGLOR,6,PWR nmea sentence buffer and GLL will print the error log if the sentence is longer than expected
Added a ring buffer for malloc/free debugging with dump
Fixed ESW patch download issue
Bug: 197716902
Bug: 197711819
Bug: 197620911
Bug: 196499748
Bug: 197916943
Sanity Test: 198605012
Test: build pass
Change-Id: I06e25376c194058404e5d65e463086d3d1e2f1d9
2021-09-02 21:02:27 +08:00
Jack Wu
0bb55e9aaa
gs101: separate WirelessCharger from device_framework_matrix_product am: 0add4b6582 am: dbaa472c53
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15723570
Change-Id: I3846ab523a515417ffbedbd591fc262d0834b8c8
2021-09-02 07:18:59 +00:00
Jack Wu
690f58c05c
gs101: separate WirelessCharger from device_framework_matrix_product am: 0add4b6582
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15723570
Change-Id: Ibb8906af31f287fb3286aeed03c8bd54e2fd4d5e
2021-09-02 07:04:00 +00:00
Jack Wu
6908766de0
gs101: separate WirelessCharger from device_framework_matrix_product
...
Bug: 198221475
Test: WirelessCharger can run
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I7120f5f5338dc95ca19a977ad0028b54a410c80a
2021-09-01 13:07:58 +00:00
Bob Badour
25b5f6dbbf
[LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101
...
Added SPDX-license-identifier-Apache-2.0 to:
conf/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ibba45375a32253dce8185674b1dddf08c83b3fe0
2021-08-31 18:51:50 -07:00
leohsieh
7bf8127511
Remove project info from udfps_common.mk am: 4ac6e0cb59 am: e2f62493ce
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15623881
Change-Id: I12462120c1ac203026a7b24fa4db063b7aa0ed78
2021-08-31 11:52:37 +00:00
leohsieh
85107cc2d8
Remove project info from udfps_common.mk am: 4ac6e0cb59
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15623881
Change-Id: I74aaa2e053edf9df91b0abe55f795ad2186bb5fe
2021-08-31 11:38:43 +00:00
leohsieh
0385e708a6
Remove project info from udfps_common.mk
...
Move GOODIX_CONFIG_BUILD_VERSION to device mk.
Fixes "There is no fp HAL on factory build".
Bug: 197213960
Test: lunch oriole-userdebug
Test: lunch factory_oriole-userdebug
Test: lunch oriole_hwasan-userdebug
Change-Id: I39ba0675eb3046d7d8229a996f3d728aedc59b02
2021-08-31 11:23:29 +00:00
Joe Huang
79991feca4
Revert "Separate gps from init.gs101.rc"
...
This reverts commit 5c34fffc06d4842e8733591876c4a4c8aa70776f.
Reason for revert: <b/198158466, will re-land with a suitable fix>
Change-Id: If9fa482e4e0f247a66cc665c1e7f2f7c971efb21
2021-08-31 05:00:09 +00:00
Eric Biggers
e6c6fcd235
Generate a separate fstab file for FIPS mode am: 08c8bc2e40 am: 99dce51a94 am: 3cc48d2eca
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272
Change-Id: I02879a4ce81c7dbb5149cd9a19bd06931429b4fe
2021-08-30 23:39:36 +00:00
Eric Biggers
de02adef74
Generate a separate fstab file for FIPS mode am: 08c8bc2e40 am: 0f66842f06 am: 2d9800dfe4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272
Change-Id: Ic5e11c21dd6f2ef3eb506da6514f61029bf99533
2021-08-30 23:39:28 +00:00
Eric Biggers
7d148430ad
Generate a separate fstab file for FIPS mode am: 08c8bc2e40 am: 99dce51a94
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272
Change-Id: Ia7834e39ac7727cf56fb7dbfb70a7e361f2acf8b
2021-08-30 23:28:08 +00:00
Eric Biggers
9b9ac62ffe
Generate a separate fstab file for FIPS mode am: 08c8bc2e40 am: 0f66842f06
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272
Change-Id: Ic20ecc63d7254ec7cdbddacb489ac42e993f2156
2021-08-30 23:26:24 +00:00
Eric Biggers
565b9b27ae
Generate a separate fstab file for FIPS mode am: 08c8bc2e40
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272
Change-Id: Iafebe12fb8b8f585ec6e57a4edd0d23271b779e0
2021-08-30 23:16:39 +00:00
Eric Biggers
f8622be0fd
Generate a separate fstab file for FIPS mode am: 08c8bc2e40
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15522272
Change-Id: I989dad797866cc82ad11cf2bca3e705370689517
2021-08-30 23:16:38 +00:00
Eric Biggers
f739cf68c0
Generate a separate fstab file for FIPS mode
...
Add a file "fstab.gs101-fips" alongside the existing "fstab.gs101" in
order to specify different encryption settings in FIPS mode.
"androidboot.fstab_suffix=gs101-fips" on the kernel command line will be
used to select the FIPS fstab when needed.
As the two fstabs should be otherwise identical, generate them from a
template file so that they will stay in sync.
Note that generating the fstabs requires that they be installed as build
system modules rather than via PRODUCT_COPY_FILES, which results in the
vendor_ramdisk copy of the fstabs being installed to system/etc rather
than /. This shouldn't cause any problem, now that Android has been
updated to look for the fstab in this location too.
Bug: 191417025
Change-Id: I1d115e014df8ba2fb83046ac0b9b791597364846
2021-08-30 14:09:06 -07:00
Puma Hsu
68393a449e
usb: fix the naming for uwb mode am: af3face69d am: 28ffaeb43a am: 6bed5046c7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15706017
Change-Id: Ib98fa8f88cb18614c81e2887813968b35006b853
2021-08-30 02:59:46 +00:00
Puma Hsu
5ac6e926e3
usb: fix the naming for uwb mode am: af3face69d am: 65de06b418 am: b5f38d0561
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15706017
Change-Id: Id5f912933552288da49c2022f07d676317fe7e84
2021-08-30 02:59:28 +00:00
Puma Hsu
65f63cdedb
usb: fix the naming for uwb mode am: af3face69d am: 28ffaeb43a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15706017
Change-Id: Id66979d3e14429e350a9bb7831d19abe6c342cbb
2021-08-30 02:42:02 +00:00
Puma Hsu
626828a618
usb: fix the naming for uwb mode am: af3face69d am: 65de06b418
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15706017
Change-Id: I89e345795e95b5af9654ac378646e7bc62af3f9d
2021-08-30 02:41:34 +00:00
Puma Hsu
a1e2a9b9a4
usb: fix the naming for uwb mode am: af3face69d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15706017
Change-Id: I15f70fb6192dc54f5f27e4efea9253ab038b7fd7
2021-08-30 02:24:22 +00:00
Puma Hsu
f723d1535f
usb: fix the naming for uwb mode am: af3face69d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15706017
Change-Id: Ifc461cbcaee2802e8e7a7dce499565cd172a3b2c
2021-08-30 02:24:22 +00:00
Puma Hsu
c798852213
usb: fix the naming for uwb mode
...
In previous we created a new bootmode "uwb" which will enable
the ACM port, but the name was wrong. Rename it as "usbuwb"
Bug: 187877902
Test: ACM port can be enabled
Signed-off-by: Puma Hsu <pumahsu@google.com>
Change-Id: Id27930c4c34e7272cebf1825b6aa68f526e84112
2021-08-29 22:21:30 +08:00
Victor Liu
f3b6a9f8c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15698159
...
Change-Id: I7e43c06b2ce536b1ecbe1f9cbaab0001b25381b8
2021-08-28 18:07:32 +00:00
Victor Liu
7807f65b98
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15698159
...
Change-Id: Id990f534a4d992f31c65fc767b466dab35e78d67
2021-08-28 17:52:58 +00:00