Commit Graph

30 Commits

Author SHA1 Message Date
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