Commit Graph
70 Commits
Author SHA1 Message Date
pancake c1d909c415 * Fix the dump of xloader and secondary.bin
- Looks like they protect these blocks by marking this section as badblocks.
  - We just ignore badblock marks when dumping the bootloader

* Handle feof (^D) on the prompt
2007-06-16 05:21:14 +02:00
pancake 579dbe9837 * Fix device identification for n800. patch from Robert Schuster
- Looks like n770 and n800 have different USB identifiers on the
    bootloader and the operating system.

* Print oops message and exit when the use has no permissions to
  access to the usb.
2007-06-14 23:32:52 +02:00
pancake ed3cb1d3f8 * Finally integrate libusb in Makefiles. Use 'allusb' target to build a 0xFFFF binary without library dependencies (libusb)
* Add 'static' makefile target for building a statically linked 0xFFFF

* Documentate all makefile targets in INSTALL
2007-06-12 23:43:35 +02:00
pancake ea97ac427e * Initial import of the libusb source tree into the flasher - optional, but useful for embedding - avoids gnu autosux problems 2007-06-12 15:29:07 +02:00
pancake a3af55acb4 * Initial implementation of the pretty-print config partition dumper
* Handled with the '-x' flag.
2007-06-11 02:29:11 +02:00
pancake 83b41f9371 * Initial implementation of the "badblocks" (-C) command.
* Initial work on the reorganization of the dump.c code
  to avoid spagetti code. ATM is just a draft

* Dump now shows you more info
2007-06-10 16:15:30 +02:00
pancake c46961d511 * Fix in fpid for proper JFFS2 identification
* Add new flag '-c' that makes 0xFFFF run as a shell
* Split the connect_via_usb() code from main()
* Add console handler for shell like usage of the flasher
2007-06-10 05:41:50 +02:00
pancake ec71146727 * Drop the partition limit. It is calculed with ioctl()
* Query the user to strip or not the dumped pieces
* Add new flag '-s' for serial port console
2007-06-10 00:38:55 +02:00
pancake 43d8d45919 * Initial import of the offline work of the GUI environment
- Not yet usable, it's just a sketch with glade O:)
- But you can get fun hacking on the source!

* Add deinstall target to the Makefile

* Add INSTALL file for build & install instructions

* Add documentation for local flashing.
2007-06-02 05:32:43 +02:00
pancake f299486ef9 * Covardly copy the nanddump() function from the mtd-utils to fix dump functionality
- The new function works like the old rf_extract one, no parameters has
  changed.
- Now a complete dump/restore will be possible.
- Check for badblocks while copying data
- Shows information about the partition

* Better use of query_error_message() for debugging
2007-06-02 02:23:58 +02:00
pancake 1515b7c7c1 * Fix rootfs boundaries for a proper dump.
* Replace Y/n for y/N
* Implement the command '5' (read error message)
2007-05-25 00:33:58 +02:00
pancake ed37b5ee62 * Enhacements and fixups for logotool
* Add support for RGBA raw images (New flag -a)
* Autodetect RGBA images
* Fix endianness stuff when writting the logo header
2007-05-05 03:04:52 +02:00
pancake d0f9d78335 * Move usb-dev related code to devices.c from main.c
* Create a root Makefile to build the flasher, logotool and install
* Clean some warning messages
2007-05-01 15:01:23 +02:00
pancake 3e13254858 * Initial import of the logotool utility 2007-04-30 06:26:27 +02:00
pancake 5e3de1ba06 * Argument 'help' for the -f flag provides information about the rd flags 2007-04-26 00:30:46 +02:00
pancake 5b5425e0d0 * import of the 'set-rd-flags+cleanups' patch from Robert Schuster
adds support for setting and clearing the rd flags (no-retu-watchdog,
  serial-console and the like).

  The interface to it is a bit cryptic (construct your own hex number) but
  it works like like 'chmod'.
2007-04-25 21:47:53 +02:00
pancake 60f2337927 * import of the 'set-get-query_header' from Robert Schuster
1) name the simple functions get_foo and set_foo (and make them more
  consistent e.g. set_rd_mode and get_rd_mode).

  2) moved remaining simple queries from main.c into query.c

  3) created separate query.h header and included it in main.c

  4) implemented get_usb_mode (they do not have this in the proprietary
  flasher) and added this function to a normal run (-> you will see the
  current USB mode when running with -i)
2007-04-25 21:05:03 +02:00
pancake 196f1f7abb * Do not strip the initfs.jffs2 image, it is only 2MB
* Some fixups on the doc/dumping documentation
2007-04-20 21:00:12 +02:00
pancake 300635ad8f * 'set root device' patch inclusion from Robert Schuster 2007-04-20 18:27:31 +02:00
pancake b1d0ce2848 * Initial commit of 0xFFFF.
This tree contains the same as the 0.1 tarball
0.1
2007-04-20 18:20:22 +02:00