Commit Graph

60 Commits

Author SHA1 Message Date
Rodney Etienne
e924a84185 sdm710-common: Initialize for Evolution X 9.x 2024-07-05 16:17:36 -04:00
Rodney Etienne
304a1022b9 sdm710-common: fix missing separator 2024-07-01 17:12:13 -04:00
Rodney Etienne
7039fde736 sdm710-common: Add a device specific FCM 2024-07-01 16:12:48 -04:00
Rodney Etienne
f829507e1d sdm710-common: Inherit from legacy QTI FCM 2024-07-01 16:11:18 -04:00
Rodney Etienne
fffd053076 sdm710-common: Include lineage DCM 2024-07-01 16:10:06 -04:00
Rodney Etienne
86c7d55f3f sdm710-common: Inherit from QTI and common Xiaomi FCMs 2024-07-01 16:08:13 -04:00
Rodney Etienne
4a7fc9dba5 sdm710-common: Use the common device compatibility matrix from QCOM 2024-07-01 16:00:27 -04:00
Georg Veichtlbauer
ac7cf04563 sdm710-common: powerhint: Add DT2W
Change-Id: I7d0dfe249798864a39afd4f339b692584faaf3ec
2024-05-30 14:31:09 -04:00
Bruno Martins
96c588eb97 sdm710-common: Use common libqti-perfd-client and power-libperfmgr
Change-Id: I22d6b35c72629553817005deaefcae60abc72cfd
2024-05-30 14:26:27 -04:00
RODNEY ETIENNE
47a3ddff77 sdm710-common: Initialize for Evolution X 9.x 2024-05-09 16:28:56 -04:00
Cole Faust
c17b40e44d sdm710-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-21 15:04:05 +01:00
Ivan Vecera
b5ef26cdd1 sdm710-common: Restore reserved sizes for treble partitions
Commit 73fdae1 ("sdm710-common: Inherit common partition reserved sizes")
commonized partition reserved sizes but this is valid only for SSI partitions because
vendor/lineage/config/BoardConfigReservedSize.mk does not define partition
reservations for treble partitions. Partially revert the mentioned commit to restore
reservations for vendor and odm partitions.

Change-Id: I28855102cf9f0f35be8438a7a0b9c05870b3b554
2024-03-04 17:44:12 +00:00
Ivan Vecera
1c403cd1fc sdm710-common: Build audio extensions from source
Pyxis and vela is switching to OSS audio HAL and stops shipping prebuilt
audio extensions. Build them from source.

Change-Id: I060f9355d2ef4f85e30bc04886f7565c7577bc6c
2024-03-04 15:28:45 +01:00
Michael Bestas
73fdae1184 sdm710-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-02-12 03:24:50 +01:00
Bruno Martins
85d4d57770 sdm710-common: Migrate to restructured sepolicy_vndr
The new folder structure now looks like this:

  device/qcom/sepolicy_vndr
  ├─ legacy-um (meant for sdm845 until sm8350)
  ├─ sm8450
  └─ sm8550

Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
2024-02-12 03:24:50 +01:00
Sebastiano Barezzi
478a3512b8 sdm710-common: Fix DAP overhead size
Change-Id: Iba80b907a56c3a5ef1f0e05d0675dad3876a4e25
2023-12-26 16:53:20 +01:00
Ivan Vecera
df66af4151 sdm710-common: Build Lineage Health HAL
Change-Id: Ia426011557a36ed3a17860a49ed07e751e797450
2023-09-10 19:35:29 +02:00
Ivan Vecera
7f88a88e63 sdm710-common: Update common blobs
Update common blobs from pyxis V12.5.3.0.RFCEUXM

* Unpin blobs previously pinned to pyxis
* Pin libacdbloader.so to grus so we can keep ACDB data dir and
  filenames as Forte and keep commonized libacdbloader
* Pin Secure element blobs to grus as Pyxis EEA does not contain
  them
* Add librice.so as the updated soundtrigger HAL needs it
* Update vendor security patch date

