112 Commits

Author SHA1 Message Date
Aaron Kling
73e284dbad sm8550-common: Match vbmeta rb locations to stock
* vbmeta_system is at location 2

Change-Id: I679069dd57152d05cd1faa5c9e4fb51e9d905eb0
2025-01-13 19:17:27 -08:00
Aaron Kling
ab63261b74 sm8550-common: Don't avb chain boot partition
ABL expects boot props to be in the main vbmeta

Change-Id: Idcbb7aec9d223b2cd844f280edfab63e3254908e
2025-01-13 19:17:27 -08:00
Oscar
f90ac3ecf0 sm8550-common: add DISABLE_ARTIFACT_PATH_REQUIREMENTS and BUILD_BROKEN_DUP_RULES 2024-12-25 20:42:43 -08:00
Cosmin Tanislav
d838031316 sm8550-common: remove QCOM bluetooth board flags
TARGET_FWK_SUPPORTS_FULL_VALUEADDS is only used in
audio HAL qssi makefile, and is not relevant to AOSP.

BOARD_HAVE_BLUETOOTH_QCOM is used in libbt-vendor,
which does not exist on stock.

Change-Id: I2fe74386628630998c1428d4a238383c12cb9575
2024-12-22 12:57:41 -07:00
Cosmin Tanislav
ad10f57c08 sm8550-common: load modules for rtwo
Change-Id: I8b7fb31a382f74c7a7968aeecde57c9eb1150be9
2024-12-22 12:57:41 -07:00
Cosmin Tanislav
3889657d31 sm8550-common: add external modules for rtwo
Change-Id: I3f322f1f3e6a586bd1d267fb731e50e827a7ad6f
2024-12-22 12:57:41 -07:00
basamaryan
ce4bdb2039 sm8550-common: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
2024-12-22 12:57:41 -07:00
Michael Bestas
4b131534b9 sm8550-common: Set BOARD_WPA_SUPPLICANT_PRIVATE_LIB_EVENT
Change-Id: I76ba5477d83103c2983f01d6185996e3ceac3500
2024-12-22 12:57:41 -07:00
Etan Cohen
9ef05f5178 sm8550-common: Declare WiFi Aware support to WiFi HAL
* The Wi-Fi Aware feature added in Android 8.0 enables
   supporting devices to discover, connect, and range
   (added in Android 9) to one another directly using
   the Wi-Fi Aware protocol without internet or cellular
   network access.

 * This feature, built upon the Wi-Fi Alliance (WFA) Wi-Fi
   Aware specification (versions 2.0 and 3.0), allows easy
   sharing of high-throughput data among trusted devices
   and apps that are otherwise off-network.

   https://source.android.com/devices/tech/connect/wifi-aware

Change-Id: I18ff20e7466b8e8fd598381b730fb7db391e9ad4
2024-12-22 12:57:41 -07:00
Sebastiano Barezzi
5d49c3066c sm8550-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2024-12-22 12:57:41 -07:00
Michael Bestas
b09150a47f sm8550-common: Drop unused WIFI_DRIVER_DEFAULT flag
Change-Id: I66bb1324320f08efb58ece18041d4fa7a92eaf1d
2024-12-22 12:57:41 -07:00
Michael Bestas
7cd2683a45 sm8550-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-12-22 12:57:41 -07:00
Aaron Kling
40dcc68742 sm8550-common: Re-enable broken dup rules check
All failures of this have been resolved

Change-Id: I56a923ac90b98e63c093c8cb65cb1059dde57c49
2024-12-22 12:57:41 -07:00
Marc Bourgoin
4182aadb5e sm8550-common: Setup TARGET_COPY_OUT_ODM
Since we do not build an actual ODM partition, it is a symlink of vendor/odm

Change-Id: I8a885739e0f3b53845da4bd7f4200c35ba8effc6
2024-12-22 12:57:41 -07:00
Bruno Martins
64bae6861c sm8550-common: Work around using prebuilt audio primary HAL
Since audio.primary.kalama is no longer present in PRODUCT_PACKAGES,
the vintf files are not copied anymore, so account for that and merge
to the manifest instead.

