Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to reboot after qdl flash #35

Open
onlinesen opened this issue Dec 1, 2022 · 1 comment
Open

how to reboot after qdl flash #35

onlinesen opened this issue Dec 1, 2022 · 1 comment

Comments

@onlinesen
Copy link

wouldu pls add reboot to normal/power on funtion?

@guoshouwang
Copy link

guoshouwang commented Feb 14, 2023

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;
 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants