mirror of
https://github.com/linux-msm/qbootctl.git
synced 2026-02-25 13:13:44 -08:00
cleanup, still doesn't seem to work
getting attributes work, setting them (e.g. with mark_boot_successful) doesn't seem to work properly. The IOCTL required to set the boot LUN doesn't work, some kernel driver is missing for it.
This commit is contained in:
@@ -87,6 +87,9 @@ int main (int argc, char * argv []) {
|
||||
printf("======= Current slot: %d\n", bootctl->getCurrentSlot());
|
||||
printf("======= isslotbootable: a = %d, b = %d\n", bootctl->isSlotBootable(0),
|
||||
bootctl->isSlotBootable(1));
|
||||
printf("======= markBootSuccessful\n", bootctl->markBootSuccessful());
|
||||
printf("======= isSlotMarkedSuccessful: a = %d, b = %d\n", bootctl->isSlotMarkedSuccessful(0),
|
||||
bootctl->isSlotMarkedSuccessful(1));
|
||||
// printf("\n\n\n trying to switch to slot b: %d\n",
|
||||
// bootctl->setActiveBootSlot(1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user