1
Jtag su fritz box fon wlan il Ven Giu 26, 2009 8:29 pm
Naf
Admin

Ringrazio Mas per avermi dato la possibilità di testare la jtag sul suo Fritz!box fon wlan. 2 giorni fa ho ricevuto il fritz per ed ho provato tutte le procedura che conosco, sperimentato anche altre senza successo e l'ultima spiaggia è proprio quella della jtag, fortunatamente ieri notte si era liberata la sala operatoria ed ho messo il fritz sotto intervento. Attenzione: per prima cosa dobbiamo sapere la mappatura dei mtd.bin ed in questo caso sono questi:
Andiamo avanti... Con questo andiamo a caricare mtd4.bin rinominato in custom.bin usando la flash /fc:31 che è l'unica che mi ha agevolato il lavoro.
qui il risultato:
Poi ho flashato mtd3.bin sempre rinominato in custom.bin con questo: (da notare la mappatura di ogni partizione)
Risultato:
Infine con questo ho caricato mtd2.bin anche se non era necessario perché facendo prima il backup, ho costatato che era integro ma volutamente ho cancellato tutto per far un lavoro più pulito:
il risultato:
C:\Documents and Settings\Naf>
A questo punto non resta che togliere tutta la jtag e flashare il fritz con il recovery perché il trasferimento di firmware da 3MB con la jtag può durare molto più di 15 ore.
Il firitz finalmente è tornato a disposizione di Massinge per sottoporsi un altra volta allo stress.

