U README
U doc/usage
U src/devices.c
C doc/faq
C doc/pieces
C src/dump.c
C src/console.c

--
5a54a517: user: [EMAIL PROTECTED] date: 20070625-15:14:14
* Update documentation for the 0.2 release

 b044105d/[EMAIL PROTECTED] 20070420-16:19:53 COPYING
 a9e63fda/[EMAIL PROTECTED] 20070625-15:13:58 README
 44420e66/[EMAIL PROTECTED] 20070611-00:51:44 doc/dumping
 f965040b/[EMAIL PROTECTED] 20070618-02:18:46 doc/faq
 5998ed43/[EMAIL PROTECTED] 20070420-16:19:53 doc/nokia-tips
 2b663445/[EMAIL PROTECTED] 20070618-02:11:59 doc/pieces
 c5b3d0e6/[EMAIL PROTECTED] 20070625-15:13:59 doc/usage
 bf29490e/[EMAIL PROTECTED] 20070616-05:58:16 src/dump.c
 b39a6937/[EMAIL PROTECTED] 20070420-16:20:10 src/fiasco.c
 0add3900/[EMAIL PROTECTED] 20070602-02:53:57 src/flash.c
 e4c79d30/[EMAIL PROTECTED] 20070610-05:41:38 src/fpid.c
 6c476004/[EMAIL PROTECTED] 20070420-16:20:10 src/hash.c
 729b3e0c/[EMAIL PROTECTED] 20070420-16:20:10 src/hexdump.c
 61cecf6e/[EMAIL PROTECTED] 20070615-00:21:30 src/main.c
 8370b75b/[EMAIL PROTECTED] 20070420-16:20:10 src/pieces.c
 153b8708/[EMAIL PROTECTED] 20070425-21:47:51 src/query.c
 97a9c2fe/[EMAIL PROTECTED] 20070420-16:20:10 src/utils.c
 79af8bda/[EMAIL PROTECTED] 20070612-23:47:32 src/Makefile
 c7becf66/[EMAIL PROTECTED] 20070420-16:20:10 src/hash.h
 c1c0e7d9/[EMAIL PROTECTED] 20070420-16:20:10 src/hexdump.h
 5a1380be/[EMAIL PROTECTED] 20070614-23:32:50 src/main.h
 b6be1e5e/[EMAIL PROTECTED] 20070521-01:20:54 gui/DESCR
 3f360e63/[EMAIL PROTECTED] 20070425-21:47:09 src/query.h
 427e245d/[EMAIL PROTECTED] 20070430-06:25:42 logotool/Makefile
 ababdd6d/[EMAIL PROTECTED] 20070505-03:07:10 logotool/logotool.c
 b2d6ab43/[EMAIL PROTECTED] 20070505-03:04:40 logotool/compress.c
 b584ff82/[EMAIL PROTECTED] 20070430-06:25:42 logotool/uncompress.c
 cc19528c/[EMAIL PROTECTED] 20070430-06:28:48 logotool/rgb2yuv.c
 d8387cf8/[EMAIL PROTECTED] 20070430-06:24:57 logotool/README
 7c4e3079/[EMAIL PROTECTED] 20070625-15:13:59 src/devices.c
 f71aa121/[EMAIL PROTECTED] 20070613-00:21:34 Makefile
 6f11e1fe/[EMAIL PROTECTED] 20070602-02:23:21 src/mtd/ftl-user.h
 b04b2767/[EMAIL PROTECTED] 20070602-02:23:21 src/mtd/inftl-user.h
 613d536f/[EMAIL PROTECTED] 20070602-02:23:21 src/mtd/jffs2-user.h
 82b37ee0/[EMAIL PROTECTED] 20070602-02:23:21 src/mtd/mtd-abi.h
 44ba97f4/[EMAIL PROTECTED] 20070602-02:23:21 src/mtd/mtd-user.h
 d12baf3c/[EMAIL PROTECTED] 20070602-02:23:21 src/mtd/nftl-user.h
 e24ec460/[EMAIL PROTECTED] 20070602-05:20:49 doc/local-flash
 f895f525/[EMAIL PROTECTED] 20070602-05:32:13 gui/Makefile
 60b05903/[EMAIL PROTECTED] 20070602-05:32:13 gui/main.c
 8bc8b46e/[EMAIL PROTECTED] 20070602-05:32:13 gui/g0xFFFF.glade
 2dc4295d/[EMAIL PROTECTED] 20070613-00:22:18 INSTALL
 1a527879/[EMAIL PROTECTED] 20070610-00:37:47 src/serial.c
 a5dca5b2/[EMAIL PROTECTED] 20070618-01:18:29 src/console.c
 e7babd68/[EMAIL PROTECTED] 20070612-23:43:33 libusb/Makefile
 f709cf89/[EMAIL PROTECTED] 20070612-15:28:56 libusb/bsd.c
 46d175e9/[EMAIL PROTECTED] 20070612-15:28:56 libusb/config.h
 ee37c8d2/[EMAIL PROTECTED] 20070612-15:28:56 libusb/darwin.c
 ed957ffd/[EMAIL PROTECTED] 20070612-15:28:56 libusb/descriptors.c
 f811777d/[EMAIL PROTECTED] 20070612-15:28:56 libusb/error.c
 3dd9b0f8/[EMAIL PROTECTED] 20070612-15:28:56 libusb/error.h
 91ecbb1d/[EMAIL PROTECTED] 20070612-15:28:56 libusb/linux.c
 5e416ca2/[EMAIL PROTECTED] 20070612-15:28:56 libusb/linux.h
 316ce191/[EMAIL PROTECTED] 20070612-15:28:56 libusb/usb.c
 09d2bc05/[EMAIL PROTECTED] 20070612-15:28:56 libusb/usb.h
 96b80d48/[EMAIL PROTECTED] 20070612-15:28:56 libusb/usbi.h
 d7d14d13/[EMAIL PROTECTED] 20070612-15:28:56 libusb/usbpp.h
