Commit Graph

69 Commits

Author SHA1 Message Date
chandu078
781ddd5405 sm8550-common: Pass platform info to kernel modules
Add TARGET_BOARD_PLATFORM to build flags for proper functionality of:
- Audio/BT/Camera/Graphics/Video/WLAN modules

Allows modules to adapt to platform-specific requirements.

Change-Id: Ib3b92c928c159e6a5ea2e77b8453438782e358ff
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-07-15 21:30:46 -03:00
luk1337
cf3367a189 sm8550-common: Reserve more space on /product
Change-Id: I25884eb89ea7d4cbe2b82504c21c83c8513095aa
2025-07-12 08:37:46 -03:00
Michael Bestas
1605860032 sm8550-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2025-07-12 08:37:46 -03:00
mifl
4ea48348d0 sm8550-common: Remove duplicate audio flag.
TARGET_USES_QCOM_MM_AUDIO is enable by default.

https://review.lineageos.org/#/c/180752/

Change-Id: I098e441ee8999246312bb49bd94be5da5c9dd5b9
2025-07-06 23:18:27 -03:00
Bruno Martins
ac77d67ad9 sm8550-common: Move and recategorize compat matrix and manifest flags
Qualcomm also sets these in (common) product makefiles.

Change-Id: I7139cba92454106fbca5f6105b966a43e70fe9d6
2025-07-06 23:18:27 -03:00
Bruno Martins
21be573430 sm8550-common: Build more audio blobs from sources
Change-Id: I6c05826778c05ef14f7e4fbdbf40a1cd73e68bf5
2025-07-06 23:18:27 -03:00
Nolen Johnson
44ed3fa211 sm8550-common: Don't declare BOARD_VENDOR
* Only matters when it differs from the device OEM.

Change-Id: Id9af8263cb42dc7a0e3a9ce8677385e224910302
2025-07-06 23:18:27 -03:00
Mezaque Silver
6a16d964f7 sm8550-common: Update blobs from S9160ZHS6DYF1
Change-Id: I54735b2af53fae71476a2cc09a93e82a725f592c
2025-07-06 19:20:56 -03:00
chaptsand
5eee35d65f sm8550-common: Update blobs from S9160ZHU6DYD9
Change-Id: Ib58a411bbcace692d4cbbd6773f352a18ed0ec4a
2025-05-12 22:54:49 +08:00
Bruno Martins
424325ecba sm8550-common: Drop avb hastree footer args
These and more are now all set in hardware/qcom-caf/common.

Change-Id: I7bd8848ddf7a473e74c2864d9b9f32bdca9cf748
2025-04-27 16:27:33 +08:00
chaptsand
62600d8561 sm8550-common: Enable broken dup rules check
Change-Id: I9a80f6246410d1571ea44990ff573a931556e1e4
2025-04-27 16:26:23 +08:00
Aaron Kling
7c095c7611 sm8550-common: Don't avb chain boot partition
ABL expects boot props to be in the main vbmeta

Change-Id: Idcbb7aec9d223b2cd844f280edfab63e3254908e
2025-04-26 00:10:00 +08:00
chaptsand
83ba1adb2c sm8550-common: Allow overriding super partition size
Change-Id: I548f44949d078bc8f64ef0add7bd127aeceb1560
2025-04-26 00:10:00 +08:00
chaptsand
4ff5699042 sm8550-common: Update blobs from S9160ZHS6CYC1
Pin apks so that don't just update the signature and timestamp every time

Change-Id: Ib04bc487676f9ab6b6ccf7e7fb0c67ed67aff51b
2025-03-27 23:41:54 +08:00
chaptsand
bffbad73ee sm8550-common: Update blobs from S9160ZHS5CYA1
Change-Id: I406989ffc1bafba367bdbf81befca2ba305bda3e
2025-02-28 22:44:04 +08:00
Kelvin Zhang
86b7f0b381 sm8550-common: Explicitly set as an non-AB target
We will be changing AB to be the default, existing non-AB targets
need to explicitly set AB_OTA_UPDATER to false

Test: th
Change-Id: I86a76296937a6abab1b4495cd66a35144348aafd
2024-12-30 16:17:19 +08:00
Luka Panio
8a5afd0877 sm8550-common: Add bootconfig to cmdline
While bootconfig allows to provide userspace config without taking space in cmdline,
 it only works with boot header v4, and recovery cant be newer then v2, so add bootconfig to cmdline,
 for recovery.

Change-Id: I2123b361b3c8e9097a94d80d762623aa8c3c236a
2024-12-30 16:17:14 +08:00
Bruno Martins
bb3064a737 sm8550-common: Drop soong configs for audio service
Not necessary anymore, since the shift to 64bit-only builds.

