| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Do not continue in case of an error setting active slot for all
partitions. Otherwise, boot LUN will be changed causing XBL to be read
from the new slot but other parts of the bootloader will be read from
old slot. This may cause the bootloader to crash and device will be
bricked
Bug: 77969086
Test: bootctl set-active-boot-slot 0
Change-Id: Ief029f314d3b1197e43b6e85ac78aba9761cf736
Signed-off-by: Fernando Lugo <flugo@google.com>
|
| |\
| |
| |
| |
| |
| | |
am: 23ab93d117
Change-Id: I14e798f7aa75f7fcdd987d454049abbdb5629ce5
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently slots are miscounted on marlin because the count includes
both the bootlocker and boot partitions for each slot. Modify the
name used to find boot partitions to avoid this double counting. Add a
check to catch changes to slot suffixes that would break slot counting.
Bug: 68012387
Test: bootctl get-number-slots returns 2 on marlin
Change-Id: I5480273cf6de07fac2f47e4f8e249e2d547b686e
Signed-off-by: Connor O'Brien <connoro@google.com>
|
| |/
|
|
|
|
|
|
|
| |
Replace the global include path with header libs. Change cutils/log.h to
log/log.h.
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j bootctrl.msm8998
Change-Id: I55e48ad5856310d60b5093a3f47f479b865082c9
|
|
|
We now write the 'gpt_disk' structure back to storage only once per each
physical disk.
Also did a minor cleanup of the code.
Bug: 28352938
Bug: 29436641
Change-Id: Id4fd887fe2978f9cd17447e9a1b715f0a8df5073
|