summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-20Expose 1.1 impl via cc_defaultsHEADtachibanasugisawaLuK1337
* Needed for device specific gpt-utils. Change-Id: I1d9e1b4727728f776594f630f639bd4ca7c4309c
2022-01-20Build bootctrl.sdm845 using Android.bpHridya Valsaraju
This is required to build a recovery variant of the same to be used by fastbootd. Bug: 78793464 Test: make Change-Id: I2774c5cdb7013be2f59f10d84cfff94cb1a842c4
2022-01-20Drop dependency on librecovery_updaterLuK1337
* Not needed. Change-Id: Ie255f645eafc6f178b8a333059e83ec3d5dbe622
2021-06-23Merge 5284f9b2e31c1a807f8d8035de593f52597e7ea7 on remote branchLinux Build Service Account
Change-Id: If141a52e44148daf9dcfcd92bc7b2248877610ec
2021-06-08Merge 6cb2be4a02805ed2acf5695369ca4d355abb5a48 on remote branchLinux Build Service Account
Change-Id: I23db34a6e6bfc74878dfcd6bce8ee7c9cf4a12ac
2021-05-27Bootctrl: Supporting bootctrl on HQX.Tabassum Tabassum
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
2021-05-06Bootctrl: Supporting bootctrl on HQX.Tabassum Tabassum
Updating get_number_slots API, to return 2 slots on HQX. Change-Id: Id5f611bc14a62b1458843a27e233d6972adf775e
2020-10-08Merge 96bff3bdda1b9fd18fc16f674aed4fcfe0488893 on remote branchLinux Build Service Account
Change-Id: I44d10132abb0da667d2cee1c2bcb6c780cf5dd91
2020-09-24Lahaina: Remove LOCAL_C_INCLUDES gpt-utils/incJason Wojcik
Removed LOCAL_C_INCLUDES that referenced headers from gpt-utils/inc as these headers are no longer copied. Change-Id: If13b6c17016eda0d70cc1f01a7cef2c2f512a56f
2020-01-29Add support for Boot Control Hal 1.1.P.Adarsh Reddy
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
2019-01-29Fix build errors.Divya Sharma
- boot_control: Removes unused variable. Change-Id: Ib8b5f5bed54dcba8bd24eeb79927fffd422c0b4d
2018-12-14Build Static version of bootctrl library for A/B sideloadingpadarshr
To support sideloading in recovery mode on A/B, we need static version of bootcontrol hal library, enable the same. Change-Id: I6f1343129d1f8a088210fed2313c193996755cdb
2018-04-24Add libhardware header libraryVinay Verma
Change-Id: I6605dffb63e4564c705ab3f8ee6af5f158550ee4
2017-06-20Install bootctrl.msm8998.so to /vendorpadarshr
Install bootctrl.msm8998.so to /vendor so that it rightly stays in vendor region. Change-Id: Icd3c6200c47d183f7128fb26d4d8adf0ede1e57a
2017-05-11boot_control: Do not swap guid's for the xbl_config partitionAmeya Thakur
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
2016-09-23bootcontrol: Only compile when the A/B feature is enabledAmeya Thakur
We now only compile the HAL when the A/B feature flag is set. Change-Id: I822fe4579de86e8785dd5708e4a063311a61d060
2016-06-28bootcontrol: Reduce the number of writes in the set active slot functionAmeya Thakur
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
2016-05-03bootcontrol: Update a check in set_active_boot_slotAmeya Thakur
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
2016-05-03bootctrl: Fix implementation of get_current_slotAmeya Thakur
get_current_slot will now return the slot on which the system was booted rather than the current active slot. Change-Id: I2aa64400a45ae23796cd073fc92f5732cdd7391e
2016-04-09bootctrl: Initial commit for the boot control HALAmeya Thakur
This HAL is needed to enable recovery on devices that support A/B partitions. Change-Id: Id7600573b6da579ed90aa2a26bed2409d631039d
2016-03-22init empty fileLinux Build Service Account