Change-Id: Ia424deb93e05cfb86706727b62d2ef0f53fa2fb1
2024-12-30 16:17:14 +08:00
chaptsand
7245b13c51 sm8550-common: Update blobs from S9160ZHU5CXK1
Change-Id: I729258f2f70bb8df622ad1a036eaccd8b7360ec2
2024-12-30 15:29:10 +08:00
chaptsand
3d3629c638 sm8550-common: Update blobs from S9160ZHS4CXJ1
Change-Id: Icb9f1009167ee85452c87230157386dcd251e54b
2024-10-16 18:28:18 +08:00
Aaron Kling
25c0bc2222 sm8550-common: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-10-15 03:36:19 +08:00
Bruno Martins
e016300ea1 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-10-15 03:36:19 +08:00
Iascker
1aaca69254 sm8550-common: Update blobs from S916BXXS6CXHA
Change-Id: Ib077f0c90fd62d849398a3e1b9b410d9b330eb63
2024-09-25 18:04:26 +08:00
chaptsand
34b23b3a8c sm8550-common: Initial enforcing sepolicy
Change-Id: If928cb2d9e24a6639df4e555492209722162ed05
2024-09-18 23:56:12 +08:00
Bruno Martins
c8f8181faf sm8550-common: Migrate to common libqti-perfd-client and power-libperfmgr
Change-Id: I22dd0baaf1594db1650bccf37b4d167b50135174
2024-09-15 13:34:28 +08:00
chandu078
ad71570f97 sm8550-common: Switch to 64 bit only builds
Change-Id: I0e730663a0e1ad8b18cfa1163b94edf0acd64fff
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2024-08-31 19:51:29 +08:00
chaptsand
02d1c4a146 sm8550-common: Update blobs form S916BXXS6CXGA
Change-Id: If4a66192697789315a6121e808edd23736a22064
2024-08-31 15:23:36 +08:00
Arian
88bf687445 sm8550-common: Use soong_config_set to enable 64bit audio HAL
Change-Id: Id8cca7234ae62fba402ae4eaafa5cd5cc33ce564
2024-08-31 15:22:21 +08:00
Luka Panio
d5a9167bf3 sm8550-common: Set BOARD_ROOT_EXTRA_FOLDERS
Change-Id: I6d3ef85bef4476b1ad57196d4c965d7dc52e309e
2024-07-29 17:17:30 +08:00
Bruno Martins
6d3fc1d26a sm8550-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-07-25 00:00:18 +08:00
chaptsand
651fcc5e12 sm8550-common: Update blobs to S9160ZHS4CXG2
Change-Id: Iff219893dd4d51781b77c2782ccfd38bd2fe6c1a
2024-07-24 00:00:48 +08:00
Pranav Vashi
c80fc07a76 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-04-06 16:07:27 +08:00
Cole Faust
541beb98d0 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-04-06 16:07:27 +08:00
chaptsand
1031306d74 sm8550-common: Update blobs from S9160ZHU2CXCF
Change-Id: If12629e7b478f004914e4e2978f3b15c75ee7aed
2024-04-06 16:07:27 +08:00
chaptsand
6aeeebc7f2 sm8550-common: Switch to prebuilt vibrator AIDL
Change-Id: I374a156bc7262db5b2617ae3e7d82ac711d27a2e
2024-04-06 16:07:27 +08:00
chaptsand
64e174b102 sm8550-common: Import samsung radio manifests
Change-Id: Iaf5447f63d3d231d754a22964576ee6ffc1c9d5f
2024-03-30 23:25:46 +08:00
chaptsand
06c51f1a9c sm8550-common: Update blobs from S9160ZHS2BXAF
Change-Id: I3978168113b48f5c03be95ec8494093f46f0a042
2024-03-30 23:25:46 +08:00
chaptsand
67c2a084da sm8550-common: Add reserved space for dynamic partitions
* For further modifications

Change-Id: Ia00c6c2305714697cedc604096feb96e16da63b2
2024-03-30 23:25:24 +08:00
Bruno Martins
f37bd5bc83 sm8550-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-03-11 00:00:15 +08:00
SGCMarkus
f448c7728c sm8550-common: Set external module root dir
Change-Id: I0b00e0a8192562047e273760dd8c253824518eaf
2024-02-28 00:01:08 +08:00
chaptsand
22106d8b53 sm8550-common: Build kernel from source
Change-Id: Ie8b57be69967423064b88f04abd0534e0968ec73
2024-02-28 00:01:01 +08:00
chaptsand
3b86fcbe11 sm8550-common: Declare BOARD_VENDOR
Change-Id: I1218d451a5f42510c95d94a655bda6160b6bd703
2024-02-28 00:01:01 +08:00
chaptsand
a67d9efb80 sm8550-common: Include QCOM SEPolicy makefile
Change-Id: I41ca8a7dc38db71daeb4dd2526ffb372667dbee8
2023-10-11 13:27:24 +08:00
XiNGRZ
765f91beec sm8550-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2023-10-11 13:27:24 +08:00
chaptsand
09337b59a1 sm8550-common: Define cache partition for non-A/B OTA
Change-Id: Ie4a1e407758e8feef7c986c3c22f96b8d1d7e35e
2023-10-11 13:27:24 +08:00
chaptsand
c380289a1c sm8550-common: Correct super partition size
Change-Id: I3fa6e8d453514c4e3e89827fc4690c22e4418db8
2023-10-11 13:27:24 +08:00
chaptsand
48a16c0af9 sm8550-common: Sync fstab and vbmeta_system with stock
Change-Id: I6935a0b533236586610349fe1362686ddfd3e844
2023-10-11 13:27:18 +08:00
chaptsand
c20fe1e4cf sm8550-common: Set BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT to true
* We have dedicated and non-A/B recovery partition

[1]: https://source.android.com/docs/core/architecture/partitions/generic-boot#option-2b

Change-Id: If09122a3dcb22cbf0ce23c6d46776f9669b9a96f
2023-10-11 03:16:41 +08:00
chaptsand
9e1d03b2cb sm8550-common: Convert to non-A/B devices with dynamic partitions
Change-Id: Id58a12940c30c5050d825ceb15a8b55f83d89061
2023-10-11 01:11:02 +08:00
chaptsand
38f840a0f2 sm8550-common: Remove Boot control HAL
Change-Id: I01e6425227a2329770ee88303fb54b0814cb7f0a
2023-10-11 01:07:08 +08:00