Commit graph

82 commits

Author SHA1 Message Date
Dhina17
a223df9cfe sm6225-common: Add kernel module aliases
Change-Id: Iad84951615fcac0a7b9d7a6532c87ca3e8d42e47
2023-04-09 01:09:24 +05:30
Dhina17
37a60de327 sm6225-common: Compile kernel from source
Change-Id: I41bc0c43765c823ccb39a298c02926fce1fd4393
2023-04-09 01:09:24 +05:30
Dan Willemsen
616e2f12f6 sm6225-common: Mark as having overridden commands
To allow turning these into errors on other devices, and incrementally
fix these issue, set BUILD_BROKEN_DUP_RULES.

Bug: 77611511
Test: check out/soong.log
Change-Id: I3b8f29f0f9e2ad445e72c65e7688b109817dcff3
2023-03-30 22:51:57 +05:30
Dan Pasanen
ff58d35a08 sm6225-common: Reserve additional space on odm/product/system/system_ext/vendor
This is a squash of the following:

Author: Dan Pasanen <dan.pasanen@gmail.com>
Date:   Sat Oct 19 00:06:11 2019 -0500

    floral: Reserve additional space on system/product/vendor

    Change-Id: Iacd45444dd0d3f423314a8edb243370600f37cdb

Author: Nolen Johnson <johnsonnolen@gmail.com>
Date:   Sun Aug 16 03:27:34 2020 +0530

    floral: Don't reserve space for gapps WITH_GMS

    Change-Id: Ie95b32654772622f7a061947c252b09a45db8fdd

Author: LuK1337 <priv.luk@gmail.com>
Date:   Sun Sep 6 14:51:31 2020 +0200

    floral: Don't limit system inode count when !WITH_GMS

    Change-Id: I458edd755fa436feadeb9f5fb2aecb0da797b0ef

Author: Eamon Powell <eamonpowell@outlook.com>
Date:   Fri Jan 1 11:59:38 2021 +1100

    floral: Adjust reserved partition space

    * Increase reserved partition space for vendor and add reserved
      partition space for system_ext so both partitions can be
      written to, regardless of GMS presence.

    * Increase product reserved partition space so smaller addon
      packages that write to the product partition like MindTheGapps
      can be installed.

    * Increase the amount of available space on the system partition
      so the user can optionally choose to install other addon packages
      that write to the system partition such as OpenGapps.

    Change-Id: I8d3ecca3980d50621f960fd7dff22ba40f495fee

[SebaUbuntu] Always reserve at least 30MB on each partition

Change-Id: I0382f5070751ef4d1be0e48bb89c7abb7eba22c6
2023-03-30 22:51:57 +05:30
Nolen Johnson
a96b887739 sm6225-common: Add ANT+ support
Change-Id: I722da6672e91ee52e004eadf0e123f813db81d8e
2023-03-30 22:51:57 +05:30
Sebastiano Barezzi
86baffeeb4 sm6225-common: Add a minimal framework compatibility matrix
* Made with https://gist.github.com/SebaUbuntu/ec053a00a9988eaea091fb1cc1f19324

Change-Id: I180d19e7939ee0c3e9f1aeb04a854f8aaf444235
2023-03-30 22:51:57 +05:30
Roger Ellis
a747cb0e1e sm6225-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
2023-03-30 22:51:57 +05:30
Dhina17
707eb3c34c sm6225-common: Build wifi packages
Change-Id: Ife127b29d3a675710e5df3d65ec866c3e9f2293a
2023-03-30 22:51:57 +05:30
Dhina17
73fddca296 sm6225-common: Build RIL packages
Change-Id: I6dcc89a42b2c769f0262d3ac4b7d2396268fdab0
2023-03-30 22:51:57 +05:30
Dhina17
3ed84ec584 sm6225-common: Build QTI power AIDL
Change-Id: I81609e3b6aa40cba4855ef5624b36dffba64798d
2023-03-30 22:51:57 +05:30
Dhina17
e056865156 sm6225-common: Build display packages
Change-Id: Ib9f7a348004983dfcdcf6e0fd7c4a47e32a258b5
2023-03-30 22:51:57 +05:30
Dhina17
4a3686c8f1 sm6225-common: Build audio packages
Change-Id: I0bfa4864d56fc6b340078a0a6dde9e05a42ce0b7
2023-03-30 22:51:57 +05:30
Dhina17
bbeabec192 sm6225-common: Import bdroid_buildcfg.h from CodeLinaro
TAG: LA.UM.9.15.r1-05800-KAMORTA.QSSI12.0

Change-Id: Iec7f74b528b8cf4534c877632b0ac958a9785d8a
2023-03-30 22:51:57 +05:30
Dhina17
dddfe6b32a sm6225-common: Import initial properties
Change-Id: I589704358b06b08000eac3e638bc628091f9fbb6
2023-03-30 22:51:57 +05:30
Dhina17
f2333421a6 sm6225-common: Initial common blobs list
- from hawao S2SE32.28-41-1

