Commit graph

693 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Puma Hsu
ab355dd063 usb: create new functions for uwb am: 563421fa4f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659566

Change-Id: Ie50b6b466b11cb2f49fe679b622b8fc6a461aa9c
2021-08-26 06:53:35 +00:00
Puma Hsu
fbcb7ad5dc usb: create new functions for uwb
uwb needs ACM port, create this function combination.

Bug: 187877902
Test: ACM port can be enabled.
Signed-off-by: Puma Hsu <pumahsu@google.com>
Change-Id: I14c6af95bbd5e9e0b2c4a17a1fffb6e04def2c9b
2021-08-26 06:37:39 +00:00
Edwin Tung
4fe9622dcd gps: update gps driver 129.20.23.512827 am: b4ee393e13 am: e02fb18427
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659562

Change-Id: I7e9cee9c79ce798e3facdc55cab99512ba60da59
2021-08-25 09:44:11 +00:00
Edwin Tung
0ed0b0a1f1 gps: update gps driver 129.20.23.512827 am: b4ee393e13 am: 5a5a3fb5dd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659562

Change-Id: I7f8508574664fa2539d428bd4483c9cd50874643
2021-08-25 09:43:48 +00:00
Edwin Tung
31cf630527 gps: update gps driver 129.20.23.512827 am: b4ee393e13
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15659562

Change-Id: If37d23febac5921bb090fadf74ffeb1a4f482985
2021-08-25 09:21:00 +00:00
Edwin Tung
09ea2fd293 gps: update gps driver 129.20.23.512827
Set minimum interval 1000ms for CHRE request
Fix position gap in scheduling request
URA value should not be divided by sqrt of 2 regardless of position source
Enable SvPvt logic even the period is less than 1s
Fixed Native crash: Additional check before using gyro mean as VDR measurement.

Bug: 196499748
Bug: 196927451
Bug: 197141478
Bug: 196851941
Bug: 197061041

Sanity Test: 197583040
Test: build pass

Change-Id: I1409f75e50a7b8402c967957fa4148823d22caea
2021-08-25 09:08:11 +00:00
Petri Gynther
5c57adfa19 Revert "gs101: use prebuilt GKI boot.img for production builds" am: 314ca8bcf6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15629452

Change-Id: Ib26293f63e0c94cb331c208b537220c8cedbf93e
2021-08-23 19:46:23 +00:00
Petri Gynther
ccbd2c7431 Revert "gs101: use prebuilt GKI boot.img for production builds"
This reverts commit 96007d8f9cab5f6028cb4a1b15e30c6ffe8bf5dd.

Temporarily revert prebuilt boot.img usage on sc-qpr1-dev
until we have official signed GKI boot images available.

Bug: 188095549
Bug: 191417025
Change-Id: I2f9907d3674f8a8869aac3c926994e116c76a91b
2021-08-23 19:20:43 +00:00
Oleg Matcovschi
7988592c44 bootctrl: enforce synchronous write operation am: 354f3c6d2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15641057

Change-Id: I939ef6441746fe26738115e1b6a817d375ba2c70
2021-08-21 06:52:22 +00:00
Oleg Matcovschi
95f4b9ccb7 bootctrl: enforce synchronous write operation
Bug: 197104397
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: Ifbc612fc40847395ccb751463b1bb15bd3f20657
2021-08-20 17:16:35 +00:00
SongFerngWang
8f5eadd442 Enable the Connectivity helper Settings UI am: f3c254dd05 am: 52d09f5d1c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15337099

Change-Id: I54ac629ccf063580e60870aa957a3169226a0c52
2021-08-20 17:06:02 +00:00
SongFerngWang
d62d6c2d67 Enable the Connectivity helper Settings UI am: f3c254dd05 am: 9dbdd67fac
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15337099

Change-Id: I55f3550e43d20549902e744ab258ac6e7ce3fc95
2021-08-20 17:04:58 +00:00
SongFerngWang
a07c71c4c7 Enable the Connectivity helper Settings UI am: f3c254dd05
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15337099