ps: la saldatura fatta sulla piastra è quella di feadispace per il 7050.
Naf
- Codice:
'mtd0' 0x900C0000,0x903C0000
'mtd1' 0x90010000,0x900C0000
'mtd2' 0x90000000,0x90010000
'mtd3' 0x903C0000,0x903E0000
'mtd4' 0x903E0000,0x90400000
Andiamo avanti... Con questo andiamo a caricare mtd4.bin rinominato in custom.bin usando la flash /fc:31 che è l'unica che mi ha agevolato il lavoro.
- Codice:
wrt54g.exe -flash:custom /silent /window:90000000 /start:903E0000 length:20000 /fc:31
qui il risultato:
- Codice:
====================================
WRT54G/GS EJTAG Debrick Utility v4.8
====================================
Probing bus ... Done
Instruction Length set to 5
CPU Chip ID: 00000000000000000001000000001111 (0000100F)
*** Found a TI AR7WRD TNETD7300GDU Rev 1 CPU chip ***
- EJTAG IMPCODE ....... : 01000001010000000100000000000000 (41404000)
- EJTAG Version ....... : 2.6
- EJTAG DMA Support ... : No
Issuing Processor / Peripheral Reset ... Done
Enabling Memory Writes ... Skipped
Halting Processor ... ... Done
Clearing Watchdog ... Done
Manual Flash Selection ... Done
Flash Vendor ID: 00000000000000000000000011000010 (000000C2)
Flash Device ID: 00000000000000000000000010100111 (000000A7)
*** Manually Selected a MX29LV320T 2Mx16 TopB (4MB) Flash Chip ***
- Flash Chip Window Start .... : 903e0000
- Flash Chip Window Length ... : 00400000
- Selected Area Start ........ : 90400000
- Selected Area Length ....... : 00010000
*** You Selected to Flash the CUSTOM.BIN ***
=========================
Flashing Routine Started
=========================
Total Blocks to Erase: 1
Erasing block: 3 (addr = 90400000)...Done
Loading CUSTOM.BIN to Flash Memory...
Done (CUSTOM.BIN loaded into Flash Memory OK)
=========================
Flashing Routine Complete
=========================
elapsed time: 230 seconds
*** REQUESTED OPERATION IS COMPLETE ***
Poi ho flashato mtd3.bin sempre rinominato in custom.bin con questo: (da notare la mappatura di ogni partizione)
- Codice:
wrt54g.exe -flash:custom /silent /window:90000000 /start:903C0000 /length:20000 /fc:31
Risultato:
- Codice:
====================================
WRT54G/GS EJTAG Debrick Utility v4.8
====================================
Probing bus ... Power up now...
Done
Instruction Length set to 5
CPU Chip ID: 00000000000000000001000000001111 (0000100F)
*** Found a TI AR7WRD TNETD7300* Rev 1 CPU chip ***
reading IMPCODE register... 00000000000000000000000000000000 (00000000)
reading IMPCODE register... 01000001010000000100000000000000 (41404000)
reading IMPCODE register... 01000001010000000100000000000000 (41404000)
reading IMPCODE register... 01000001010000000100000000000000 (41404000)
reading IMPCODE register... 01000001010000000100000000000000 (41404000)
reading IMPCODE register... 01000001010000000100000000000000 (41404000)
reading IMPCODE register... 01000001010000000100000000000000 (41404000)
reading IMPCODE register... 01000001010000000100000000000000 (41404000)
reading IMPCODE register... 01000001010000000100000000000000 (41404000)
reading IMPCODE register... 01000001010000000100000000000000 (41404000)
- EJTAG IMPCODE ....... : 01000001010000000100000000000000 (41404000)
- EJTAG Version ....... : 2.6
- EJTAG DMA Support ... : No
Issuing Processor / Peripheral Reset ... Done
Enabling Memory Writes ... Skipped
Halting Processor ... ... Done
Clearing Watchdog ... Done
Manual Flash Selection ... Done
Flash Vendor ID: 00000000000000000000000011000010 (000000C2)
Flash Device ID: 00000000000000000010001001111110 (0000227E)
*** Manually Selected a MX29LV640B 4Mx16 TopB (8MB) Flash Chip ***
- Flash Chip Window Start .... : 903c0000
- Flash Chip Window Length ... : 00800000
- Selected Area Start ........ : 903e0000
- Selected Area Length ....... : 00010000
*** You Selected to Flash the CUSTOM.BIN ***
=========================
Flashing Routine Started
=========================
Total Blocks to Erase: 1
Erasing block: 3 (addr = 903e0000)...Done
Loading CUSTOM.BIN to Flash Memory...
Done (CUSTOM.BIN loaded into Flash Memory OK)
=========================
Flashing Routine Complete
=========================
elapsed time: 42 seconds
*** REQUESTED OPERATION IS COMPLETE ***
Infine con questo ho caricato mtd2.bin anche se non era necessario perché facendo prima il backup, ho costatato che era integro ma volutamente ho cancellato tutto per far un lavoro più pulito:
- Codice:
wrt54g.exe -flash:custom /silent /window:90000000/start:90000000 /length:10000 /fc:31
il risultato:
- Codice:
====================================
WRT54G/GS EJTAG Debrick Utility v4.8
====================================
Probing bus ... Done
Instruction Length set to 5
CPU Chip ID: 00000000000000000001000000001111 (0000100F)
*** Found a TI AR7WRD TNETD7300GDU Rev 1 CPU chip ***
- EJTAG IMPCODE ....... : 01000001010000000100000000000000 (41404000)
- EJTAG Version ....... : 2.6
- EJTAG DMA Support ... : No
Issuing Processor / Peripheral Reset ... Done
Enabling Memory Writes ... Skipped
Halting Processor ... ... Done
Clearing Watchdog ... Done
Manual Flash Selection ... Done
Flash Vendor ID: 00000000000000000000000011000010 (000000C2)
Flash Device ID: 00000000000000000000000010100111 (000000A7)
*** Manually Selected a MX29LV320T 2Mx16 TopB (4MB) Flash Chip ***
- Flash Chip Window Start .... : 90000000
- Flash Chip Window Length ... : 00400000
- Selected Area Start ........ : 90000000
- Selected Area Length ....... : 00020000
*** You Selected to Flash the CUSTOM.BIN ***
=========================
Flashing Routine Started
=========================
Total Blocks to Erase: 2
Erasing block: 1 (addr = 90000000)...Done
Erasing block: 2 (addr = 90010000)...Done
Loading CUSTOM.BIN to Flash Memory...
Done (CUSTOM.BIN loaded into Flash Memory OK)
=========================
Flashing Routine Complete
=========================
elapsed time: 1123 seconds
*** REQUESTED OPERATION IS COMPLETE ***
C:\Documents and Settings\Naf>
A questo punto non resta che togliere tutta la jtag e flashare il fritz con il recovery perché il trasferimento di firmware da 3MB con la jtag può durare molto più di 15 ore.
Il firitz finalmente è tornato a disposizione di Massinge per sottoporsi un altra volta allo stress.
ps: la saldatura fatta sulla piastra è quella di feadispace per il 7050.
Naf
Ultima modifica di Naf il Mar Gen 05, 2010 6:48 pm, modificato 1 volta
_________________
Archlinux
Fritz!Box Fon WLAN 7113 AnnexA
Fritz!Fon 7150 WLAN fw 38.04.71-Ita
Dect Siemens Gigaset AL140
Nslu2 Debianizzato con USB da 64 GB Transmission & Mldonkey a bordo

Donazioni
