Commit Graph

92 Commits

Author SHA1 Message Date
Alec Mouri
4ef29314fd Set renderengine backend to skiaglthreaded
gles isn't going to be the final device configuration anywhere

Bug: 206036423
Test: builds
Change-Id: Ie66e2db85e68ef267534fafa2b67a49d3231cf04
2021-11-12 00:19:10 +00:00
neoyu
34cd74d651 Enable RIL audio client implementation for P22
Enable RIL audio client implementation for P22

Bug: 202831948
Test: manual
Change-Id: Ie9ad605e2d6f80504d26211c3f77e479344ce44d
2021-11-11 06:12:34 +00:00
Konstantin Vyshetsky
067512ec32 Generate a separate fstab file for FIPS mode
Add a file "fstab.gs201-fips" alongside the existing "fstab.gs201" in
order to specify different encryption settings in FIPS mode.

"androidboot.fstab_suffix=gs201-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.

(cherry-pick from device/google/gs101)
Test: Boot to home screen with/without fips mode
Bug: 202417706
Signed-off-by: Konstantin Vyshetsky <vkon@google.com>
Change-Id: I8fdc1c9a91399816fa2d4c53f282d63e988ce7d5
2021-11-11 05:04:50 +00:00
Nicole Lee
11475b1588 device.mk: enable modem always on logging by default
Bug: 205420203
Change-Id: I7a4af69d93f0c5b64dbf69ac93ca1a10b06c0c63
2021-11-11 03:39:51 +00:00
Roger Wang
95c9b5b2a6 gs201: remove WiFiOverlay
In this commit, I remove WiFiOverlay and will add it into project
folder.

Bug: 204946036
Test: overlay configuration works as expected.
Change-Id: Iac69ff8749de7c2f43117f8e136bbfd0bd9a719d
2021-11-05 20:20:31 +08:00
Krzysztof Kosiński
373e520a92 Add Lyric camera IQ tuning configuration.
Bug: 200221875
Test: build and check camera HAL APEX content for affected devices
Change-Id: I441a158231fd1c8fb950e2c1c0d1539cea1af70c
2021-11-04 07:41:04 +00:00
Andrew Reardon
0cf06f4a7f [WAR] Fix Ravenclaw build by Defaulting gs201 to slider
- This fixes ravenclaw build by continuing to use slider as
target_device for camera tuning.
- Can be updated in the future by properly providing ravenclaw
target_device throughout 3A.

Bug: 204945921
Test: Compiles.

Change-Id: Icb010127eedde87e2c2e0f59d6061d52f53e3ec5
2021-11-03 19:38:17 +00:00
Krzysztof Kosiński
7b8cce3974 Rename Lyric configuration "device" to "soc".
The current name is confusing, as "device" normally refers to the
product name, not the SOC name.

Bug: 203283069
Test: build and flash affected devices
Change-Id: I51014a3316dec4509e0113280b723efb95d26fad
2021-11-02 19:50:06 -07:00
Andrew Reardon
43b8bedd21 [Camera 3A Tuning] Update LOCAL_TARGET_PRODUCT for gs201 to pancheetah device names
Bug: 200878689
Test: Compilation.

Change-Id: Iab2b213a0b37520f0d44dc4822fc26577efca9b6
2021-11-02 20:22:51 +00:00
millerliang
47153227a4 gs201: Enable AAudio support
Enable the realted property and the needed files
for MMAP use cases.

Bug: 202810406
Test: Oboetester
Change-Id: Ie851dc0152589f405558c744b0101115d9f1d9b0
2021-11-01 08:24:12 +00:00
Tommy Chiu
3a041b7055 Set boot security patch level for gs201
Bug: 201946955
Test: Build and see if the AVB property has the field
Change-Id: If2aa32ed689271dd553bcc18cb0ec309a2051ae0
2021-11-01 02:35:51 +00:00
Donghui Han
4f0140b954 Lyric: Set conditional variable device for Lyric
Bug: 203651233
Test: P21/P22 build
Change-Id: Ifc1d4970f8e81c2254e77792cf57a2c2bbaf4ef1
2021-10-28 23:57:02 +00:00
Dai Li
183de2a96e Remove mfc_fw.bin in original path for gs201
Modify device.mk mfc_fw.bin path according to new release in prebuilts

Bug: 197018291
Test: N/A
Change-Id: I0e34b266536238d214d9722d22432fbdc0e6c51a
2021-10-26 16:34:00 +00:00
Dai Li
74579f987a Change mfc_fw.bin path to bootloader prebuilt bins
Work together with change in bootloader build.sh
go/ppar/41146

Bug: 197018291
Test: N/A
Change-Id: I862aba3c5c251953928a3d3a67c5b9059d699af3
2021-10-26 16:34:00 +00:00
Wayne Lin
b8633e8cdd gps: refine gps module in gs201
- Update gps driver to 129.20.23.516938
 - Build gps module separably