--- .pvc//leaf/a9e63fda/[EMAIL PROTECTED]       2007-06-13 00:01:44.000000000 
+0200
+++ .pvc/leaf/a9e63fda/[EMAIL PROTECTED]        2007-06-25 15:13:58.000000000 
+0200
@@ -1,6 +1,5 @@


-
    ------.    ,---------.--.--.
/ | ___ | | | \\------------ -- . | .__ / \/ . ____/ _/ _/ The 0pen
@@ -11,19 +10,23 @@
               _/ ___|_.|__|
                '`

-The 'Free Fiasco Firmware Flasher' aka 0xFFFF utility tries to implement
-a free (GPL'd) userspace handler for the NOLO bootloader.
+The 'Free Fiasco Firmware Flasher' aka 0xFFFF utility implements a free
+(under the GPLv3 license) userspace handler for the NOLO bootloader and
+extended features for flashing, dumping and getting information for the
+Nokia Internet Tablets.

Use it with CARE. This is an experimental tool and it can brick your device.
It's not suposed to be stable, so nokia will probably release incompatible
bootloaders to break this tool. USE IT AT YOUR OWN RISK.

-This tool has been designed and tested on n770. The n800 flash should work
-but it's not tested and is known to use different request codes.
-
PLEASE. Read carefully all the documentation inside doc/* for more information
before building or using the flasher to avoid questions, problems or so.

+Feel free to join to the mailing list and visit the homepage for more info:
+
+  0xffff@lists.nopcode.org
+  http://www.nopcode.org/0xFFFF
+

Have phun!

--- .pvc//leaf/c5b3d0e6/[EMAIL PROTECTED]       2007-04-20 18:19:54.000000000 
+0200
+++ .pvc/leaf/c5b3d0e6/[EMAIL PROTECTED]        2007-06-25 15:13:58.000000000 
+0200
@@ -8,27 +8,38 @@
  - reboot de mother board
  - extract the current firmware pieces from the device (dump)
  - set the USB host/slave mode
-  - set the R&R mode
+  - fine grained R&D flags support
  - identify firmware pieces
+  - dump mtd partitions (embedded mtd-utils source code)
+  - reconstruct initfs from a dump
+  - dump config partition
+  - automatic piece identifier
+  - console mode (shell like)
  </pre>
This is the help message of the tool:
<pre>
<b>~$ 0xFFFF -h</b>
-0xFFFF v0.1  - The Open Free Fiasco Firmware Flasher
- -b [arg]      boots the kernel with arguments
- -e [path]     dump the firmware pieces into the path
- -p [[p:]file] piece-of-firmware : file-where-this-piece-is
- -r [0|1]      disable/enable R&D mode
- -u [fiasco]   unpack target fiasco image
- -U [0|1]      disable/enable the usb host mode
- -h            show this help message
- -i            show device information (let standby mode)
- -I [piece]    identify a firmware piece
- -l            list supported usb device ids
- -d [vid:pid]  injects a usb device into the supported list
- -R            reboot the omap board
- -v            be verbose and noisy
- -V            show 0xFFFF version information
+0xFFFF v0.2  // The Free Fiasco Firmware Flasher
+ -b [arg]       boots the kernel with arguments
+ -e [path]      dump and extract pieces to path
+ -r [0|1]       disable/enable R&D mode
+ -f <flags>     set the given RD flags (see '-f help')
+ -p [[p%]file]  piece-of-firmware % file-where-this-piece-is
+ -u [fiasco]    unpack target fiasco image
+ -U [0|1]       disable/enable the usb host mode
+ -s [serial]    serial port console (minicom like terminal)
+ -C [/dev/mtd]  check bad blocks on mtd
+ -c             console prompt mode
+ -h             show this help message
+ -i             show device information (let standby mode)
+ -I [piece]     identify a firmware piece
+ -l             list supported usb device ids
+ -d [vid:pid]   injects a usb device into the supported list
+ -D [0|1|2]     sets the root device to flash (0), mmc (1) or usb (2)
+ -R             reboot the omap board
+ -x             extract configuration entries from /dev/mtd1
+ -v             be verbose and noisy
+ -V             show 0xFFFF version information
Pieces are: xloader secondary kernel initfs rootfs omap-nand </pre>

--- .pvc//leaf/7c4e3079/[EMAIL PROTECTED]       2007-06-18 01:18:18.000000000 
+0200
+++ .pvc/leaf/7c4e3079/[EMAIL PROTECTED]        2007-06-25 15:13:59.000000000 
+0200
@@ -23,6 +23,18 @@
#include <string.h>
#include <stdlib.h>

+/*
+ * The internet tablet PC (and probably most of
+ * Nokia devices have different USB-IDs depending
+ * on the boot state.
+ *
+ * The following table shows this info:
+ *
+ *           boot       os
+ * n770   0421:0105  0421:0431
+ * n800              0421:0431
+ *
+ */
struct devices supported_devices[SUPPORTED_DEVICES] = {
  { "FFFF", 0x000, 0x0000, 0x0000 },  // dummy
  { "unkn", 0x421, 0x3f00, 0x0000 },  // probably a development board
@@ -53,6 +65,10 @@
        return 0;
}

+/*
+ * List all supported device-ids and it's names
+ *
+ */
void list_valid_devices()
{
        int i;
@@ -62,6 +78,12 @@
                printf("%04x:%04x  %s\n", ptr.vendor_id, ptr.product_id, 
ptr.name);
}

+/*
+ * Returns true (1) when a valid usb device is found and stores the udd and 
devices
+ *   structures for the specified device.
+ * Otherwise returns false (0)
+ */
+
int usb_device_found(struct usb_device_descriptor *udd, struct devices 
*it_device)
{
        struct usb_bus *bus;
_______________________________________________
0xffff mailing list
0xffff@lists.nopcode.org
https://lists.nopcode.org/mailman/listinfo/0xffff

Reply via email to