Change-Id: Id5486591e35dd69375655ff9d10f357c3ba8c4b2
2023-03-30 22:51:57 +05:30
Dhina17
aa5c83612a sm6225-common: Import common device manifest
- from hawao S2SE32.28-41-1

Change-Id: I8d4c2c80d24a60ba570917a43f90f48f2b2025c3
2023-03-30 22:51:57 +05:30
Dhina17
0163590741 sm6225-common: Import device compatibility matrix
- from hawao S2SE32.28-41-1

Change-Id: Ia47e2e7a702802fdb666d5039dc6e3e297fe9218
2023-03-30 22:51:57 +05:30
Erfan Abdi
09e9c8c91d sm6225-common: Import moto GIDs
Change-Id: I4b05aed79e878a53315cdea0974ee0cd1c14ff22
2023-02-17 00:18:46 +05:30
Dhina17
889dc39dbd sm6225-common: Import config.fs from CodeLinaro
TAG: LA.UM.9.15.r1-05800-KAMORTA.QSSI12.0

Change-Id: I8815bb416d73ea39656a55ca25ac878373b7b6e6
2023-02-17 00:18:46 +05:30
Dhina17
4dd930f3fa sm6225-common: Include qcom vendor sepolicy
Change-Id: I552c7a8aa634bc7fd760c8877de4ebdfe496baf4
2023-02-17 00:18:46 +05:30
Dhina17
6041a7c497 sm6225-common: Build vbmeta_system
- A chained vbmeta image for system partitions (system, system_ext and product) as described in [0].

Reference:
[0] - https://android.googlesource.com/platform/external/avb/+/master/README.md#build-system-integration

Change-Id: I4d0baf93cf1aec884f231896973e137aabb25460
2023-02-12 01:30:43 +05:30
Rashed Abdel-Tawab
afe3da1eba sm6225-common: Build a disabled vbmeta image
Squashed with:
Author: Nolen Johnson <johnsonnolen@gmail.com>
Date:   Sun May 9 16:04:34 2021 -0400

    sunfish: Simplify AVB flag logic

    * AVB's `--flags 3` argument builds a disabled VBMeta with
      disabled hashtree, so no need to set both flags individually.

    Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838

Dhina17: Also include the vbmeta to the AB_OTA_PARTITIONS

Change-Id: Ie8f1e0929b037b35b5e45c2e31be9253fa0bb097
2023-02-12 01:30:43 +05:30
Tao Bao
8258b8b8f5 sm6225-common: Enable AVB
It encodes PLATFORM_SECURITY_PATCH as the AVB rollback index.

Bug: 78463994
Test: Build with blueline-userdebug. Check the rollback index with
      `avbtool info_image --image $OUT/vbmeta.img`.
Test: Flash and boot into on B1.
Change-Id: Iea02c939d1090e630a36660ea7809273f6724002
2023-02-12 01:30:43 +05:30
Dhina17
24692fc6e2 sm6225-common: Setup recovery
Change-Id: Iec167d51191bc5ff3ba8dcc1864ac7bfee23cfe1
2023-02-12 01:30:43 +05:30
Dhina17
e8ab9a8ebd sm6225-common: Build DTBO
Change-Id: I99076588b896198a0e5f53da6fb23df0b6b65066
2023-02-12 01:30:43 +05:30
Dhina17
7ba856aaeb sm6225-common: Build vendor boot partition
with:
- DTB image
- first_stage_ramdisk fstab

Change-Id: I7cf72994a49b1b49ba7bf2079537697fb6fd20fa
2023-02-12 01:30:43 +05:30
Dhina17
a6f1ade160 sm6225-common: Configure partitions
Change-Id: Ied40e73e1b1f831f34f0b726d31247bf4e5bd948
2023-02-12 01:30:37 +05:30
Dhina17
1a922e546b sm6225-common: Configure kernel
Change-Id: Ifed55a5d59d1deae4fd743d654ccb66e437a60ef
2023-02-12 01:25:35 +05:30
Dhina17
3d67fd3f45 sm6225-common: Add bootloader flags
Change-Id: I6c3fcddb73db3e43327b68df3652230ad1cbe04b
2023-02-12 01:25:35 +05:30
Dhina17
8e445426a0 sm6225-common: Define arch
- Taken from CodeLinaro

Change-Id: I905059d33b9bd55db5d79e3930e9593d579de39a
2023-02-12 01:25:35 +05:30
Dhina17
18c6a92217 sm6225-common: Set board platform
Change-Id: Ifb70c8674b464f1803618df81bd26cb6995fcbf3
2023-02-10 00:43:58 +05:30
Dhina17
e70addc532 sm6225-common: Add initial common device tree files
Change-Id: Iad923b30fc46a9caa1c902acb44f519289743bf6
2022-12-31 10:38:30 +05:30