Change-Id: I71b091950e5ecc810779d3ab51e99807d6648d0b
2024-12-22 12:57:41 -07:00
Marc Bourgoin
3dfa755e3a sm8550-common: Adjust CPU Architecture
Change-Id: I1f57a4d90597513b18b01a65b3281a33e2843d1d
2024-12-22 12:57:41 -07:00
Aaron Kling
6e2fd1ff1d sm8550-common: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-12-22 12:57:41 -07:00
Bruno Martins
3e9069604d sm8550-common: Drop soong configs for audio service
Not necessary anymore, since the shift to 64bit-only builds.

Change-Id: Ia424deb93e05cfb86706727b62d2ef0f53fa2fb1
2024-12-22 12:57:41 -07:00
chandu078
8a5fa5c9c9 sm8550-common: Switch to 64 bit only builds
Change-Id: I0e730663a0e1ad8b18cfa1163b94edf0acd64fff
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2024-12-22 12:57:41 -07:00
Bruno Martins
9f4fb60849 sm8550-common: Inherit from QTI FCM
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2024-10-30 21:54:49 -06:00
Bruno Martins
8407431128 sm8550-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-07-08 18:34:05 +00:00
Marc Bourgoin
b2e4ad5317 Revert "sm8550-common: Disable sparse for ext/f2fs images"
This reverts commit 07870317d7.

Change-Id: I01ac64a94df1b6ab5aa75d978034d999363cb9a0
2024-07-08 18:32:24 +00:00
Marc Bourgoin
a343ebbb39 sm8550-common: Remove system_dklm from vbmeta_system
Stock rtwo ROM doesn't do this either

Change-Id: Iec3409ce33b73d035e92c99b8f2d126cfd0c04a8
2024-05-02 03:21:00 +00:00
Cole Faust
38dd7de504 sm8550-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-03-20 16:55:05 -06:00
Bruno Martins
2aed95cb74 sm8550-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-02-22 13:31:23 -07:00
Pranav Vashi
18b717ea85 sm8550-common: Switch to armv9-a ARCH variant
Running below command:
$ cat /proc/cpuinfo | grep -m 1 Features
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp
asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512
asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint i8mm
bf16 bti

armv8-a-branchprot doesn't really do justice as armv8-2a or armv9-a
optimizations are not enabled. According to wikichip [1], it is
evident that we support armv8-2a.

[1] https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features

Change-Id: Ia986a60febb275e36ffe89518edf8c4ae3fc7225
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-01-15 16:04:31 -07:00
SGCMarkus
1f591c1e27 sm8550-common: add recovery to the A/B ota list
Change-Id: I4c3947f85f4a393d40936d40d01d200e590efdfc
2024-01-15 09:39:39 -07:00
Master
07870317d7 sm8550-common: Disable sparse for ext/f2fs images
* Sparse images cause kPostInstallMountError

Co-authored-by: yairpatch <yair.zarfati@gmail.com>
Change-Id: Ifdb2fc87d88c9c2139b3e73b6ccad36f09888b75
2024-01-14 21:09:21 -07:00
DillerOFire
efef7828eb sm8550-common: Nuke obsolete BOARD_BUILD_SYSTEM_ROOT_IMAGE
Change-Id: I8fafc8952e2b3bd535309a6aad035f02f1e00b14
2024-01-14 21:08:53 -07:00
Andrew Hexen
974ccb2a3a sm8550-common: symlink vendor/fsg to system_root
* Seems to be an issue where if modemst1/2 (efs) is wiped modem only looks for fsg to rebuild efs in the root_directory.

