Commit graph

672 commits

Author SHA1 Message Date
Petri Gynther
77da822b27 gs201: use prebuilt GKI boot.img for production builds am: 19c92aa321
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17378785

Change-Id: Ia1a8631e895cc679b5386049912f7d2535ba0b7a
2022-03-24 17:24:07 +00:00
Petri Gynther
19c92aa321 gs201: use prebuilt GKI boot.img for production builds
When $(TARGET_KERNEL_DIR) contains:
* boot.img
* boot-user.img

then use those as prebuilt boot images for the target build.

Note that debug kernels (e.g. $(TARGET_KERNEL_DIR)/kasan) only have
Image.lz4, so the debug build ends up building boot.img from source

Bug: 223663549
Change-Id: If9d2b1041108cec8fc0481e4b633502371d6f987
2022-03-24 16:53:48 +00:00
Tim Lin
4fa34e615a Use voice preference setting for emergency call am: 7230a6cbd4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17351124

Change-Id: I2761690d9b4875944291916755d965024e3b7e9a
2022-03-24 09:26:24 +00:00
Tim Lin
7230a6cbd4 Use voice preference setting for emergency call
config_gnss_supl_requires_default_data_for_emergency removed. Use default value of "false".

Bug: 211060538
Change-Id: Iaec1924d4bda5cdcb4ee427bfe3a12ef7e0fd420
Test: TAM help to verify
2022-03-24 08:57:00 +00:00
SalmaxChang
5c26b4cc73 device: remove gnss blanking file temporarily am: 37f619ea3f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17346004

Change-Id: Ibd7939843dd2c55ff59337b2d5af6da84a95a8c4
2022-03-24 04:12:40 +00:00
Adam Shih
33f5f28ced enforce debugfs constraint on user build am: c676225fef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17338964

Change-Id: I9ee3af233310edfbffec028de6dba3378d37b0da
2022-03-24 04:12:13 +00:00
Martin Liu
1f88aec39f set swiotlb as noforce am: b8b02bc357
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17071164

Change-Id: I0bf3118ea218668a8785fdfccb70eb9c9e936540
2022-03-24 04:12:06 +00:00
SalmaxChang
37f619ea3f device: remove gnss blanking file temporarily
The current CP does not support related RCM command.
Disable GNSS blanking temporarily.

Bug: 226074879
Change-Id: I7d433b269d7a5f3c532d949e58bf4190c9501462
2022-03-24 03:01:40 +00:00
Adam Shih
c676225fef enforce debugfs constraint on user build
Bug: 225815474
Test: build pass
Change-Id: I6507e784b3597220920f59d969bbeafdd199174b
2022-03-24 01:05:18 +00:00
Martin Liu
b8b02bc357 set swiotlb as noforce
As dma devices are 36bit bounded, we don't need SWIOTLB
bounce buffers. Set swiotlb=noforce to disable this and
make the minimum amount of memory allocation.

Bug: 207573157
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I21eac64f57505c14e12fed50980aad4d818b34cb
2022-03-23 17:08:18 +08:00
Luigi Zevola
a5ebd22332 dumpstate: add additional AoC entries am: b1dadb6889
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17337551

Change-Id: I617c7ca6582c1fd94cc14aedd2d2a49d33f6a474
2022-03-23 03:46:24 +00:00
Luigi Zevola
b1dadb6889 dumpstate: add additional AoC entries
Add additional AoC Entries to dumpstate to improve debuggability

Bug: 225585054
Test: On P10/C10
Signed-off-by: Luigi Zevola <zevola@google.com>
Change-Id: I2c276a0c157e64b3f376c4af1dbe214223a22af7
(cherry picked from commit 1f1958d031)
2022-03-22 22:51:49 +00:00
Midas Chien
0922920a07 Move 90hz denylist to vendor am: e5125cb214
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17232291

Change-Id: I3633b7258334eda02d6190cce860212342dcac9c
2022-03-21 17:21:57 +00:00
Midas Chien
e5125cb214 Move 90hz denylist to vendor
Bug: 224646131
Change-Id: I66c9dc9b047aaa833f88a3e6162095e6022a92a4
2022-03-21 17:03:34 +00:00
TeYuan Wang
65469e2a15 dumpstate: dump cooling device user_vote am: e138cd41be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17256671

Change-Id: I2f7baad727de5048d7e3d570c945532f7294c627
2022-03-21 16:45:54 +00:00
TeYuan Wang
e138cd41be dumpstate: dump cooling device user_vote
Bug: 221180075
Test: check dumpstate from bugreport
Change-Id: I68e1d5d3561770714f13ab2560a0533d2cbec243
2022-03-21 16:30:04 +00:00
Beverly
d9c9a30751 By default, face-auth is non-bypass am: 058774bc73
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17257647

