Commit graph

14 commits

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