Commit graph

53 commits

Author SHA1 Message Date
Chirayu Desai
720d936cc6
Add initial Lineage common makefiles
Change-Id: I8136e9f0df40ca3bf96dbfd2453275481178cdaa
2024-10-07 14:14:59 +03:00
Michael Bestas
62371207c2
zuma: Update sepolicy path
Change-Id: Ie2d420cd25e1a8b65977504ed987df57b525dc5f
2024-10-07 14:13:13 +03:00
Qian-Hao Huang
52494655a6 zuma: Change the path of prebuilt fips140.ko
Placing the fips140.ko at the same level as other kernel modules makes
it easier for automation tools to handle all of them.

Bug: 331791671
Change-Id: Id6d978afbd18f98f2a07d418c405699885c05bf0
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-04-29 06:49:55 +00:00
donghwa.kwon
9e59c496cc zuma: add supported mfc version
Bug: 315920627
Task: ADVCHAL-220
Test: build pass

Change-Id: I064a5d8bdbca5142ec18e6ab40d5066a79305901
Signed-off-by: donghwa.kwon <donghwa.kwon@samsung.com>
2024-01-15 06:52:58 +00:00
Jasmine Cha
d77b117b40 audio: fix typo
Bug: 305838207
Test: build pass/ recording runtime tuning

Change-Id: I9b54b02373fc9a7acb90101941669461079fd60e
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-10-17 15:12:53 +08:00
Richard Chang
e70b0f0b25 Add p23 perf setup script
Bug: 295218781
Test: Build
Change-Id: I0d708db94f38da16103140b978f8429c8bb9aa7c
2023-09-19 07:11:59 +00:00
Minchan Kim
69dd546e37 zuma: turn off page_pinner
Disable page_pinner.

Bug: 296136854
Change-Id: I486b7710c976f257b5dd734385f3f5515867662e
Signed-off-by: Minchan Kim <minchan@google.com>
2023-08-23 15:47:39 -07:00
Renato Grottesi
230b5846c7 Remove settings for old ArmNN HIDL backend
Compile ArmNN shim over the support library.

Remove SELinux permissions and settings for the old HIDL backend.
The AIDL settings will be in the gs-common folder.

Test: Local run of CtsNNAPITestCases
Test: Local run of VtsHalNeuralnetworksTargetTest
Test: Local run of MLTS Benchmark
Bug: 283724775
Merged-In: I57f807934ca219460a4e589b899f933115718a70
Change-Id: Ica6a25f270a499670f23ba5452903c4904f37d48
2023-07-14 12:32:55 +00:00
guibing
1b46c33b99 Set PELT HALFLIFE to 8ms before early init boot stage
It's for early boot stage boost. After early init stage, change
it back to the default 32ms.

Bug: 284039815
Test: boot ab tests
Change-Id: I3e623886e97e561086df46f388f9317d4a75c35c
2023-06-22 17:31:15 +00:00
Evgenii Stepanov
3fefb2e823 Disable Kernel MTE in Zuma (non-fullmte).
Bug: 280343521
Test: cat /proc/cmdline | grep kasan=off
Change-Id: I42781e8efdc4cf5a89baca1af8c3d62a4984c4f2
2023-06-13 15:30:05 -07:00
Richard Chang
e8f5a4cefc zuma: Disable kmem cgroup accounting
Disable cgroup kernel memory accounting to avoid unnecessary overhead

Bug: 258100733
Test: Boot
Change-Id: I9e3ce7b4ae93531aeb12ca11a40d0445ba41b2cc
2023-04-28 04:12:55 +00:00
Minchan Kim
1bb58a26ec Merge "remove alloc_contig_dump_pages for CMA failure" into udc-d1-dev 2023-04-24 21:32:30 +00:00
Minchan Kim
9b0eb78455 remove alloc_contig_dump_pages for CMA failure
We have enough debugging tool now so remove the option.

Bug: 264334863
Test: confirmed from /proc/cmdline
Change-Id: Ia79e07ec159f05604c8e431e6753a79f749350a1
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-24 10:56:56 -07:00
Pierre-Clément Tosi
ee129d98fa zuma: Cover pvmfw.img in vbmeta_system.img
The pvmfw partition is expected to be kept in sync with the system
partition so, instead of having it as a standalone partition (covered by
vbmeta.img), add it to vbmeta_system.

Bug: 275497314
Test: TH
Change-Id: I02356aa43d83c95d3671937a6a764ba6765a3d5b
2023-04-18 13:49:54 +01:00
Chris Paulo
fb56db8722 Merge "BoardConfig: Add haptics actuator model config and adaptive haptics config" into udc-dev am: 89d4195c08
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/21806188

