qdl
qdl copied to clipboard
how to reboot after qdl flash
wouldu pls add reboot to normal/power on funtion?
It already has reboot function, but maybe it can't works. Please try this patch, it seems work but I don't know why.
diff --git a/firehose.c b/firehose.c
index 319bac8..d9ad588 100644
--- a/firehose.c
+++ b/firehose.c
@@ -652,6 +652,7 @@ int firehose_run(struct qdl_device *qdl, const char *incdir, const char *storage
firehose_set_bootable(qdl, bootable);
firehose_reset(qdl);
+ firehose_reset(qdl);
return 0;
}