Commit graph

66 commits

Author SHA1 Message Date
Nelson Li
d1cf23e6f7 Change TARGET_RECOVERY_UI_LIB to use fully qualified names in zuma
Since the TARGET_RECOVERY_UI_LIB for each device is not exactly the
same, and most of the modules in it contain `soong_namespace{}` to
avoid conflicts between different devices, after converting
`librecovery_ui_ext` from Android.mk to Android.bp, it needs to be
changed to a `fully qualified name` in order to correctly use the
corresponding module.

Flag: EXEMPT refactor

Bug: 339143524
Test: m -j librecovery_ui_ext
Change-Id: I2912cbc905ff0ee716c293021c29061e3b6d3dca
2024-11-27 06:27:58 +00:00
Herbert Xue
d827c45f63 Set soong config variables for libExynosC2H263Dec and libExynosC2H263Enc
Flag: EXEMPT bugfix
Bug: 375111251
Test: m libExynosC2H263Dec libExynosC2H263Enc
Change-Id: I7926d494df871bda7e7572a4743b4b04343e8b7e
2024-11-19 15:14:46 +08:00
Herbert Xue
2047505a62 Set soong config variable "board_use_dec_sw_csc" for libExynosVideoCodec
Flag: EXEMPT bugfix
Bug: 375522783
Test: m libExynosVideoCodec
Change-Id: Ida44710eb53376d12f3e26b8bf55b26ade49cd07
2024-11-14 12:35:47 +08:00
Herbert Xue
ca66ae1b2a Move video_codec soong config variables into board config
Flag: EXEMPT bugfix
Bug: 370663515
Test: m libExynosC2OSAL
Change-Id: I76847c362ab1b257b90c610c84b00221c2a4ce84
2024-11-06 11:10:40 +08:00
Bill Yang
af7eb3fa7f Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: 32b6825bf1 am: eb26e6bf3b
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3288011

Change-Id: Id1d4dfb8a5b28ce88a7f0c1b392b0c9356f11bc9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 03:12:00 +00:00
Nick Kralevich
2676f4bf00 Enable MTE in -eng builds on zuma devices.
MTE is a low overhead tool which enables detection of memory
safety bugs in interactive workloads. See
https://source.android.com/docs/security/test/memory-safety/arm-mte
for background and information.

This change enables MTE by default on -eng builds on zuma
builds.

Co-authored-by: Evgenii Stepanov <eugenis@google.com>
Test: Device boots and no MTE crashes
Test: sanitizer-status mte
Bug: 316398899
Change-Id: Iff5ab9d7031d8b97bf762d85f6760a092631e121
2024-10-25 15:45:21 -07:00
Bill Yang
32b6825bf1 Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong
Set the full module path of libacryl_hdr_plugin and the include dir for
lobacryl conversion to soong. It will take effect after aosp/3286932 and
aosp/3287183 merged.

Bug: 370414334
Test: lunch aosp_shiba-trunk_staging-userdebug ; m libacryl_hdr_plugin libacryl
Change-Id: I253ce1254450385e83ecaa75acbee5e70df3a930
2024-10-25 03:37:18 +00:00
Vilas Bhat
fbedb6f26f 16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk
The makefile logic in device/google/shusky/BoardConfig-shusky-common.mk
is identical to the logic required for akita. Hence, this logic is
moved to device/google/zuma/BoardConfig-16k-common.mk to avoid
duplicating the file for akita.

Bug: 370842132
Bug: 349877551
Test: Built and booted up `aosp_shiba` and and `aosp_shiba-pgagnostic` targets
Flag: EXEMPT bugfix
Change-Id: Ibd060eae8f4e97ae8ff800f765e2310c984e5796
Merged-In: Ibd060eae8f4e97ae8ff800f765e2310c984e5796
2024-10-17 23:28:48 +00:00
Krzysztof Kosiński
57a8d79710 Delete TARGET_CPU_VARIANT_RUNTIME. am: 48f1c2182c am: 7cd5c7d047
Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3274367

Change-Id: I8c5b866a0114073ce6a4252cd265dce8f3b1cb82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-20 20:48:38 +00:00
Krzysztof Kosiński
48f1c2182c Delete TARGET_CPU_VARIANT_RUNTIME.
This variable only does something when it differs from
TARGET_CPU_VARIANT. Setting it to the same values doesn't do
anything.

Bug: 368635026
Test: presubmit
Change-Id: I1e16c5b9244eca4d69909bb1caefebfc17e54a70
2024-09-20 19:19:37 +00:00
Treehugger Robot
8c1ec1b9e0 Merge "Delete PRODUCT_FULL_TREBLE_OVERRIDE." into main 2024-09-09 18:55:05 +00:00
Krzysztof Kosiński
54ceb87f8e Delete PRODUCT_FULL_TREBLE_OVERRIDE.
This variable doesn't do anything for devices launching with
API level 26 or later, and the initial zuma devices (Pixel 8)
launched with API level 34.

Bug: 307369186
Test: presubmit
Flag: EXEMPT trivial build cleanup
Change-Id: I181937f9e49d4b9e1088fc92df7681d1a39e3d26
Merged-In: I181937f9e49d4b9e1088fc92df7681d1a39e3d26
2024-09-09 17:05:00 +00:00
Krzysztof Kosiński
c8436d8183 Delete PRODUCT_FULL_TREBLE_OVERRIDE.
This variable doesn't do anything for devices launching with
API level 26 or later, and the initial zuma devices (Pixel 8)
launched with API level 34.

Bug: 307369186
Test: presubmit
Flag: EXEMPT trivial build cleanup
Change-Id: I181937f9e49d4b9e1088fc92df7681d1a39e3d26
2024-09-09 17:03:22 +00:00
Qais Yousef
e18057e16e BoardConfig-common.mk: Enable Lazy RCU
Bug: 340860065
Flag: EXEMPT this is a boot time parameter
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I1d45f155db9537ff176c50d36bf9c4ccb00317a5
2024-07-30 18:04:30 +00:00
Vilas Bhat
354b984c0d 16k: Move logic from device/google/shusky/BoardConfig-shusky-common.mk to zuma/BoardConfig-16k-common.mk
The makefile logic in device/google/shusky/BoardConfig-shusky-common.mk
is identical to the logic required for akita. Hence, this logic is
moved to device/google/zuma/BoardConfig-16k-common.mk to avoid
duplicating the file for akita.

Bug: 349877551
Test: $ lunch shiba-trunk_staging-userdebug
      $ get_build_var TARGET_KERNEL_DIR_16K
      device/google/shusky-kernels/5.15/trunk-12022168/16kb
      $ get_build_var BOARD_KERNEL_PATH_16K
      device/google/shusky-kernels/5.15/trunk-12022168/16kb/Image.lz4
      $ get_build_var BOARD_16K_OTA_USE_INCREMENTAL
      true
      $ get_build_var BOARD_16K_OTA_MOVE_VENDOR
      true
Flag: EXEMPT bugfix
Change-Id: Ibd060eae8f4e97ae8ff800f765e2310c984e5796
2024-07-09 00:15:38 +00: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