Add -F option

This commit is contained in:
Nick Chan committed 2023-01-30 23:25:19 +08:00
1 parent f4facd4933
commit a696c2b50f
3 files changed
+12 -5

No files matched your search

+4 -2
View File
@@ -12,6 +12,7 @@
#include <common.h>
bool pongo_full = 0;
void* pongo_helper(void* ptr) {
pongo_thr_running = 1;
@@ -51,9 +52,10 @@ void *pongo_usb_callback(void *arg) {
upload_pongo_file(handle, **overlay_to_upload, binpack_dmg_len);
issue_pongo_command(handle, "overlay");
issue_pongo_command(handle, xargs_cmd);
issue_pongo_command(handle, "kpf");
issue_pongo_command(handle, "bootux");
if (pongo_full) goto done;
issue_pongo_command(handle, "bootx");
LOG(LOG_INFO, "Booting Kernel...");
done:
set_spin(0);
return NULL;
}