[speedtouch] Re: [RFC] 330 rev4 support

2004-02-21 Thread Duncan Sands

 - if Thomson distribute 1 tar.gz with 4 files inside and allow
 redistribution of firmware packages for use with it proper hardware. In
 this case if we can indicate the directory where all the firmware are,
 modem_run should be capable to select the proper 1.eni and the proper 2.eni
 files by revision identification of the modem (if the names would not
 change / if they may change/expand to a new model, put the names in a
 speedtouchusb.conf). This manner, user will no more worry about firmwares
 and firmwares package could be coupled with driver.

Hi Gilles, shouldn't modem_run be as simple (and stupid) as possible?
I would rather see a simple modem run that takes the firmware files
as command line arguments, and a complicated installation script that
sets up the files in the right places and passes modem_run the right
arguments...

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: [RFC] 330 rev4 support

2004-02-15 Thread Edouard Gomez

Gilles Espinasse ([EMAIL PROTECTED]) wrote:
 the bootblock + main firmware discusion

Well, the change doesn't make it very different from old versions. Users
are just  required to find another  file, and specify it  on the command
line.   I  know  it's  already  troublesome to  obtain  the  mgmt.o/main
firmware  part so  having to  fetch the  boot block  will just  add more
complexity on users' side.

As  for the  firmware  type  detection, i  can  identify rev4  firmwares
because  they  use  a  different  base address  (0x0010  instead  of
0x4000), but  the boot block uses  the same address  (0x00). So it's
hard to tel if a boot block file is for rev 1 2 3 or 4 (though rev 1 2 3
have been constant through the years, always 991 Bytes and same CRC, but
i don't know if the new bootblock will be as constant as the old one)

Of course if we were allowed to distribute these bootblocks, a simple
revision check would allow us to use the right one.
 - $(datadir)/speedtouch/boot.v123.bin for rev 1 2 3
 - $(datadir)/speedtouch/boot.v4.bin for rev 1 2 3

It would be as simple as simple as before.

Moreover, if  thomson decides to use  the new firmware  file format, the
user will have to deal with  only one file, like for old windows drivers
which shipped both boot + main in alcaudsl.sys.

The new format is just a small  (header + boot + main). The header tells
the revision  (of the firmware or  to what modem revision  it applies ?)
the offsets to boot and main  parts. But as i told, thomson doesn't know
if it will use this format yet.

 other little change requests
 - make less than 10 firmware loading attempts 5 is it not enough ?

10  is arbitrary iirc,  and it's  now a  long time  since we  didn't got
reports related  to firmware  loading. So please  speak loud  if someone
really needs 10. (i can turn  this into a command line option to staisfy
everyone)

 - update usage  on modem_run (mark -m option deprecated  and put -t in
 the example)

In the  announced patchset, -m  was already disabled (left  for backward
compatibility, but it does nothing, nor appears in man/help)

So this item is marked DONE.

 - update comment on modem_run.c head (do not use anymore libusb, no ?)

DONE too :-) while reverting modem_run dessign to 1.1 design.

I'll have more news this afternoon/evening.

-- 
Edouard Gomez

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: [RFC] 330 rev4 support

2004-02-15 Thread Martin Galpin

On Sunday 15 February 2004 12:50 am, Edouard Gomez wrote:
 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).


Out of interest, how was the free version created?

-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html 
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]