Commit graph

19 commits

Author SHA1 Message Date
Dhina17
4dd930f3fa sm6225-common: Include qcom vendor sepolicy
Change-Id: I552c7a8aa634bc7fd760c8877de4ebdfe496baf4
2023-02-17 00:18:46 +05:30
Dhina17
222684d0fb sm6225-common: Import init.recovery.qcom.rc from CodeLinaro
TAG: LA.UM.9.15.r1-05800-KAMORTA.QSSI12.0

Change-Id: If491cd9a8b2e80a5b80f542a4a27186f253fd0dd
2023-02-17 00:18:46 +05:30
Jiyong Park
654435f4ad sm6225-common: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of
APEXes.

Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
2023-02-17 00:18:46 +05:30
Bowgo Tsai
fac62f9670 sm6225-common: Add GSI keys
Bug: 112293933
Test: build and checks the keys are installed into ramdisk
Change-Id: I216f3900e9511e0929418af050ff964898d0aea1
2023-02-17 00:18:46 +05:30
Dhina17
b620223c8d sm6225-common: Import bootctrl from moto sm8250-common
From https://github.com/LineageOS/android_device_motorola_sm8250-common/tree/lineage-20/bootctrl HEAD f249c7dd27ced9295a7c07ce26bb177fdcf3bba3

Change-Id: I83a87c94f9f130041b8214fa3cb4938ae1ed2081
2023-02-17 00:18:22 +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
856a68d016 sm6225-common: Configure vA/B
Change-Id: If530f65e5f45c047ed9eca3dcb860b761327fcab
2023-02-12 01:26:05 +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
61a39b9a2b sm6225-common: Set board and product shipping api level
- bengal is freezed at 30. (GRF)
- All products (devices - hawao, devon, rhode) launched with api level 31.

Change-Id: Ia6e3843d4dc07a515ee65573b75141f87b5613b7
2023-02-12 01:23:50 +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