Change-Id: I97a5bec365ecc4b2c728f4f83b32b85c9ca7d49a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-22 22:37:57 +00:00
Robin Peng
0c8c6397c2 Support system_dlkm modules.blocklist from kernel side
assign system_dlkm.modules.blocklist to BOARD_SYSTEM_KERNEL_MODULES_BLOCKLIST_FILE
located from kernel prebuilts folder

Bug: 267429528
Change-Id: I912f1a8e0df12e4614c74b870921ca0b47b8383e
2023-03-20 03:35:11 +00:00
Robin Peng
ae2ce8736f Revert "disable BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE"
This reverts commit 3d63c9d44e.

Bug: 267429528
Change-Id: I357d6f89ba91e2c20183e7eef9707c889aefac72
2023-03-20 03:19:36 +00:00
Robin Peng
7d108c717a Assign system_dlkm.modules.load to BOARD_SYSTEM_KERNEL_MODULES_LOAD
- BOARD_SYSTEM_KERNEL_MODULES_LOAD is for GKI modules
- BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD should not contains GKI modules

Bug: 267429528
Change-Id: Ib5da01f861a34edec07e2a958f153c876e5cef10
Signed-off-by: Robin Peng <robinpeng@google.com>
2023-03-15 06:06:43 +00:00
Chris Paulo
ccefd63fa7 BoardConfig: Add haptics actuator model config and adaptive haptics
config

Add soong config definition for haptics actuator model to support pwle
characterization, and support adaptive haptics compilation

Bug: 264682582
Bug: 198239103
Test: Manual test to confirm proper characterization
Change-Id: I2c792ee5c6acd4ef102a81c4e524c6739ddb05e5
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2023-03-06 20:58:15 +00:00
Peter Collingbourne
31281f7f3c Revert "Temporarily disable KASAN until bugfix is merged into [redacted] kernel."
This reverts commit 3174340456.

Reason for revert: Kernel prebuilt with bugfix has landed: ag/21613833

Bug: 265863271
Change-Id: I7c688065783303ca0666f38058fbf853be51e199
Merged-in: I7c688065783303ca0666f38058fbf853be51e199
(cherry picked from commit 82efb36664)
2023-03-04 01:28:11 +00:00
Midas Chien
a9fb23b80d BoardConfig: support SKIP_VALIDATE by default
Bug: 270479799
Test: VtsHalGraphicsComposer3_TargetTest
Change-Id: I7fbcdbaa793389b2fc70010e3ae69d018d74f12f
2023-03-01 15:56:09 +08:00
Peter Collingbourne
0035373279 Merge "Temporarily disable KASAN until bugfix is merged into Shusky kernel." 2023-01-26 03:41:03 +00:00
Peter Collingbourne
3174340456 Temporarily disable KASAN until bugfix is merged into Shusky kernel.
Bug: 265863271
Change-Id: Ifdc9f910767406c4c37600a0b14f502e90bab0aa
2023-01-25 16:59:53 -08:00
Wen Chang Liu
5855555c19 Merge "BoardConfig: add BOARD_SUPPORT_FLEXIBLE_P010 support" 2023-01-18 15:30:11 +00:00
Taehwan Kim
d9fa2f37a3 BoardConfig: add BOARD_SUPPORT_FLEXIBLE_P010 support
Bug: 229547170
Bug: 238360304
Test: atest CtsMediaDecoderTestCases:ImageReaderDecoderTest
Test: atest CtsMediaV2TestCases
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I608f1e01d95ffc725c325377302cbb98e0320e6b
Signed-off-by: wenchangliu <wenchangliu@google.com>
2023-01-12 09:24:30 +00:00
Yuti Amonkar
8d4cce51aa Add display_unit_test soong config for Zuma
Bug: 242925217
Change-Id: Ia72a068e19f77edd76181bcda3dbf3c2d6b9ebf1
Signed-off-by: Yuti Amonkar <yuti.amonkar@samsung.com>
2023-01-07 00:51:05 +00:00
Robin Peng
80841d9eb7 zuma: remove prebuilt boot-user.img usage
When $(TARGET_KERNEL_DIR) contains:
* boot.img

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

Bug: 242812258
Change-Id: I7e10698c179d061d16e8f5e4b391c4c82279005f
2022-11-04 06:49:46 +00:00
Wen Chang Liu
c4a7543d1f Merge "BoardConfig.mk: add BOARD_SUPPORT_MFC_ENC_BT2020" 2022-11-01 02:37:55 +00:00
Taehwan Kim
fc35c67bc4 BoardConfig.mk: add BOARD_SUPPORT_MFC_ENC_BT2020
Bug: 239912381
Test: atest android.mediav2.cts.EncoderColorAspectsTest
Change-Id: I68be5ef52d60d65886cf9e1dae5069e7daa60775
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
2022-10-31 05:02:33 +00:00
Yi-Yo Chiang
94ef63824b Remove references to BOARD_BUILD_SYSTEM_ROOT_IMAGE
This variable is always false or empty now.
Remove it so we can mark it as deprecated later.

