Commit graph

1559 commits

Author SHA1 Message Date
Ted Lin
124b668baa dumpstate: move the dump registers from regmap to each driver am: 83a8549940
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15501578

Change-Id: Ia3476e2aaf9070485f4305c6f9bb742a83754677
2021-08-10 08:25:05 +00:00
Ted Lin
8d90260342 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-08-10 07:47:14 +00:00
Wen Chang Liu
e4fe96641d Revert "Revert "firmware: mfc: update release MFC F/W(21/08/03)"" am: a698114a37 am: ce4823810e am: 375276eea9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472405

Change-Id: I540c5cd5cf0a597fb887c252c2534c7dd0aca34a
2021-08-10 00:31:36 +00:00
Jidong Sun
20d7a84778 mfc_fw: Update to use unsigned FW binary am: e710ba9192 am: 67acf0c025 am: 685717802b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15486694

Change-Id: I389e88268d811747acd61a7027b1b39bbacf1aed
2021-08-10 00:31:35 +00:00
Wen Chang Liu
63a6947832 Revert "Revert "firmware: mfc: update release MFC F/W(21/08/03)"" am: a698114a37 am: 62a6ea6ab9 am: deda4c62ff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472405

Change-Id: I9f3a1d54668484f1967d031eaa7df215a83e8d50
2021-08-10 00:31:12 +00:00
Jidong Sun
d4afb3168b mfc_fw: Update to use unsigned FW binary am: e710ba9192 am: 760196efdf am: 336023fdd1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15486694

Change-Id: Ibec2979ad71fdc6a7db0bec8007ff31a7379235f
2021-08-10 00:31:11 +00:00
Wen Chang Liu
3df7a76fa6 Revert "Revert "firmware: mfc: update release MFC F/W(21/08/03)"" am: a698114a37 am: ce4823810e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15472405

Change-Id: I0cb0362f3e5e1b5c2b74955435d7efb57108ed8d
2021-08-10 00:18:26 +00:00
Jidong Sun
300e445c60 mfc_fw: Update to use unsigned FW binary am: e710ba9192 am: 67acf0c025
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15486694

Change-Id: I8e2557c7ba02b2b9b544e2675f899106e86ca6bc
2021-08-10 00:18:25 +00:00
Wen Chang Liu
7742985632 Revert "Revert "firmware: mfc: update release MFC F/W(21/08/03)""
This reverts commit f6fcd437fdfd133ce9ebe343bbaa9dbe1b8e9dbd.

Reason for revert: we should upgrade same MFC FW release together with bootloader since we embedded a MFC FW inside LDFW to speed up authentication flow for P21.
 
Bug: 194873668
Test: video playback, video recording

Change-Id: I84f72e07940dc93acb5b26647091e921f4060df2
2021-08-09 23:50:27 +00:00
Jidong Sun
777118c5fe mfc_fw: Update to use unsigned FW binary
Bug: 195214116
Signed-off-by: Jidong Sun <jidong@google.com>
Change-Id: Ic7b065dd65d813cac7792725b31bb7958d1fa76b
2021-08-09 23:50:27 +00:00
Daeho Jeong
2967143f1d bfq: set slice_idle to 0 am: 25421f8e71 am: a3baff9020 am: 42cdf30257
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15415376

Change-Id: Ide2cf0e5570babee91eec5cb8ffbf7219ee0dac6
2021-08-09 23:47:18 +00:00
Daeho Jeong
7fec368abd bfq: set slice_idle to 0 am: 25421f8e71 am: 98c0b94bea am: 09bc4907f0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15415376

Change-Id: I13cfc7eba42c154484c3b1ce39a2e0ca5935b21b
2021-08-09 23:46:48 +00:00
Daeho Jeong
94d3188380 bfq: set slice_idle to 0 am: 25421f8e71 am: a3baff9020
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15415376

Change-Id: I449c32c11a461ebdd6c7dbd94342e44336159c21
2021-08-09 23:38:30 +00:00
Daeho Jeong
bb82be6a2a bfq: set slice_idle to 0
Bug: 191606824
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I6a2e52cdf5a43fb2e74b756eb0f1249761d76b0e
2021-08-09 23:10:42 +00:00
Siqi Lin
b9af030ab2 dumpstate: dump recent AP wakeups from AoC DRAM exception am: 42a2e0d8c0 am: d5a85aaac7 am: 5aebf6cbdb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15474255

