Ciao, sono riuscito a trovare un'insperata mezz'oretta libera ed ecco cosa ho fatto:
1) via jtag ho flashato adam2 per dsl-504T scaricato dal sito di mcmcc (
http://mcmcc.bat.ru/dlinkt/)
2) quindi ho staccato la jtag e connesso il cavo ethernet, mi sono connesso via ftp e ho impartito questi comandi (anche con questo adam2, mtdx e autoload non erano definite e usb_prod era dsl-302t:
Connesso a 192.168.0.1.
220 ADAM2 FTP Server ready.
Utente (192.168.0.1:(none)): adam2
331 Password required for adam2.
Password:
230 User adam2 successfully logged in.
ftp> quote TYPE I
200 Type set to I.
ftp> quote MEDIA FLSH
200 Media set to FLSH.
ftp> quote SETENV mtd0,0x900a0000,0x903f0000
200 SETENV command successful
ftp> quote SETENV mtd1,0x90010000,0x900a0000
200 SETENV command successful
ftp> quote SETENV mtd2,0x90000000,0x90010000
200 SETENV command successful
ftp> quote SETENV mtd3,0x903f0000,0x90400000
200 SETENV command successful
ftp> quote GETENV mtd0
mtd0 0x900a0000,0x903f0000
200 GETENV command successful
ftp> quote GETENV mtd1
mtd1 0x90010000,0x900a0000
200 GETENV command successful
ftp> quote GETENV mtd2
mtd2 0x90000000,0x90010000
200 GETENV command successful
ftp> quote GETENV mtd3
mtd3 0x903f0000,0x90400000
200 GETENV command successful
ftp> quote SETENV autoload,1
200 SETENV command successful
ftp> quote GETENV autoload
autoload 1
ftp> put kernel.bin "kernel.bin mtd1"
200 Port command successful.
150 Opening BINARY mode data connection for file transfer.
226 Transfer complete.
ftp: 478555 byte inviati in 6,19secondi 77,34Kbyte/sec)
ftp> put fs.img "fs.img mtd0"
200 Port command successful.
150 Opening BINARY mode data connection for file transfer.
226 Transfer complete.
ftp: 2244616 byte inviati in 71,28secondi 31,49Kbyte/sec)
ftp> quote REBOOT
221-Thank you for using the FTP service on ADAM2.
221 Goodbye.
Connessione chiusa dall'host remoto.
ftp> bye
Questa volta pare che il firmware sia stato correttamente scritto sulla flash. Per coerenza, dato che ho preso adam2 dal sito di mcmcc, ho flashato il firmware di mcmcc precisamente:
DSL-G604T_V1.00B02T02.RU.20051210.MC03b_ADSL1
Come sempre, adam2 accessibile e mtd3 in ordine:
memsize 0x01000000
flashsize 0x00400000
modetty0 38400,n,8,1,hw
modetty1 38400,n,8,1,hw
bootserport tty0
cpufrequency 150000000
sysfrequency 125000000
bootloaderVersion 0.22.02
ProductID AR7RD
HWRevision Unknown
SerialNumber none
my_ipaddress 192.168.1.1 (l'ho cambiato da 192.168.0.1)
maca 00:0d:08:00:03:02
usb_vid 0x2001
usb_pid 0x5b00
usb_rndis_mac 00.0d.88.11.03.02
usb_board_mac 00.0d.88.22.03.02
usb_man D-Link
usb_prod DSL-G604T
usb_serial 1234567890
prompt Adam2_AR7RD
firstfreeaddress 0x9401d328
req_fullrate_freq 125000000
mtd0 0x900a0000,0x903f0000
mtd1 0x90010000,0x900a0000
mtd2 0x90000000,0x90010000
mtd3 0x903f0000,0x90400000
autoload 1
status lampeggiante ma router dormiente. Non riesco nè a pingare nè tantomeno (ovvio se non va il ping) ad accedere al router via web nè telnet su 192.168.1.1 nè su 192.168.0.1 prima che modificassi my_ipaddress (ovviamente sono nella stessa sottorete con indirizzo prima 192.168.0.99 poi 192.168.1.4).
Non so che dire...

P.S:
Marven, ho appena letto il tuo post ma adesso non ho tempo per uploadare il mio adam2 (mi dovrei registrare su megaupload e non è certo una cosa da cinque minuti). Se magari mi mandassi un messaggio privato con un tuo indirizzo e-mail sarebbe tutto più semplice ma, se ci sono problemi, userò megaupload.
Te lo manderò stasera ma tieni conto che:
1) con l'adam2 di mcmcc è andato tutto esattamente allo stesso modo quindi dubito risieda lì il problema.
2) come ti ho già detto adam2 non è quello del mio router (che inizialmente ritenevo causa dei problemi anche se ora lo penso sempre meno) ma quello preso dal G604T di un amico che ha la mia stessa flash e che, per sua fortuna, funziona molto meglio del mio...Semplicemente funziona!