Bug: 241346584
Test: Presubmit
Change-Id: I092d760f00c7bdb26dfd9c074691378cdecfa5b7
2022-10-11 19:04:16 +08:00
Jeffrey Carlyle
819e3d11cd dck: pick up recovery mode library for digital car key wiping
This is done by optionally including a Makefile (-include) so that
aosp builds in which the library is not present will pass.

Bug: 203234558
Test: build only
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: Ibc4967cbc115959a71ee04c2116ce8ab21575e24
2022-08-24 18:07:01 -07:00
Taehwan Kim
4307f59c9e uses Codec2 HIDL 1.2 service
Bug: 238360304
Test: Build PASS
Test: Boot to home
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I1d24fab86807b0260c2f57717867eb0dba10d0a1
2022-08-22 06:50:37 +00:00
Lucas Wei
018ede2943 Merge "Enable vendor_kernel_boot partition for zuma" 2022-08-18 22:54:54 +00:00
Siddharth Kapoor
08f19d35a5 Enable flags for ARMNN compute
Bug: 241842929
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: Ib71b7f55482528db9f382dc5698591a5ed5f9c8c
2022-08-09 18:29:00 -07:00
Woody Lin
b5b7d1f2b2 Merge "Fix earlycon address" 2022-07-21 07:41:59 +00:00
Oleg Matcovschi
1325569005 target: disable tripple buffering
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: I1f7f0f69270b90d9b917a5d5b59e10e75cce2866
2022-07-21 06:09:22 +00:00
Woody Lin
a81ed6fcfd Fix earlycon address
Change-Id: Ie6dda57ec7cc8d17a7b3d179b1f7fd83b8e88ac2
2022-07-20 13:44:18 +08:00
Siddharth Kapoor
4d9d79c221 Disable swiftshader
Enable GPU drivers for rendering

Bug: 232947526

Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: I38c73e2bcf2817842eefefe1e4a7acdf8416c456
2022-07-19 14:26:36 -07:00
TreeHugger Robot
8619c4701a Merge "changes to bring up homescreen on Ripcurrent" 2022-07-03 23:52:40 +00:00
Hyunki00.koo
96cc5bffd8 changes to bring up homescreen on Ripcurrent
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Ivan Zaitsev <zaitsev@google.com>
Change-Id: I492063c4b0c2c1ba4cebb659014edd731b8b10c6
2022-07-01 16:46:27 -07:00
Jaegeuk Kim
1f7770e593 Fix missing fstab rule for SW encryption
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I5ec4364d3c4d53bcf4f675291e04acd9071e0dcb
2022-07-01 11:24:30 -07:00
Ivan Zaitsev
39439fa068 Merge "switch to swiftshaders for bring up" 2022-06-29 19:04:42 +00:00
Hyunki Koo
29d767172e switch to swiftshaders for bring up
Stay with SW rendering until GPU is working.

Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Ivan Zaitsev <zaitsev@google.com>
Change-Id: I8db4c1ced46aba612ac5a1728374279bf4ad8831
2022-06-29 11:28:00 -07:00
Daniel Mentz
824ac7faef Merge "Revert "Enable load kernel modules in parallel"" 2022-06-29 03:56:00 +00:00
Daniel Mentz
4c3d39677e Revert "Enable load kernel modules in parallel"
Bug: 237455007
Change-Id: I20adc617efcba1eb81577d26a8f951308f97f479
2022-06-28 17:52:03 -07:00
Jaegeuk Kim
39e4495509 Use ext4 for RO and f2fs w/o HW encryption
TODO: enable inline encryption later.

Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I8557afebebfacf1b04a68e7310837c0ef950b843
2022-06-24 11:49:53 -07:00
Jaegeuk Kim
5fe10163cb Update ufs path
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I58fd3772ce87040df334d7d16bc5c0e4e8d0c392
2022-06-24 10:37:56 -07:00
Lucas Wei
bac1bc53ac Enable vendor_kernel_boot partition for zuma
- Disable dlkm ramdisk fragment from vendor_boot
 - Enable vendor_kernel_boot and OTA support
 - Set partition size to 64MB

Bug: 234181909
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: If56483b31831b0cf161a9f78f228ef43620efaf5
2022-06-09 17:17:30 +08:00
Aaron Ding
3d63c9d44e disable BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE
blocklist is not needed for ripcurrent yet

Bug: 229340586
Change-Id: I4f0042b82e0ec4b04e858eec0d80e079bce4148a
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-05-16 18:52:38 +08:00
Aaron Ding
6b9a1e0d39 Enable ARMNN_COMPUTE_CL_ENABLE
Bug: 229340586
Change-Id: Ic0746f6e2e2d8108c4a9bd2d603fad8a93938bbf
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-25 17:27:20 +08:00