This is for PHICOMM router to flash openwrt.
uboot.bin: I downloaded from internet. Sry, I don't remember who make it. openwrt.bin: it come from openwrt official website.
-
Make the telnetd working on router.
http://192.168.2.1/goform/Diagnosis?pingAddr=192.168.2.100|echo""|telnetd
-
copy the uboot.bin in the router. My way: telnet the router and wget the file.
-
write to bootloader
mtd_write write uboot.bin Bootloader
-
send instruction to abort breed. It works while device startup. You should get echo after step #5
bash run.sh
//If you have many ethernet, add "-s yourip" param to indicate the ip assigned by PHICOMM router. Recving "BREED:ABORTED" implies lucky if you use "ncat -v -4u -l 37540" to listen the echo. If you are using windows, I packed the ncat.exe, you have to change run.sh to windows bat.
-
reboot your device(Cannot get ip addr after reboot, try setting a static ip.)
reboot
-
Access http://192.168.1.1 to upload you openwrt.bin and flash your new firmware