Change-Id: Iab785285d7872157d2c30d5ed41303c28c50c3e8
2022-03-21 14:06:56 +00:00
Beverly
058774bc73 By default, face-auth is non-bypass
Test: manual
Fixes: 225374807
Change-Id: I082de931940e9a6803e7bcc49a1a663f1e28a8f3
2022-03-21 13:53:34 +00:00
Darren Hsu
a4bd53c1f8 powerstats: update TPU-DVFS frequencies am: 3413a13921
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17289114

Change-Id: I2486f705680d43e45a19b5648a41fc5309557d2d
2022-03-21 11:59:57 +00:00
Darren Hsu
3413a13921 powerstats: update TPU-DVFS frequencies
Bug: 225290987
Test: dump power stats and see frequencies updated
Change-Id: If516f115e1a3f3c06c04deadcea56b97f5a24ccd
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-21 15:23:24 +08:00
Lucas Dupin
b8b7ddde21 Enable blurs am: 2964ee6020
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17230886

Change-Id: I8732d3f952cf8bc14055b841ab463717ec2e6259
2022-03-18 18:43:47 +00:00
Lucas Dupin
2964ee6020 Enable blurs
This was somehow disabled

Test: forrest build
Fixes: 225015208
Change-Id: I4ed97dfaf8362ace933b6d5e08408ee35d54ee13
2022-03-18 18:26:02 +00:00
Darren Hsu
ea7a75fafd powerstats: add devfreq state residency for BO am: 1d6fa6d79e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17197676

Change-Id: Ie4f5279f9fd8ed556fdb1e193aa754ed87e86193
2022-03-18 11:40:46 +00:00
Darren Hsu
1d6fa6d79e powerstats: add devfreq state residency for BO
Bug: 216600952
Test: dump power stats and see the state residencies appear
Test: verified that the string buffer is enough
Change-Id: Ic2c7c29c9b6408018ba9c98578e5a32d4e082ef1
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-18 11:19:13 +00:00
Shinru Han
f4b9309989 gps: Add MCU crash dump to bugreport am: f943e9a4f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17230856

Change-Id: Ia1fc3ac4e0d3ab633b7dff1d00ee131e7a61c173
2022-03-18 03:40:08 +00:00
Shinru Han
f943e9a4f3 gps: Add MCU crash dump to bugreport
- Add MCU (ESW) crash dump
- Add tmp log
- Reduce log number to 20

Bug: 223741583
Test: bugreport gps log test
Change-Id: I157d93bd0a3ede4e547df193d2808c4338c8c405
2022-03-18 03:21:36 +00:00
Long Ling
a077ef0392 remove hwc-2.4 from manifest am: d0795a2321
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17014162

Change-Id: I169cba484c1f8effb0ffd3b2cdb671e8b12644cf
2022-03-17 20:57:58 +00:00
Long Ling
d0795a2321 remove hwc-2.4 from manifest
hwc3 is in use.

Bug: 216532282
Change-Id: Iccce473319d7e48cb25e3719ca17092b97d9b07a
2022-03-17 20:39:59 +00:00
Alex Hong
18fc66690a Remove the RenderScript HAL from the vendor manifest am: 6ede91b25e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17139607

Change-Id: Ic913596eda63d0a179058bcb713b38421985189d
2022-03-17 14:51:54 +00:00
Alex Hong
096a5685ed Upgrade VINTF Target FCM level from 6 to 7 am: b7d761b443
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17107403

Change-Id: I80cae6c73c55d4a7f015884dc179d63d6f5b72c6
2022-03-17 14:51:50 +00:00
Alex Hong
6ede91b25e Remove the RenderScript HAL from the vendor manifest
"android.hardware.renderscript@1.0-impl.so" is already removed.
Remove the declaration of corresponding passthrough HAL from the
vendor manifest as well.

Test: run vts -m vts_treble_vintf_vendor_test
Bug: 207076973
Change-Id: Id362529acfdfc3d5eb66d79efabbc8edeefc1dea
2022-03-17 14:06:02 +00:00
Alex Hong
b7d761b443 Upgrade VINTF Target FCM level from 6 to 7
Target FCM level 7 requires the newer version of the following HALs.
1. android.hardware.biometrics.face
2. android.hardware.biometrics.fingerprint
3. android.hardware.dumpstate
4. android.hardware.gnss
5. android.hardware.radio.config

Temporarily add the older version of these HALs into the customized product FCM
to claim we are still using the older version and bypass the build breakage.
We will check about how to handle these HALs later.

Test: m check-vintf-all
      run vts -m vts_treble_vintf_vendor_test
Bug: 207076973
Change-Id: I4582385b4d0588ce7310d6ecf59ce0834b7c95c2
2022-03-17 14:06:02 +00:00
SalmaxChang
9fa85a18fc conf: support to mount modem erofs image am: 602c38c63f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17107051

Change-Id: Ib84cd1cce29173783f5b582ea532c6b7772e8351
2022-03-17 05:59:19 +00:00
Wayne Lin
2f5d9c8db7 gps: update gps driver 129.20.23.529478 am: ad680c7138
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17185734