Bug: 202919589
Test: build pass and standalone GPS pass
Change-Id: I451837f2e783ab2e8890e212eb7d3897c9854ca5
2021-10-14 04:07:11 +00:00
Konstantin Vyshetsky
7b4f21e81d gs201: add script to convert persist to f2fs
Currently the persist partition is formatted as ext4. In order to
convert the partition to f2fs without losing data, add a script which
will copy the partition contents out, format the partition as f2fs and
then copy the contents back.

Bug: 202511062
Signed-off-by: Konstantin Vyshetsky <vkon@google.com>
Change-Id: I89502694d1e02261902525c11ac875dd7756721b
2021-10-13 14:05:17 -07:00
Pierre-Clément Tosi
4dae22c494 gs201: Build pvmfw.img through the Android framework
Enable building pvmfw.img through PRODUCT_BUILD_PVMFW_IMAGE for products
that currently enable pKVM. Note that the board-provided
BOARD_PREBUILT_PVMFWIMAGE may still overshadow that flag.

Bug: 199831815
Test: m ${ANDROID_PRODUCT_OUT}/pvmfw.img
Change-Id: Iefd5fcf1ce04b14b37ff9555db9acabffb010cff
2021-10-07 08:40:15 +00:00
Adam Shih
ad214bed2a centralize wifi_ext config
Bug: 201599426
Test: boot with wifi_ext started
Change-Id: I9a266fbb0e50326b882dc1acdbec0b8c20fe0194
2021-09-30 14:17:27 +08:00
Adam Shih
f9427b2355 use gs101 neuralnetwork armnn
Bug: 196916111
Test: boot with armnn started
Change-Id: I1c8c113621314525c46bf6572b4c5b6a613dbfef
2021-09-27 23:54:37 +00:00
Arthur Ishiguro
210475ce59 Use Context Hub AIDL for gs201
Bug: 194285834
Test: Load on device
Change-Id: If81c1eda860b931533afaf0447ae2e7fc99532d5
2021-09-23 10:21:40 -07:00
chloedai
2b5427334a Remove NFC/SE settings from common gs201
Bug: 199236672
Test: Build pass
Change-Id: Ie6a6c90946bb51b2c0e8d644c2c9372b4fc9c357
2021-09-13 10:49:47 +00:00
Adam Shih
c7d07e27e0 modularize drm
Bug: 199232842
Test: boot with drm modules started
Change-Id: I6d91d411cf2b9354d4d1cefc3184e8fefa8a9ea7
2021-09-10 01:16:19 +00:00
weichinweng
1c94ce30ef gs201: migrate Bluetooth HAL service setting to project dependent make files
Bug: 189727579
Test: Manually
Change-Id: I97e9e4b764ccf3b7896904590d00633ae206b729
2021-09-10 00:47:03 +00:00
Petri Gynther
e3c25c230c gs201: clean up kernel variables
1) remove TARGET_BOARD_KERNEL_HEADERS
2) remove TARGET_PREBUILT_KERNEL

Bug: 198654765
Change-Id: I3efff472e46be435fc0b845bf9b09b7d7a6311f1
2021-09-02 12:08:57 -07:00
Adam Shih
ff12044f71 Merge "gs201: use sscoredump common device.mk" 2021-09-02 04:21:47 +00:00
Adam Shih
8ef36172cc gs201: use sscoredump common device.mk
Bug: 198365717
Test: boot with sscoredump started
Change-Id: If5c881a873971f4e238b7357e6e2802c55db6029
2021-09-02 01:24:23 +00:00
Robert Lee
b693d60c7f device.mk: enable cs35l41 related module for gs201
Bug: 198260805
Test: Builds pass
Change-Id: I56f2b7d1c786ac3c821194dced16e2f43a85f2b1
Signed-off-by: Robert Lee <lerobert@google.com>
2021-08-31 11:50:42 +00:00
Adam Shih
f67eea1947 make sepolicy available in aosp targets
Bug: 198214600
Test: build pass
Change-Id: I113d1855f8d71b3d837a3f02974079e12ed5ddec
2021-08-31 09:12:17 +08:00
Adam Shih
76f8e12e56 modularize scd
Bug: 197914244
Test: boot with scd started
Change-Id: I5cfede43239c5d49e271bdd981be2e781c5a05ba
2021-08-27 11:17:46 +08:00
Adam Shih
0f853db94c modularize aocd
Bug: 197585437
Test: boot with aoc started
Change-Id: I61560751a5d81816b7ecdc2e1be0eaae025a29e3
2021-08-24 11:48:00 +08:00
Adam Shih
d653791dd6 Merge "reuse gs101 confirmation UI" 2021-08-23 06:40:19 +00:00
Adam Shih
00a3bf0a8b Merge "reuse gs101 pktrouter" 2021-08-23 06:40:06 +00:00
weichinweng
6159256942 Add legacy bluetooth audio hal into audio hal
Bug: 194607747
Test: build pass, legacy A2DP pass.
Change-Id: Ic8c09bcaad57945ffdd58ea5f8136a93350fa9a3
2021-08-23 13:46:52 +08:00
TreeHugger Robot
af11b608f1 Merge "Enable CHRE components for gs201" 2021-08-18 17:24:05 +00:00
Adam Shih
859c4dc028 reuse gs101 confirmation UI
Bug: 196916111
Test: boot with confirmation UI started
Change-Id: I8bd3f8fa83c2ec57338a4e842f9a717afc01c2bc
2021-08-18 12:58:41 +08:00
Adam Shih
d242564abd reuse gs101 pktrouter
Bug: 196916111
Test: boot with pktrouter launched
Change-Id: I10bdeccd32db50152993b64bb4b7ee2e303da017
2021-08-18 12:48:41 +08:00
Anthony Stange
44cf3700a7 Enable CHRE components for gs201
Bug: 194284732
Test: Build and flash firmware
Change-Id: I896cc666fba238e9b429941a51e8a8a3485049e5
2021-08-17 22:54:38 +00:00
Albert Wang
09e106422b Merge "Move init.gs201.usb.rc under hw/" 2021-08-17 06:46:38 +00:00
Albert Wang
5d7cfa429a Move init.gs201.usb.rc under hw/
Fix the error log:
init    : Unable to read config file 'init.gs201.usb.rc'

