Re: Compile and install on Aztech HW550-3G

@ll@n416 wrote:

thanks but is this the one you are referring? http://wiki.openwrt.org/toh/aztech/hw550-3g

Yep

Re: Compile and install on Aztech HW550-3G

Here are the JTAG Specs for the HW550-3G incase anyone kills their bootloader.

The unit has 8 small holes on the bottom which in turn are connected to a 14-pin header inside the unit.

The pin assignments are as follows with the leds away from you and the antennas pointing towards you.

TP6 (JTAG_TCLK) | TP9 (JTAG_TMS) | TP5 (JTAG_TD0) | TP7 (JTAG_TRST_N)
TP4 (JTAG_RST#) | TP10 (3.3VDC) | TP8 (GND) | TP3 (JTAG_TD1)

The recommended tool is TRACE32 or any ICE jtag tools!

Re: Compile and install on Aztech HW550-3G

LinkZ wrote:

To flash the Aztech HW550-3G (from the default Ralink firmware) w/o a serial cable:

1. Connect to CLI (via telnet or ssh)
2. cd /tmp
3. wget [http/ftp-url-to-image-file]
4. mtd_write -r write [image-file] /dev/mtd3
5. wait for router to reboot and OpenWrt to firstboot

Note that the Ralink firmware on the Aztech HW550-3G uses "mtd_write" instead of "mtd".  Also, double check the mtd partition you are writing to (cat /proc/mtd).  You want to write to the "linux" partition (I'm pretty sure it's /dev/mtd3).

Regards,
Layne

i'm new to this and got into the router via telnet. What do it need to do to get 3

29

Re: Compile and install on Aztech HW550-3G

according to the wiki, you have to build your own image and put it on a http or ftp server. after telnet into your router and cd /tmp you need to download the firmware using wget url (where url is the http/ftp address of your firmware file on the server).

Re: Compile and install on Aztech HW550-3G

MBS wrote:

according to the wiki, you have to build your own image and put it on a http or ftp server. after telnet into your router and cd /tmp you need to download the firmware using wget url (where url is the http/ftp address of your firmware file on the server).

Don't do it.
I wrote the wiki, the only surefire way is to get serial to TTL and flash it over tftp.
If you use the mtd_write you risk bricking the bootloader, it may overwrite the bootloader.
I bricked one this way.
I will recommend you to use serial to ttl method it is guranteed to work.

31 (edited by alphasparc 2012-04-11 12:37:52)

Re: Compile and install on Aztech HW550-3G

Never mind it is my fault for poor soldering skills.
I believe I did not clean up ChipQuick throughly the first round resulting in broken joints after cooling.
This time I desoldered the chip completely, clean the contacts and IC legs up using soldering wick completely before soldering it back.
It works.
You really need to be meticulous during soldering.

Re: Compile and install on Aztech HW550-3G

I find with most devices, unless they are in RC you are probably going to want to have a serial cable handy just in case.

Either way, looking at this router it has clearly marked JTAG pins and a serial port that just screams 'hack me!!'... for my mind in this case, flashing via serial would be the preferred method over trying to use mtd.

Re: Compile and install on Aztech HW550-3G

LinkZ wrote:

To flash the Aztech HW550-3G (from the default Ralink firmware) w/o a serial cable:

1. Connect to CLI (via telnet or ssh)
2. cd /tmp
3. wget [http/ftp-url-to-image-file]
4. mtd_write -r write [image-file] /dev/mtd3
5. wait for router to reboot and OpenWrt to firstboot

Note that the Ralink firmware on the Aztech HW550-3G uses "mtd_write" instead of "mtd".  Also, double check the mtd partition you are writing to (cat /proc/mtd).  You want to write to the "linux" partition (I'm pretty sure it's /dev/mtd3).

Regards,
Layne

DO NOT USE THIS STEP!!!>> It Will Brick your Router! It should be mentioned at pageone.

I do agree with doctordbx "flashing via serial would be the preferred method over trying to use mtd."

OpenWrt
Wireless Freedom