Commit Graph
62 Commits
Author SHA1 Message Date
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 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 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 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
2007-04-20 18:20:22 +02:00