2009/2/10 paolo del bene <pdb.free.softw...@gmail.com>

> lo compri su internet o te lo fai con saldatore alla mano, stagno,
> circuito, e componenti vari  come già ti dicevo io, ora guardati:
>
>>
>>>>
>>>> http://wiki.openwrt.org/OpenWrtDocs/Hardware/D-Link/DSL-502T?highlight=%28OpenWrtDocs/Hardware%29
>>>> 1.6. How to Debrick
>>>>
>>>> You can generally use the methods on D-Link's site, or just change your
>>>> mtd0/1/4 variables back to defaults and upload the dlink firmware.
>>>>
>>>> But if you've accidentally destroyed your mtd2 adam2 bootloader or mtd3
>>>> config file you will need a JTAG cable.
>>>>
>>>> Also see this (old) thread for more details - it may be out of date:
>>>> http://forum.openwrt.org/viewtopic.php?id=7742
>>>>
>>>> 1.6.0.1. How to make a JTAG cable
>>>>
>>>> I grabbed one from ebay but you can make your own with 4/5 resistors,
>>>> pin schematics are here:
>>>>
>>>> http://wiki.openwrt.org/AR7Port
>>>> http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/JTAG_Cable
>>>>
>>>> The cable I purchased from Ebay was for the WRT54G, it had a 12 pin
>>>> header, whereas my router had an already soldered 14 pin header, the WRT54G
>>>> uses EJTAG 2.0 and the AR7 uses EJTAG 2.6, to make the JTAG cable work I
>>>> simple connected pin 1 TRST with pin 8 VCC/VIO/VRED via a 100 ohm resistor
>>>> (I didn't bother soldering it on) and then placed the 12 pin JTAG on top
>>>> squashing it into place, bending back the extra 2 pins.
>>>>
>>>> My pins are numbered as so:
>>>> 1 (TRST) - 14
>>>> 2 - 13
>>>> 3 - 12
>>>> 4 - 11
>>>> 5 - 10
>>>> 6 - 9
>>>> 7 - 8 (VIO/VCCC/VREF)
>>>>
>>>> 1.6.1. Bios settings
>>>>
>>>> My BIOS settings for my printer port were: ECP+EPP, 0x378.
>>>>
>>>> 1.6.2. Using the Debrick utility to restore the bootloader and config
>>>>
>>>> Once you do this you can use 
>>>> HairyDairyMaids<http://wiki.openwrt.org/HairyDairyMaids>debrick utility 
>>>> 4.8. Get it here:
>>>> http://downloads.openwrt.org/utils/
>>>>
>>>> Under Windows: load giveio.sys by running loaddrv.exe and adding
>>>> 'giveio.sys' to the end of the line and clicking install+start.
>>>>
>>>> Under Linux (Ubuntu): Get the build essentials package, compile the
>>>> binary using 'make' from the folder you extracted the files to, then you
>>>> need to do this to read the parallel port: rmmod lp, modprobe parport, 
>>>> mknod
>>>> /dev/parport0 c 99 0
>>>>
>>>> You can now do ./wrt54g -probeonly to test if the unit can be detected
>>>>
>>>> Grab Olegs Adam2 bootloader: http://star.oai.pp.ru/jtag/adam2-oleg.zip
>>>>
>>>> rename the adam2 file to CUSTOM.BIN then do:
>>>>
>>>> ./wrt54g -flash:custom /noerase /nobreak /nodma /window:0x90000000
>>>> /start:0x90000000 /length:0x10000 /nocwd
>>>>
>>>> Grab mtd3 config http://mcmcc.bat.ru/dlinkt/restore_mtd3_50xT.rar
>>>>
>>>> rename this to CUSTOM.BIN then do:
>>>>
>>>> ./wrt54g -flash:custom /noerase /nobreak /nodma /window:0x903f0000
>>>> /start:0x903f0000 /length:0x10000 /nocwd
>>>>
>>>> You may not have to do /noerase /nobreak or /nocwd but /nodma is
>>>> required
>>>>
>>>> Once this is done, set you lan IP as 10.8.8.1 subnet 255.0.0.0 (on Linux
>>>> u need to do ifconfig eth0 10.8.8.1 to set your IP) and then reboot the
>>>> router, ftp into 10.8.8.8 21 using the command prompt FTP (not anything
>>>> else) and you will see an adam2 prompt (gratz!).
>>>>
>>>> ping 10.8.8.8 to see if adam2 is working
>>>>
>>>> 1.6.3. Uploading the original firmware
>>>>
>>>> Now that ADAM2 is working, you can use adam2flash-502T.pl to install
>>>> firmware of your choice, including the original D-Link firmware. See above.
>>>>
>>>> 1.7. Acknowlegements
>>>>
>>>> (Moved from the top)
>>>>
>>>> Thanks Strider for starting the page off for me.
>>>>
>>>> Thank you nbd and all the OpenWRT developers for making this work-Z3r0
>>>> (not the z3r0 on IRC)
>>>>
>>>> Thank you Mr Chandler for fixing some of the formatting.
>>>> Note, as of 17th May '07 I am no longer maintaining this page as I no
>>>> longer have a DSL-502T, if you would like to update this page please feel
>>>> free to. (Z3r0)
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Rispondere a