Bug: 196523163
Test: USB works well in Android, bootloader fastboot and
      flash station
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I7a30ab93477bb3a95cb44fa6f265b5e1d432b69c
2021-08-16 09:42:45 +08:00
I-Chih Lu
0bb253c03f Merge "TUI: enable for cloudripper" 2021-08-12 23:35:04 +00:00
Jidong Sun
b296a184d0 mfc_fw: Update to use unsigned FW binary
Bug: 195214116
Signed-off-by: Jidong Sun <jidong@google.com>
Change-Id: Ie921b783896f790028bfa4f33d8bef495304ba9b
2021-08-11 12:49:27 -07:00
wenchangliu
65a33b42c5 mfc_fw: Update to use local signed FW binary
Temporally used local test key to sign MFC.
We will update prod key once secure boot is enabled.

Bug: 194851991
Test: video playback, video recording
Change-Id: Ie21c9d50cad448e8253cedbf53fde5d5c2b55559
2021-08-04 14:38:57 +08:00
Armelle Laine
54985abb82 Merge changes from topic "trusty-keymint"
* changes:
  [device.mk] Add Trusty tipc-test in debug target
  [device.mk] Enable Keymint and GateKeeper's Trusty implementation
  Update device.mk to include trusty-storage
2021-07-22 21:18:39 +00:00
Meng Wang
188ee59c57 Move CDMA feature XML inclusion to device specific mk files
So devices not supporting CDMA don't include the feature by mistake.

Bug: 191908965
Change-Id: I8ec8e54a551fb4b3aa4127a5d43d4c1d3387a37a
2021-07-21 04:50:51 +00:00
Armelle Laine
c512e22a22 [device.mk] Add Trusty tipc-test in debug target
Bug: 193717316
Test: /data/nativetest64/vendor/tipc-test/tipc-test -t ta2ta-ipc
Change-Id: Ia90b1d4e4a774fb4233903cfa831060647fa88e4
Signed-off-by: Armelle Laine <armellel@google.com>
2021-07-19 14:17:50 +00:00
Armelle Laine
935143f96d [device.mk] Enable Keymint and GateKeeper's Trusty implementation
Bug: 193715461
Test: `vendor.keymint-trusty` and `vendor.gatekeeper-1-0` services up
Change-Id: If49ff7daf16ef9f1dba9eedf5979d162ac96f756
Signed-off-by: Armelle Laine <armellel@google.com>
2021-07-19 14:13:17 +00:00
Armelle Laine
fdacb088c2 Update device.mk to include trusty-storage
Allows to enable Secure Storage and hardware RPMb

Bug: 192512209
Test: storageproxyd service started during boot
Change-Id: I9ceb5e8149c7279d5094c09982e0cac81c90871a
Signed-off-by: Armelle Laine <armellel@google.com>
2021-07-19 14:09:05 +00:00
TreeHugger Robot
99fee1bac6 Merge "gs201: enable google-armnn GPU neuralnetworks hal" 2021-07-16 18:11:35 +00:00
Kevin DuBois
7c995777cb gs201: enable google-armnn GPU neuralnetworks hal
Re-enable this hal now that OpenCL is running

Test: build, see hal, pass 54k CTS tests (1 seems to hang).
Fixes: 193679354
Change-Id: Ie88d2f6c4853145d8f8d9ed552ca33de75899157
2021-07-16 10:30:16 -07:00
Max Shi
23d08cd659 Revert "Revert "Add sensors to gs201.""
This reverts commit 1396b4b523.

Reason for revert: Re-enable sensors as AOC boot latency is resolved.

Change-Id: I421f558f3ac05d872b8b398c6bc7f4229cf303bc
2021-07-15 11:33:05 -07:00