Edouard Gomez ([EMAIL PROTECTED]) wrote:
> As promised i'm working on the 330 rev4 support. I've seen some fairly
> complete patches to get this new revision working.
I meant to say, good work boys :-)
> On my side, i've already completed the new firmware extraction
> code/API. For legal reasons i'm going to remove the proprietary data1
> source. I'm also going to provide the free version in a standalone file
> that will install in ${datadir}/speedtouch/boot.v123.bin (sources
> included for the curious people).
I commited these changes to my arch/tla archive, this patch will be
commited to CVS if RFC answers are positive about it. I cannot post a
diff file because this patch renames and adds files, there is no easy
way to export such a patchset to flat diff files from arch/tla atm.
Btw here is the firmware extracter in action:
$ ./firmware_extract /usr/share/speedtouch/firmware.v123.bin
** Boot block from /usr/share/speedtouch/firmware.v123.bin:
CRC: 0xd3e33990
Length: 883
** Firmware block from /usr/share/speedtouch/firmware.v123.bin:
CRC: 0x61914198
Length: 527093
Or with a revision 4 firmware file (lacking the boot block) from
http://www.hystedjp.pwp.blueyonder.co.uk/ (i bookmarked this url during
the rev4 thread ;-):
$ ./firmware_extract 300_ZZZLP2.eni
** Boot block from 300_ZZZLP2.eni:
Not found
** Firmware block from 300_ZZZLP2.eni:
CRC: 0x0223733c
Length: 775509
The changelog entry:
2004-02-15 01:14:13 GMT Edouard Gomez <[EMAIL PROTECTED]> patch-2
Summary:
New firmware extractor API.
Revision:
speedtouch--trunk--1.2--patch-2
* Reworked the complete extracter module. It now checks for both boot
code and main firmware code. It is now possible to specify a separated
boot file code.
* Added firmware_extract rule to build a standalone firmware extracter
to test the firmware extraction utility functions.
* Droped the proprietary boot code and dumped the Ian's free version in a
separate bin/encapsulated file with its associated source.
* Updated/reworked the modem_run's man page.
Here is a log output with ian's boot code concatenated with a windows
driver file:
[modem_run] modem_run version 1.2-beta3 started by root uid 0
[modem_run] Found ALCATEL SpeedTouch USB modem
[modem_run] Best offset 0 with probability 100%
[modem_run] Best offset 875 with probability 100%
[modem_run] Firmware information (CRC:0xd3e33990, Size:883, Ian's Free Software
Boot block)
[modem_run] Best offset 883 with probability 100%
[modem_run] Best offset 527085 with probability 100%
[modem_run] Firmware information (CRC:0x61914198, Size:527093, 1.4.0 -
Win32(3.0.1800))
Note how boot blocks are now identified just as main firmware block.
new files:
src/boot.v123.S src/boot.v123.bin
modified files:
ChangeLog Makefile.in debian/dirs debian/rules
doc-linux/man/modem_run.1 src/Makefile.in src/firmware.c
src/firmware.h src/modem_run.c
renamed files:
src/extract.c
==> src/firmware.c
src/extract.h
==> src/firmware.h
--
Edouard Gomez
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]