Change-Id: I04a53742430e0233ab018fd58e8a007e64b324d7
2021-08-09 20:35:04 +00:00
Siqi Lin
6434c7a7aa dumpstate: dump recent AP wakeups from AoC DRAM exception am: 42a2e0d8c0 am: 7cfde8adbc am: 9141562930
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15474255

Change-Id: I882cb465bd803f66f239821ed184dd1b7408c375
2021-08-09 20:34:24 +00:00
Siqi Lin
20c86c6913 dumpstate: dump recent AP wakeups from AoC DRAM exception am: 42a2e0d8c0 am: d5a85aaac7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15474255

Change-Id: I7ab51c2eec9f3e0829202e950938f6bdf12350d7
2021-08-09 20:20:19 +00:00
Siqi Lin
1858f3c579 dumpstate: dump recent AP wakeups from AoC DRAM exception
Bug: 186456919
Test: adb bugreport, open Bug Sections "dumpstate_board.txt"
Test: search for "AoC memory exception wake"
Change-Id: I45edeb5138957405f29b9556acb8ff36fdc9310b
2021-08-09 19:52:01 +00:00
Edwin Tung
18e5bf7884 gps: update gps driver 129.20.23.511166 am: 36b32f110a am: 7af3006903 am: 20bb310759
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15463394

Change-Id: I1bbbf73f4390f840c5fbfec396ec9f6d37b0be0c
2021-08-07 05:29:04 +00:00
Edwin Tung
d6e95201fc gps: Remove GpsCarrierType from XML am: 615a91eccf am: b79d8cb328 am: 949f7c8a03
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15427363

Change-Id: I2dcaa46c44c5310b39f0067a52f79d6eb3e911c4
2021-08-07 05:29:03 +00:00
Edwin Tung
aba76314ca gps: update gps driver 129.20.23.511166 am: 36b32f110a am: a01007242a am: d0603f2591
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15463394

Change-Id: I7de8c6972e9e8adc7b2554189f9debc597e25156
2021-08-07 05:19:53 +00:00
Edwin Tung
f7fb957906 gps: Remove GpsCarrierType from XML am: 615a91eccf am: 46fc894490 am: ee26cf26cf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15427363

Change-Id: If3c57e1864d7c885bc05bcb3778b128da4f620c6
2021-08-07 05:19:51 +00:00
Edwin Tung
8c591e99e1 gps: update gps driver 129.20.23.511166 am: 36b32f110a am: 7af3006903
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15463394

Change-Id: I53f8fee6a4a7390be4ae400e1f6c4ef5774c319f
2021-08-07 05:08:58 +00:00
Edwin Tung
b8ea77a27f gps: Remove GpsCarrierType from XML am: 615a91eccf am: b79d8cb328
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15427363

Change-Id: Id27ea8a1f90057d31aa970a7c162249a6829184c
2021-08-07 05:08:58 +00:00
Edwin Tung
25b2c66ba9 gps: update gps driver 129.20.23.511166
Reset VDR instead of assert when sensor misalignment is detected
Updated the heading process noise logic
Fixed the issue of unintentional COLD start trigger
Fixed the late acquisition by 1 sec due to missing sat aiding
Fix "libgps  : proxy__gps_start, CP Cold Start is running, skip gps_start"
Change in scheduling capability to treat less than 1000ms interval as 1000ms
and ignore accuracy mask
Relax the magnitude check of L5 bias to write to NVMEM
Added CpLppeHighAcc3DPosInAgnssProvideLoc (default:false) to combine a_gnss
and lppe ProvideLocationInformation
Change LogJava to retry connection to log service
Aiding B2a from B1I measurement was fixed
Fixed not to make assistance data request for CP
Change to allow IgnoreRomAlm to work.
Change the searching strategies.
Cange to use previous SIM card's IMSI
More adjustment for the LTE filter Bias
Added xml attribute OnDemandTimeCapability
SW change for the altitude
Implemented robustness for position loss after position request restarts
Fix SUPL OTDOA capability issue

Bug: 195607949
Bug: 193609637
Bug: 195489111
Bug: 194752965
Bug: 194728243
Bug: 194633864
Bug: 194309353
Bug: 194133982
Bug: 193477020
Bug: 193374889
Bug: 193114467
Bug: 192630262
Bug: 192047043
Bug: 191340913
Bug: 189412038
Bug: 193476205
Bug: 194974278

