Closed MarijnS95 closed 2 years ago
Tested successfully on lena (R) \o/ Thank you for the proper fix, I'll close off my PR.
@sledges Thanks for reporting, digging to the root cause, and testing!
Also tested on Edo see: https://github.com/sonyxperiadev/device-sony-edo/pull/48
@MarijnS95 nile, ganges, seine, lena tama, edo, kumano, sagami use bootctrl
Tested on Tama. The rest I can test only tomorrow
Fixes https://github.com/sonyxperiadev/bug_tracker/issues/740
AOSP switched up the default implementation from GPT flags to the
/misc
partition in the default implementation (-impl
lib andlibboot_control.so
) for 1.1 1, which is incorrect on our Qualcomm boards. As we'd still like to switch to the 1.1 interface for FCM5 compatibility, and would like to drop the legacy libhardware module (seebootctl.<platform>
in the respective platform directories, and its implementation inhardware/qcom/bootctrl
) we'll use the updated CAF repository directly.Note that we still include AOSP's 1.1 passthrough library loader. As usual, this provides us with the right init .rc and vintf fragment, and allows starting both a 1.0 and 1.1 passthrough (
-impl
) library. It is this-impl
library that is custom to QTI and calls into their customlibboot_control_qti.so
.Tested on Sagami: rebooting to
fastboot
now shows a successful boot:And setting
bootctl set-slot-as-unbootable
appropriately prohibits boot now.TODO
bootctrl
setup from platform repos, and dropuntrack
it fromhardware/qcom/bootctrl
. I have the changes ready, will PR when there is time again.Test on all platforms
CC @sledges @thaodan