* Even though this isn't correct it should allow radio to be easily flashed during future firmware upgrades as the stock radio.img is a container which flashes fsg/modem then passes the command to wipe modemst*

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Ic7acabbe16d66740b3aee414be60c24d3a0de43d
2023-11-05 20:31:11 -07:00
Marc Bourgoin
c468dd1fa4 sm8550-common: Update display cflags and props
Change-Id: Id46fbb295e23c6aee7d74cd92f9a902305999bf4
2023-10-01 23:02:17 -06:00
Pranav Vashi
519460be9e sm8550-common: Remove kernel LTO specification
Change-Id: I055f07b01e413eef5daf8b7f8f3fac86cd27a89c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-10-01 19:44:03 -06:00
Marc Bourgoin
87461e128a sm8550-common: Go SELinux Enforcing
Change-Id: I3ae5b6c47dbbabad41d08d7d3245e8eb7d6a356b
2023-09-18 11:23:14 +02:00
SGCMarkus
14c0a803d0 sm8550-common: limit dtbs used to generate final dtb image 2023-09-18 11:23:13 +02:00
Bruno Martins
2eb10240ea sm8550-common: Build DTB and DTBO from sources
Change-Id: I45e2d5e23e08d25abf8ec4218d140e7233321cea
2023-09-15 15:42:12 +02:00
SGCMarkus
619894d343 sm8550-common: set external module root dir 2023-07-22 17:47:27 +02:00
SGCMarkus
e7ce778aaa sm8550-common: no need for common lineage defconfig fragment 2023-07-22 17:47:27 +02:00
SGCMarkus
eeccda8253 sm8550-common: initial conversion from sm8475-common 2023-06-28 17:39:14 +02:00
Cosmin Tanislav
4673368a05 sm8475-common: disble LTO
Change-Id: I3bdcf73a98f858b235866189f02e6c70757d92a0
2023-02-01 00:13:37 +02:00
Cosmin Tanislav
ee9f559c9d sm8475-common: remove wlan module alias
Doesn't even work. Module is still wlan.ko.

Change-Id: I62d58dadfba1e2357b5106226f4435cc32a3058e
2023-01-22 16:12:00 +02:00
Cosmin Tanislav
f43a9de0b1 sm8475-common: remove additional kernel flags
LLVM=1 is passed inside BoardConfigKernel.mk, and DTC is passed inside
kernel.mk

Change-Id: Ie80943cee67ca7447d50d76b59072e7d445bf979
2023-01-22 16:12:00 +02:00
Cosmin Tanislav
e904578caf sm8475-common: include lineage motorola waipio config fragment
Change-Id: Ia0fbed8684e573ab9f72d32e50330b27f386ca7c
2023-01-22 16:12:00 +02:00
Cosmin Tanislav
24e95dcf17 sm8475-common: use stock motorola config fragment
Change-Id: Ia7145ca7879d159462916b0fb5a4edc67ea9d308
2023-01-22 16:12:00 +02:00
Cosmin Tanislav
5697924906 sm8475-common: use generic kernel image
Change-Id: If9e561e1becdd5771fb0e843b31a678cfce848fe
2023-01-22 16:12:00 +02:00
Alexander Koskovich
f326912542 sm8475-common: Remove virtual framebuffer
* It's largely for testing purposes and it consumes
   a large amount of memory. If your hardware doesn't
   have graphics then it can be useful, which isn't the
   case for shipped devices.

Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
2023-01-22 16:12:00 +02:00
Cosmin Tanislav
837920ca4a sm8475-common: use matching kernel path
Change-Id: I1914a639c65ecf446fbdabe88b0a1133248be331
2023-01-22 16:12:00 +02:00
SGCMarkus
03261276c6 sm8475-common: go enforcing 2022-11-06 15:11:59 +01:00
SGCMarkus
3daea15e69 sm8475-common: add avb for boot image 2022-10-23 14:11:00 +02:00
SGCMarkus
64fc026940 sm8475-common: use 64 bit audio service 2022-10-19 17:44:10 +02:00
SGCMarkus
590c5593c1 sm8475-common: location: update to LA.VENDOR.1.0.r1-14200-WAIPIO.0 2022-10-19 17:33:35 +02:00