Commit Graph

47 Commits

Author SHA1 Message Date
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
chaptsand
a95b937c54 sm8550-common: Import device framework matrix
* Required by FCM Version 7

Change-Id: Ic0c44a805836c6889645d2d91f1d36058bf1d9bc
2023-10-11 01:07:08 +08:00
Roger Ellis
021eb4d038 sm8550-common: Allow ELF prebuilts in PRODUCT_COPY_FILES
* ELF prebuilts were banned in PRODUCT_COPY_FILES starting
   May 11th. See b/156534160 for long-term fix which should
   override this change.

Change-Id: Icd25b40ca4e4285319775046a1b70de30572be07
2023-10-06 23:20:54 +08:00
Dan Willemsen
483b821d58 sm8550-common: Build with overriding commands.
* To allow turning these into errors on other devices,
   and incrementally fix these issue, set BUILD_BROKEN_DUP_RULES.

Change-Id: I93637252a4cbe2e8b37648d5c0c0051a7696e13d
2023-10-06 23:20:54 +08:00
Anton Hansson
1ef32592fb sm8550-common: Set cpu "runtime variant" to cortex-a75
This makes bionic and various art tools that compile/runs cpu-specific
code choose the kryo330 at runtime. It does not affect
build-time compilation.

Bug: 120773446
Test: bionic benchmarks with and without this change
Change-Id: I670c8acd094090135515688c5f057c2cc08a083f
2023-10-06 23:20:54 +08:00
Anton Hansson
8269982e41 sm8550-common: Use generic arch variant
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.

Bug: 120773446
Test: make
Change-Id: I9e23963fcfa5ccaa912f2930a632458c4d2a692d
2023-10-06 23:20:54 +08:00
chaptsand
7fa7447129 sm8550-common: Initial device specific properties
* from dm2qzhx-user-13-TP1A.220624.014-S9160ZHU2AWH1-release-keys

Change-Id: I9ca943ae69f0bf9a71d8fd3dec40c5f40e9edaed
2023-10-06 23:20:54 +08:00
chaptsand
5e520fa720 sm8550-common: Update blobs from S9160ZHU2AWH1
* dm2qzhx-user-13-TP1A.220624.014-S9160ZHU2AWH1-release-keys

Change-Id: I613ae499a5fb1bf57a3b45a17d164a9de03f352d
2023-10-06 23:20:54 +08:00
Bruno Martins
c709a7d3f0 sm8550-common: Enable extended compress format
It's enabled in kalama platform, as observed in stock libtinycompress.

Change-Id: I3183faced679ab433ed1ce30ac7df6c7c511e476
2023-10-06 23:20:54 +08:00
Bruno Martins
7a580e0750 sm8550-common: Wire up audio and update configurations
Change-Id: I3da040b9709cd0c57baacd2808b1a09d627506eb
2023-10-06 23:20:54 +08:00
chaptsand
cf9c4297f2 sm8550-common: Initial proprietary blobs list and bringup HALs
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Co-authored-by: Simon1511 <simon2002.schoenmackers@gmail.com>
Change-Id: I4ead5aa47d892e1516acb42dcebaaf424733c815
2023-10-06 23:20:54 +08:00
Anvisha
1c93458aa4 sm8550-common: Generate boot as chained partition
This change adds necessary configuration to generate boot
and init_boot as chained partition.

Change-Id: I05b5e8fa8b6154f8191c82df574a9c535a174e8d
2023-10-06 23:20:54 +08:00
chaptsand
67551b389e sm8550-common: Import QCOM common vintf manifests
* from LA.VENDOR.13.2.0.r1-15000-KAILUA.0

Change-Id: Ic9facc620bf440d031471525735a13c13615f37e
2023-10-06 23:20:54 +08:00
chaptsand
b3a7376b75 sm8550-common: Import QCOM common configs
* from LA.VENDOR.13.2.0.r1-15000-KAILUA.0

Change-Id: Ieeecba00d5baa96988911218f00774b1efb8618a
2023-10-06 23:20:54 +08:00
chaptsand
987e12102c sm8550-common: Build QTI bootctrl HAL
Change-Id: I1d35fe73deaef39ab71dd627a17f72d60e53d717
2023-10-06 23:20:54 +08:00
Roopesh Nataraja
37a686bf8a sm8550-common: Enable compilation of init_boot partition
Devices launching with Android 13 or higher and shipping with
Android 13 must have an init_boot static partition. The generic
ramdisk is no longer be contained in the boot.img file that goes
in the boot partition. This generic ramdisk will be placed in a
new init_boot.img to be installed in a new init_boot partition.

Change-Id: I0434ef0cee209bb7709474c6db15b2c4fcb40a03
2023-10-06 09:36:01 +08:00
Arthur Shuai
23d88f9af5 sm8550-common: BoardConfig.mk: add hashtree footer args
Config hash algorithm to sha256

Change-Id: Ic09f5da123a9a9224821ea6bac51c4dc79bb70a0
2023-10-06 09:35:53 +08:00
Roopesh Nataraja
46632f72cc sm8550-common: Enable system_dlkm partition to host GKI modules
- Enable compilation of system_dlkm image to package GKI modules.
  It provides the flexibility to update GKI driver post KMI freeze.

- Use sha256 to build hashtree for system_dlkm partition since it
  provides robustness against malicious attacks.

Change-Id: Icb3a5ab44d39f8b55324b7d8c47ea3c01f94f066
2023-10-06 09:35:43 +08:00
chaptsand
02c7ace5e7 sm8550-common: Define kernel and partition flags
Change-Id: Ieb09ea13eade048617dce47ebd73fece7b8af6d9
2023-10-06 09:34:03 +08:00
chaptsand
1482eed6bf sm8550-common: Intial device configurations
Change-Id: I2bc20ab68336e5d7a23a443b42c355e785baaa05
2023-10-06 09:32:13 +08:00