Sanity Test: 195599028
Test: build pass

Change-Id: I2d0367eb8e736c7e349609532d04d891cd51621e
2021-08-07 03:53:24 +00:00
Edwin Tung
204765d8ff gps: Remove GpsCarrierType from XML
Bug: 195087664
Bug: 193476205
Test: build pass
Change-Id: I6dfd0d7dcc349084eaabff64cbf9d3e813dc515f
2021-08-07 03:53:24 +00:00
Adrian Roos
ff80a1b0ea Revert "firmware: mfc: update release MFC F/W(21/08/03)" am: f6fcd437fd am: b4e218a086
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15479540

Change-Id: I9c15142e2c443987d2259295fa81e4ec520c26b0
2021-08-06 14:24:04 +00:00
Adrian Roos
e13ce2d977 Revert "firmware: mfc: update release MFC F/W(21/08/03)" am: f6fcd437fd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15479540

Change-Id: Ia4c48954c25a99ab517c946412ddc275aa67ad82
2021-08-06 14:09:23 +00:00
Adrian Roos
25eb91fba1 Revert "firmware: mfc: update release MFC F/W(21/08/03)"
This reverts commit 41b4175e030e1bb46805975926a16077c811a4ae.

Reason for revert: Crashes test devices
Bug: 194873668
Fixes: 195743186

Change-Id: Ie857e54138684777c8c402aceccb9181fc090790
2021-08-06 13:49:55 +00:00
ByungGwan Kang
b369d566c3 firmware: mfc: update release MFC F/W(21/08/03) am: 41b4175e03 am: 50d3793575
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447541

Change-Id: I81272b085995452da1bc812550628870f2612211
2021-08-06 09:51:49 +00:00
ByungGwan Kang
57ce5bb2cc firmware: mfc: update release MFC F/W(21/08/03) am: 41b4175e03
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447541

Change-Id: I2d58111798ee844f1959d5bfbfad149be7e9c66c
2021-08-06 09:29:53 +00:00
ByungGwan Kang
e5938b1e5e firmware: mfc: update release MFC F/W(21/08/03)
- Implemented so that H.264 decoder return FEATURE_NOT_SUPPORTED error
  when content is 10-bit.
- Implemented to support dynamic frame rate change for Hierarchical-B
  encoder.
- Implemented to support the adaptive GOP feature.
- Fix the MinQuality rate control (20210629 release) bug which encoded
  stream is corrupted when Hierarchical-P/B is enabled.

Bug: 194873668
Test: 1 day pretest (ATL0)
Test: DevCam video recording
Test: Hierarchical-B testing
Signed-off-by: ByungGwan Kang <bk0917.kang@samsung.com>
Signed-off-by: wenchangliu <wenchangliu@google.com>
Change-Id: Ic924c0c6479b952c16f5fa4a4a3511f852774aab
2021-08-06 09:13:08 +00:00
George Lee
039cc96c97 bcl: Enable Instruction print in bugreport am: a545f963b3 am: 425ff9eb06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15463754

Change-Id: Id64201550a02edd8f57490c83c284d58560ec6a5
2021-08-05 21:17:29 +00:00
George Lee
851f8e1692 bcl: Enable Instruction print in bugreport am: a545f963b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15463754

Change-Id: I55a75b1fb09e5ca0a48493ad881a725d09921a2f
2021-08-05 21:01:30 +00:00
George Lee
2107135c90 bcl: Enable Instruction print in bugreport
MPMM/PPM readings, OFFSRC and PWRONSRC will be printed out.

Bug: 195455000
Test: Local Test and confirm its printed.
------ Instruction ... ------
enable_mitigation=1
mpmm_settings=0x1a
offsrc=0x0
ppm_settings=0x0
pwronsrc=0x4
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I1f3e10edc416966f0eba18e0ba94fb56a487eaee
2021-08-05 20:43:54 +00:00
Michael Eastwood
5c51632a19 Attach more CPA traces to bug reports. am: b9c47ce0dc am: 3df06659f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15448666

Change-Id: Ic68ec7f2c45b85e4c03749463309002642abe567
2021-08-04 21:14:57 +00:00
Michael Eastwood
2d166fd5d7 Attach more CPA traces to bug reports. am: b9c47ce0dc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15448666