Change-Id: I9fbfe6201db62ee16d61d8402419c5f626cc525f
2022-03-17 05:59:11 +00:00
SalmaxChang
602c38c63f conf: support to mount modem erofs image
- Create fstab.modem for modem as flexibility.
- Add and support both erofs and ext4 images for compatibility.

Bug: 201348703
Change-Id: Idc6dd8ef8f044c764f2811469806ee9e6defb87f
2022-03-17 05:56:33 +00:00
Wayne Lin
ad680c7138 gps: update gps driver 129.20.23.529478
- Fix NI control plane issue
 - Add NFW IPC between AP and CP
 - Ignore RTI in cold start
 - Fix OnChip logging issue

Bug: 221337679
Bug: 216098015
Bug: 219856838
Bug: 213009701

Verify test: 224691558
Test: Build pass and GNSS verify test pass

Change-Id: Ice69000357d07ad95d2070c277bcc7848f9d8f5f
2022-03-17 05:37:54 +00:00
Jaegeuk Kim
6cdc37ace6 Remove discard command tuning am: 6d4913e3c7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17226817

Change-Id: Id08faab28225317556dd3f6d98ae6e468525c42c
2022-03-17 03:50:51 +00:00
Jaegeuk Kim
6d4913e3c7 Remove discard command tuning
This is done by rootdir/init.rc.

Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I939c97aa2cd2ee271f05053eea0af006f6c9b8a1
2022-03-17 03:22:07 +00:00
SalmaxChang
bf80673dc1 dumpstate: add timeout for AoC memory dump am: dd1cd8388f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17199169

Change-Id: I6446be270bbef93c2a71330c0a13f26e3da75620
2022-03-17 02:49:53 +00:00
Devika Krishnadas
fd086e11f1 Increase Max framebuffer count to 3 am: cf0372dc8b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17149098

Change-Id: I7525d01f47f906ad02f373665f610b41d3557275
2022-03-17 02:49:40 +00:00
SalmaxChang
dd1cd8388f dumpstate: add timeout for AoC memory dump
AoC memory dumps will take too long time and cause dumpstate board
timeout. Add 2s timeout for the memory dumps.

Bug: 216422700
Test: Triggered bugreport and checked dumpstate file.

Change-Id: Iedb49fa78caf7c5c54a9a1f69191d7441b7308ee
2022-03-17 02:03:12 +00:00
Devika Krishnadas
cf0372dc8b Increase Max framebuffer count to 3
Bug: 220804307
Signed-off-by: Devika Krishnadas <kdevika@google.com>
Change-Id: I5b21d077e2c8f1ee0a22d19bfeb1e3afd29789d3
2022-03-17 02:01:10 +00:00
Jaegeuk Kim
9397f99361 Enable COMPRESS CACHE in f2fs am: 975370904a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17056333

Change-Id: Ie9ff0369dbf433e4eb22f56501839493d2bd7d66
2022-03-16 22:43:53 +00:00
Jaegeuk Kim
975370904a Enable COMPRESS CACHE in f2fs
Bug: 222321709
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ia10007c678ea640d00c2fe0438218707d5fd7ce8
2022-03-16 18:24:09 +00:00
Randall Huang
fe32351b07 UFS: enable UFS clock gating when off mode charging am: 3bec1149e8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17199168

Change-Id: I0e51251784d07d071e522a1ab9d1c369a7ada51f
2022-03-16 17:17:03 +00:00
Randall Huang
3bec1149e8 UFS: enable UFS clock gating when off mode charging
Avoid high UFS power consumption

Bug: 224888044
Test: check clkgate_enable in uart console
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: Ie5504a259621a8661133eebd8f574d5af2809abb
2022-03-16 16:50:46 +00:00
Ryan Chu
1ce42aa038 factory: update owner and group for root am: 1f95aca935
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17164723

Change-Id: I05f0d88cf799b1dd98c9b0cbd592ab134eaed9c2
2022-03-16 07:17:30 +00:00
Ryan Chu
1f95aca935 factory: update owner and group for root
Update the exec root owner and group for factory_post_boot

Bug: 222226268
Test: pidx=`adb shell pidof adbd` && adb shell cat proc/$pidx/task/$pidx/sched | grep "adbd \|effective uclamp.min"
Change-Id: I7ad3fc9f2db8bd4d6f4c3d2fdf1de1abc0ddcb16
2022-03-16 06:56:14 +00:00
Martin Liu
56ca525702 Enable page pinner am: 1c697c5df3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17199103

Change-Id: Idcc205458413223f236fa6ed4664f65fe8140e98
2022-03-16 06:06:42 +00:00
Martin Liu
1c697c5df3 Enable page pinner
Enable page pinner to catch long pin pages' history so
we can root cause issues.

Bug: 224771748
Test: check kernel cmdline
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I3b384d427ac0ba48841d9a13e8f5565d9a83fb72
2022-03-16 05:44:23 +00:00