diff options
author | pancake <pancake@dazo> | 2008-03-06 17:58:06 +0100 |
---|---|---|
committer | pancake <pancake@dazo> | 2008-03-06 17:58:06 +0100 |
commit | 83c25d7eb267f866968c7806c4afacf00fdfead5 (patch) | |
tree | 9873f0adc0142b9131cbbf0b6d1d5070a1b1823e /src/main.c | |
parent | 2ddb2923c68d023f9733fb82bb8d28140ea5b695 (diff) | |
download | 0xFFFF-83c25d7eb267f866968c7806c4afacf00fdfead5.tar.bz2 |
* 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
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -23,10 +23,6 @@ #include <stdlib.h> #include <getopt.h> -#if HAVE_SQUEUE -#include "squeue/squeue.h" -#endif - /* global pr0n */ #if HAVE_USB #include <usb.h> @@ -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)) { |