From 83c25d7eb267f866968c7806c4afacf00fdfead5 Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 6 Mar 2008 17:58:06 +0100 Subject: * Initial working version of the flash gui - Renamed to goxf - Needs 'sudo' to be enabled to the user without password - Identify and ban piece files while including them in the list - Support for flashing multiple piece files - progressbar and warn/error messages handled - Supports reboot mobo command * Make qmode be functional * Lot of hardcore fixups on squeue_open - Should work now everywhere fine asumid UID 1000 as allowed user - Reduce timeouts - Add push2 method --- src/main.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index a4e8cf9..fe23392 100644 --- a/src/main.c +++ b/src/main.c @@ -23,10 +23,6 @@ #include #include -#if HAVE_SQUEUE -#include "squeue/squeue.h" -#endif - /* global pr0n */ #if HAVE_USB #include @@ -47,18 +43,6 @@ int unpack = 0; int qmode = 0; int info = 0; -/* global structs */ -char *pieces[] = { - "xloader", // xloader.bin - "2nd", // 2nd - "secondary", // secondary.bin - "kernel", // zImage - "initfs", // jffs'd initfs - "rootfs", // 80mB of blob - "omap-nand", // 8kB of food for the nand - NULL -}; - char *modes[]={ "host", "peripheral", @@ -331,7 +315,7 @@ int main(int argc, char **argv) && (rd_flags == -1) && (rd_mode == -1) && (info == 0) - && (moboreboot == 0) + && (moboreboot == 0) && (usb_mode == -1) && (root_device == -1)) { -- cgit v1.2.3