Change-Id: I5269e0b5144a3e91dfcc669d2144b705fa679a92
2021-08-04 21:04:03 +00:00
Michael Eastwood
fe6dbce8df Attach more CPA traces to bug reports.
These are small, usually <1MB. Attaching more CPA traces gives us some
buffer to ensure that the relevant trace is actually included in the bug
report. Previously if the user opens one or two more camera sessions
after they observe the performance issue, the trace will be missing.

Bug: 191169822
Test: Build
Change-Id: I4c10217c39991e80f25a7fd90eee9e8b8c5b6cdb
2021-08-04 20:46:57 +00:00
linjoey
46652b4c48 Change prebuild path to gs101 am: bbaa980102 am: 6f7e7dabe1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14715562

Change-Id: If1098f42a7c0ee42593583991fbe7f1b296df265
2021-08-04 12:44:10 +00:00
linjoey
5da7e91f8e Change prebuild path to gs101 am: bbaa980102
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14715562

Change-Id: I40d178a9647e4ba105fabd9693ab2e94c8b350e8
2021-08-04 12:29:59 +00:00
linjoey
3097b78f95 Change prebuild path to gs101
Bug: 181204804
Test: Build passed and boot to home.

Change-Id: I4fdc6032ac16134de53675a5f00ee7e7765c7f32
SigSigned-off-by: linjoey <linjoey@google.com>
2021-08-04 12:17:24 +00:00
Wayne Lin
9863b52060 gps: Remove Google SUPL certs from gps.cer and enable Android platform root cert mechanism am: f70f24f95c am: deb3a3262e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15410791

Change-Id: I949d998b379fa0dcfe45109eff9afbfdcc810d69
2021-08-04 12:05:03 +00:00
Wayne Lin
38f7b7d3c6 gps: Remove Google SUPL certs from gps.cer and enable Android platform root cert mechanism am: f70f24f95c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15410791

Change-Id: I004cd617939f05c4e6afa1087d8a0f0bda23497d
2021-08-04 11:50:23 +00:00
Wayne Lin
ebec3cf12a gps: Remove Google SUPL certs from gps.cer and enable Android platform root cert mechanism
Remove below Google SUPL certs from gps.cer
 - GoogleSuplCertificateEquifax
 - GoogleSuplCertificateGeo
 - GoogleSuplCertificateGlobalSignR2
 - GlobalSign Root R1

Bug: 193865889
Test: basic GNSS function test pass and SUPL NI test pass
Change-Id: I2fee22f0832784d20aa055239ac0d92c0d3a671d
2021-08-04 11:35:03 +00:00
Super Liu
28a8a999ff dumpstate: support CM2 data dump for touch. am: d13f6ec6d9 am: abe54873bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447535

Change-Id: I90b677a668a4d68f108929b22ee686b69bc78a84
2021-08-04 05:59:21 +00:00
Super Liu
98b7e8c9a5 dumpstate: support CM2 data dump for touch. am: d13f6ec6d9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447535

Change-Id: Icc5ce8877de0fdbc9655d9a093b40cf1f3624584
2021-08-04 05:44:33 +00:00
Super Liu
d3e2787491 dumpstate: support CM2 data dump for touch.
This also change the sequence of run_rawcap_read_all
and run_self_rawcap_read_all to last. Because these
two commands need to run selftest first to read data,
this will make ambient update to make other raw data with
differen baseline.

Bug: 195111369
Test: check touch data in bugreport.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I4693b099fbc98d80fbe166525773e3ab803c98d8
2021-08-04 05:28:30 +00:00
Vinay Kalia
65da6cd07b Support height/width swap am: 2678bd66df am: bcd90d738b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15453818

Change-Id: I1afc3e551aa1dee5b538166cf55c495fb17c4764
2021-08-03 17:49:50 +00:00
Vinay Kalia
7671cae77c Support height/width swap am: 2678bd66df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15453818

Change-Id: I2c8995a22a177490011aaa3a247ba89f3a21acb7
2021-08-03 17:37:24 +00:00
Vinay Kalia
4f62d6b733 Support height/width swap
Enable support for height/width swap so that vertical videos
with supported resolution can be played with HW AV1 decoder.

bug: 195409679
Test: AV1 video playback in vertical as well as horizontal orientation.

Signed-off-by: Vinay Kalia <vinaykalia@google.com>
Change-Id: I939f6a0dc432f6b1c92a1e818647afb66c20d856
2021-08-03 17:15:51 +00:00