Change-Id: I3438eac67e7dc2ec085975fe7d2c430ff585e02f
2021-08-20 16:44:15 +00:00
SongFerngWang
b296e9a28d Enable the Connectivity helper Settings UI
Bug: 190018497
Bug: 190017996
Test: build pass
Change-Id: I0970be731d37a25d73ee0cc7e5c147627567b4ed
2021-08-20 16:29:31 +00:00
AleX Pelosi
7a6493ea9b [automerger skipped] gs101: use CPU4 in charger mode am: 5ac742b9fc am: 3fb606c6a6 -s ours
am skip reason: Merged-In Ib2bee00b952df65d60534342e20f5d331b839e4c with SHA-1 5ac742b9fc is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15631479

Change-Id: Ia405daca557d4234ef53f207ea8cf85315e9975c
2021-08-20 00:28:12 +00:00
AleX Pelosi
95ac19b3c7 gs101: use CPU4 in charger mode am: 5ac742b9fc am: 2f7da2e559
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15631479

Change-Id: Id7d9314be8dc1c0a4a6e2fa6dde0e819bd04d819
2021-08-20 00:27:52 +00:00
AleX Pelosi
115455b772 gs101: use CPU4 in charger mode am: 5ac742b9fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15631479

Change-Id: I5d918af95f3a8f6587cebe65ea806468d04c286e
2021-08-20 00:11:10 +00:00
AleX Pelosi
41fcd9e444 gs101: use CPU4 in charger mode
For charging efficiency certification swap CPU6 with CPU4 while in
off-mode charging.

Bug: 194146139
Signed-off-by: AleX Pelosi <apelosi@google.com>
Change-Id: Ib2bee00b952df65d60534342e20f5d331b839e4c
Merged-In: Ib2bee00b952df65d60534342e20f5d331b839e4c
2021-08-19 23:49:43 +00:00
Chris Fries
7a78630e8f Revert "device.mk: Freeze vendor security patch 2021-09-0x" am: 376fb1a2fe am: b51eb8ef23
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15520497

Change-Id: I77fe35a156a41c8f558d6ca648d9dc5d6bd090c7
2021-08-19 20:09:28 +00:00
Chris Fries
43348d59a2 Revert "device.mk: Freeze vendor security patch 2021-09-0x" am: 376fb1a2fe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15520497

Change-Id: Iac2bb7179bb324642674651b27d3be3262d4533e
2021-08-19 19:56:15 +00:00
Chris Fries
ad0409f917 Revert "device.mk: Freeze vendor security patch 2021-09-0x"
Undo this temp hack before launch.

Bug: 187105270
Change-Id: Ieb210d1c713aa4434748af8d6848574f5da7f798
2021-08-19 11:15:06 -05:00
Taehwan Kim
237fade0ab firmware: mfc: update release MFC F/W(21/08/13) am: 632f404d83 am: 773ff8ebff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15580548

Change-Id: I6cac9af01a6fd293665705529f4012f219dadb2c
2021-08-18 22:01:12 +00:00
Taehwan Kim
3791ade4e3 firmware: mfc: update release MFC F/W(21/08/13) am: 632f404d83 am: 7e88a4a2c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15580548

Change-Id: Ie254d333634746bb8baaeaf931304e1cc427413b
2021-08-18 21:56:25 +00:00
Taehwan Kim
03dee4e377 firmware: mfc: update release MFC F/W(21/08/13) am: 632f404d83
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15580548

Change-Id: Iee309bb431bf64c2f17372181b21781f0c6bd66d
2021-08-18 21:40:15 +00:00
Taehwan Kim
72cccf1d6f firmware: mfc: update release MFC F/W(21/08/13)
- Reverted the "Implemented so that H.264 decoder return
FEATURE_NOT_SUPPORTED error when content is 10-bit" feature

Bug: 196487829
Test: android.mediav2.cts.DecoderColorAspectsTest
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Iaffa77b07d341c973b12abf26250f8c12ce3ce5a
2021-08-18 21:27:09 +00:00
Chris Fries
8f4a37cf51 device.mk: Freeze vendor security patch 2021-09-07 am: c2c594926f am: 8d34aa1bfb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15613533

Change-Id: I41c2f00555c7ce2917d21ba7fde5e6fc88fcfae6
2021-08-18 20:23:58 +00:00
Chris Fries
afede3485c device.mk: Freeze vendor security patch 2021-09-07 am: c2c594926f am: 18e85dbcb0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15613533

