Age | Commit message (Collapse) | Author |
|
Fixes duplicate symbol when linking BootControl.o and
libboot_control_qti.o.
Change-Id: I387a6fc24ecaef2bd1f2326f0010688b8f63ec45
|
|
* Needed for device specific gpt-utils.
Change-Id: I1d9e1b4727728f776594f630f639bd4ca7c4309c
|
|
This is required to build a recovery variant of the
same to be used by fastbootd.
Bug: 78793464
Test: make
Change-Id: I2774c5cdb7013be2f59f10d84cfff94cb1a842c4
|
|
* Not needed.
Change-Id: Ie255f645eafc6f178b8a333059e83ec3d5dbe622
|
|
Change-Id: If0d85014bbc6e8c8bb84456909b3f2375df05298
|
|
Check for full partition name instead of partial prefix to
avoid matching with wrong partitions
Change-Id: Ia8ea4420f02dea98697165b710a1cf12e9202137
|
|
V1_2::IBootControl adds getActiveBootSlot() API.
Enhance libboot_control_qti library to implement this API.
Change-Id: I32aea39b319f6844d82bcc17bb636add36a1f659
|
|
As replacing TARGET_PRODUCT with TARGET_BOARD_PLATFORM,
also need replace ro.build.product with ro.board.platform.
Change-Id: I191d8c541e7e59b398dfa945f1cc300f59730224
CRs-Fixed: 2975116
|
|
1. Updating get_number_slots API, to return 2 on HQX
2. Updating set_active_boot_slot API, write current, target slot,
status of target slot info into la_misc partition, which will
read by PVM during slot switching and OTA update.
Change-Id: If171ac32e30fcaf17b079e1c9f3465ff236dc7c8
|
|
Updating get_number_slots API, to return 2 slots on HQX.
Change-Id: Id5f611bc14a62b1458843a27e233d6972adf775e
|
|
Handle "multiimgoem", "multiimgqti" partitions, similar to other
partitions in BOOT LUN.
Change-Id: I41c3458af4520ac28b7a72ae300cebd74a4db00c
CRs-Fixed:: 2897043
|
|
Removed LOCAL_C_INCLUDES that referenced
headers from gpt-utils/inc as these
headers are no longer copied.
Change-Id: If13b6c17016eda0d70cc1f01a7cef2c2f512a56f
|
|
The 1.1 impl lib is named as "android.hardware.boot@1.0-impl-1.1-qti".
This is to serve 1.0 clients with the existing 1.0 getService call.
1.1 AOSP clients get the 1.0 instance and cast it to 1.1, and use
1.1 APIs (on virtual a/b enabled devices).
This makes use of the AOSP's libboot_control helper library to call
the 1.1 APIs to read/write to misc partition.
Change-Id: I65df17f4719949a4d54acdc18c3ef02458063f05
|
|
- boot_control: Removes unused variable.
Change-Id: Ib8b5f5bed54dcba8bd24eeb79927fffd422c0b4d
|
|
To support sideloading in recovery mode on A/B, we need static
version of bootcontrol hal library, enable the same.
Change-Id: I6f1343129d1f8a088210fed2313c193996755cdb
|
|
Change-Id: I6605dffb63e4564c705ab3f8ee6af5f158550ee4
|
|
Install bootctrl.msm8998.so to /vendor so that it
rightly stays in vendor region.
Change-Id: Icd3c6200c47d183f7128fb26d4d8adf0ede1e57a
|
|
Selection of the appropriate a/b version of xbl_config is handled
by the bootloader based on the active LUN being booted from. We do
not need to swap GUID's for this partition.
We also now correctly return a error when setting the active slot on
one of the LUN's fails.
Change-Id: Idad9d0aa3b3e2e1bd29c90414b06898e967abb8a
|
|
We now only compile the HAL when the A/B feature flag is set.
Change-Id: I822fe4579de86e8785dd5708e4a063311a61d060
|
|
We now write the 'gpt_disk' structure back to storage only once per each
physical disk.
Also did a minor cleanup of the code.
Change-Id: Id4fd887fe2978f9cd17447e9a1b715f0a8df5073
|
|
set_active_boot_slot used to call into get_current_slot and assumed it
would get the currently active slot.
get_current_slot has been updated to return the slot number from which
we currently booted instead of it's earlier implementation which was to
return the active slot.
We now have a new function to return the current active slot which
set_active_boot_slot calls.
Change-Id: I191bb7c7f49ff75b972efb4a65e9bc9872c6e3d8
|
|
get_current_slot will now return the slot on which the system was
booted rather than the current active slot.
Change-Id: I2aa64400a45ae23796cd073fc92f5732cdd7391e
|
|
This HAL is needed to enable recovery on devices that support A/B
partitions.
Change-Id: Id7600573b6da579ed90aa2a26bed2409d631039d
|
|
|