Change-Id: I4cc1fb97e11471dca990f812740089371ba03ff0
2023-01-26 16:26:38 +01:00
Michael Bestas
4ad6e6ba9c sdm710-common: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
2022-12-24 18:24:03 +01:00
Alexander Koskovich
412eedd0e2 sdm710-common: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2022-12-24 18:24:03 +01:00
Sal Savage
736c08b9c4 sdm710-common: Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Change-Id: Idd7e52b7822915ed61299f1c0b29bf87ca0339fe
2022-12-24 18:24:03 +01:00
Edwin Moquete
df8ad9b0da sdm710-common: Switch to legacy sepolicy_vndr
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2022-12-24 11:00:20 +01:00
Ivan Vecera
351876b5c7 sdm710-common: Reduce slightly SSI_PARTITIONS_RESERVED_SIZE
After commit 8dbeeee00ceaa8 ("pyxis: Add missing 64bit camera libraries")
the partitions do not fit into super partition.
Reduce SSI_PARTITIONS_RESERVED_SIZE appropriately.

Change-Id: Icc1ab14f8f37879e0b69613cf9fe0adfd813774d
2022-10-07 14:11:15 +02:00
Sebastiano Barezzi
68de91771d sdm710-common: Retrofit dynamic partitions
* Merge system, vendor and cust, giving us a whopping 6.4GB of space, pretty nice
* Mark standard block devices as super block devices (from https://source.android.com/devices/tech/ota/dynamic_partitions/implement?hl=en#selinux-legacy)

Change-Id: I2553aad99f5c458cf6ac6b4265dc5840127c13e9
2022-09-08 23:41:04 +02:00
Sebastiano Barezzi
9e81a9afbe sdm710-common: sepolicy: Label logdump partition in qcom sepolicy
Change-Id: I9c0678257ad21480581b30431dfcf3a5cd215bfd
2022-09-08 23:22:09 +02:00
Sebastiano Barezzi
0c874f231f sdm710-common: Move FM support to common
Change-Id: I3f00beb299051ca2c72cce4a947cea01f04bcdc8
2022-09-04 01:24:03 +02:00
Alex Damaratski
12dc3d5c43 sdm710-common: Guard NFC
* sirius doesn't have NFC

Signed-off-by: Alex Damaratski <alexeydomoratsky1@gmail.com>
Change-Id: I8a144edacb9a6d8bc979fffa8db611b7e1d5c8f2
2022-08-21 04:51:01 +02:00
Sebastiano Barezzi
5e20f0f039 sdm710-common: Use logdump as metadata partition
* We have a 64MB unused partition, why not use it

Change-Id: Ie0fafa8285eaebb24589073581ff9575f40c89e9
2022-08-20 15:44:55 +02:00
Sebastiano Barezzi
f7fb8eb4e5 sdm710-common: Define DT2W node for power HAL
Change-Id: I1dc2f23e0c7764a8ca9d5bf6c9f2f78dcd89dbbe
2022-06-13 23:08:39 +02:00
Sebastiano Barezzi
37b092477b sdm710-common: Declare BOARD_VENDOR
* Needed for xiaomi-perfmgr power AIDL guards

Change-Id: Idbb48e0f9b01090a456ad5d3f2d51f4dfab55672
2022-06-13 23:08:39 +02:00
Roger Ellis
02c983114a sdm710-common: Add exclusion for vendor ELF prebuilts
- ELF prebuilts were banned in PRODUCT_COPY_FILES starting May 11.
 - Adding BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true to
BoardConfig.mk temoporarily.
 - See b/156534160 for long-term fix which should override this change.

Test: Build
Bug: 156534160
Change-Id: I7d80798d3b2d3818bc835fcede21de2e7ab04735
2022-06-13 23:08:39 +02:00
Sebastiano Barezzi
9cb034dc4e sdm710-common: Initial sepolicy
* From sdm845-common, cleaned up using sm8250-common one as reference

Change-Id: I9094d8593fba89c96cb2be3ee8a996b5cf4d3969
2022-06-13 23:08:39 +02:00
Sebastiano Barezzi
1d535e45f1 sdm710-common: Add support for UDFPS devices
Change-Id: If31a314c50174c89b4b094dbd1d3da431917d238
2022-06-13 23:08:39 +02:00
Sebastiano Barezzi
5d4c5e434a sdm710-common: Define common kernel config and fragment
Change-Id: I09cf0baa3fe6c42e9da0d5521e6defc07d0c0501
2022-06-13 21:33:40 +02:00
XiNGRZ
d66dbb9ce5 sdm710-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2022-06-13 21:33:40 +02:00
Sebastiano Barezzi
8a93f84251 sdm710-common: Reboot to recovery if init fails
Change-Id: I1d8f38620caa7b003911ff30f69ed7973c100e6d
2022-06-13 21:33:40 +02:00
Alexander Koskovich
05508eb2b9 sdm710-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
2022-06-13 21:33:40 +02:00
Sebastiano Barezzi
24ac2b0d20 sdm710-common: Initial proprietary files list
Change-Id: Ibf45dd02ba625bb1c14a5dbee729a871ec9a8786
2022-06-13 21:33:40 +02:00
Sebastiano Barezzi
6b13e3f1c5 sdm710-common: Initial properties
* From grus-user 11 RKQ1.20082.002 V12.5.1.0.RFBMIXM release-keys

Change-Id: Ibce777716d586738cb7baf7182c2af282b460042
2022-05-18 23:55:35 +02:00
Sebastiano Barezzi
f4eace68c6 sdm710-common: Switch to 2si
* Also get rid of data late mounting

Change-Id: Iaa8ec22289db593dff6aae6c82bd3aff5ab31741
2022-05-18 23:55:35 +02:00
Jimmy Chen
fa9ab031a8 sdm710-common: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2022-05-18 23:55:35 +02:00
Sebastiano Barezzi
09d8de31ed sdm710-common: Initial rootdir
* From grus-user 11 RKQ1.20082.002 V12.5.1.0.RFBMIXM release-keys

Change-Id: I6ef80df5635c25d7a798271178daa68c3cc28fc5
2022-05-18 23:55:34 +02:00
Sebastiano Barezzi
3193bd4329 sdm710-common: Build Wi-Fi stack
Change-Id: I31022ef0efee8c63600339f6d5a5d51a28bf2cad
2022-05-18 23:55:34 +02:00
Sebastiano Barezzi
9b499a3daa sdm710-common: Build RIL libs
Change-Id: I1ba26f1a5258e7cde9ec0e39d771e677abbe64a1
2022-05-18 23:55:34 +02:00
Sebastiano Barezzi
abc92a5507 sdm710-common: Build display stack
Change-Id: Iee3074abff955f2e1cb4823b253858e5219fb07e
2022-05-18 23:36:04 +02:00
Sebastiano Barezzi
3f737bf78f sdm710-common: Add bdroid buildcfg
Change-Id: I5d7dfe907734cfd5e6d5ed5547d1c059be088692
2022-05-18 23:36:04 +02:00
Sebastiano Barezzi
91bac18e74 sdm710-common: Build audio stack
Change-Id: Ida0e83f5c542ca59cf8cbc18ba6bf5c334f92034
2022-05-18 23:36:04 +02:00
Luca Stefani
797fda3f2b sdm710-common: Enabled updateable APEX
Change-Id: Iae46cbf48ae5fbfa100e83e8d6ce19f225102cf3
2022-05-18 23:36:04 +02:00
Sebastiano Barezzi
8a30047ddd sdm710-common: Import config.fs
* From grus-user 11 RKQ1.20082.002 V12.5.1.0.RFBMIXM release-keys

Change-Id: Ifd07a8677373054da6e60aa06cb73e4eba7d9cd3
2022-05-18 23:36:04 +02:00
Sebastiano Barezzi
ded1ce8160 sdm710-common: Import manifest and compatibility_matrix
* From grus-user 11 RKQ1.20082.002 V12.5.1.0.RFBMIXM release-keys

Change-Id: Ia505abe57cf4b9566d6067ef00e0470c345bc930
2022-05-18 23:36:03 +02:00