Change-Id: Idb3dc02b716e373249b4a4ea7dfeeb5a4001378a
2021-08-18 20:18:45 +00:00
Chris Fries
b31a45d447 device.mk: Freeze vendor security patch 2021-09-07 am: c2c594926f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15613533

Change-Id: I4d0c39d7e20e2c75afd5bb77cb9b578ec58a95af
2021-08-18 20:04:12 +00:00
Chris Fries
6d42117462 device.mk: Freeze vendor security patch 2021-09-07
(stopship hack) Roll forward the SPL so that we can test
rollback cases in testing before launch.

Bug: 187105270
Change-Id: Ic0bdb7e3ece264aa42af1965421a485a8f16980b
2021-08-18 12:51:30 -05:00
George Lee
b34453ba54 bcl: Put OCP_WARN level back to original level am: 70d560fc98 am: 9a5ae04034
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583753

Change-Id: I9277b5c64c8a669a6d967f74b7fd5c729471bf12
2021-08-17 16:52:29 +00:00
George Lee
38d12962a1 bcl: Put OCP_WARN level back to original level am: 70d560fc98 am: 9fd16783bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583753

Change-Id: I4ffdee472c49786699ad73b656ddd73ca16922a6
2021-08-17 16:52:11 +00:00
George Lee
a9377aac5d bcl: Put OCP_WARN level back to original level am: 70d560fc98
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15583753

Change-Id: I0a27cb99eed07d8826c2e1b00da1681d008deb7f
2021-08-17 16:38:07 +00:00
George Lee
1fd62f31bf bcl: Put OCP_WARN level back to original level
Bug: 196833426
Test: Boot and confirm proper level set
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I3f46c74f35925ee0b31ec719b93d007e93a5a18f
2021-08-17 16:21:12 +00:00
Chris Fries
0d7880c0c2 device.mk: Freeze vendor security patch 2021-09-06 am: ead2bd66e1 am: ca409cb334
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15580480

Change-Id: I3f900f65c36118187d640f14a0b8dc20f53e6633
2021-08-17 00:17:26 +00:00
Chris Fries
4174b445b7 device.mk: Freeze vendor security patch 2021-09-06 am: ead2bd66e1 am: ab0b191a30
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15580480

Change-Id: Ie525077590239c5a149e7a37e3b2265a910b4110
2021-08-17 00:17:14 +00:00
Chris Fries
aed3eda558 device.mk: Freeze vendor security patch 2021-09-06 am: ead2bd66e1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15580480

Change-Id: Ia6fb63a77cb344e352187c4993d52f01af42897f
2021-08-16 23:43:08 +00:00
Chris Fries
44b49fdcab device.mk: Freeze vendor security patch 2021-09-06
(stopship hack) Roll forward the SPL so that we can test
rollback cases in testing before launch.

    Bug: 187105270

Change-Id: Ia6e75f0b6699f7967d4b92ef973f5ca6af1b5e6a
2021-08-16 15:29:32 -05:00
Peter Liu
e0fd9b5f50 remove camera prefer idle for streaming low am: 01886a30d7 am: 1bb5ca8046
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15533425

Change-Id: I9f91b9ab2ada41fc81eecb4aecae547980e9fe67
2021-08-14 05:16:48 +00:00
Peter Liu
873a64a845 remove camera prefer idle for streaming low am: 01886a30d7 am: 27aca8793c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15533425

Change-Id: Ifb8128a7ede4c83984d9a997a3fd396808ded85d
2021-08-14 05:16:28 +00:00
Peter Liu
2fd2169f7b remove camera prefer idle for streaming low am: 01886a30d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15533425

Change-Id: I12a5fda87062c0f7a049d7120bdc43986595a2d6
2021-08-14 05:04:41 +00:00
Peter Liu
cbb6ccd278 remove camera prefer idle for streaming low
Currently, the streaming low hint is not used yet.
but we plan to use it with 30fps mode or at the modes that can remove
prefer idle.

Bug: 195327798

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: Ibc75bf596bd05831605643c3fe427154fa626093
2021-08-14 04:50:34 +00:00