Commit graph

64 commits

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