4つの方法

1.オリジナルのファームウェアを経由してインストール

注意: Sometimes the upgrade functionality of the original firmware contains some mechanism to make sure you do not inadvertently flash a wrong firmware-file. If that is the case, it will prevent you from installing OpenWrt this way.

2. ブートローダとイーサネットを使用してインストール

To facilitate exactly this, namely to allow flashing of a firmware, most if not all bootloaders contain a build-in functionality for this purpose. Some contain a TFTP-client, others a TFTP-server, others a FTP-client and some even a FTP-server. You need to know:

the preset IP address in the bootloader (this is not necessarily the same IP address the device has after it has booted the original firmware!)

Do not overwrite or alter the bootloader until explicitly instructed to do so!

NOTE: Sometimes even the bootloader prevents you from flashing a non-OEM firmware, e.g. the Inventel DV4210 (AKA Livebox)Time window: To be able to use the entire time window, the connection between host and router needs to be established quickly. To make this as quick possible, you could disable auto-negotiation of your NIC and especially disable media sensing of your OS.

Specific Howtos

3. ブートローダとシリアルポートを使用してインストール

4. JTAGからインストール

5. install a ramdisk-image into main memory

This step shows you howto upload a new ramdisk image to the device. The existing firmware on the flash remains unchanged! You require a working serial cable to do the ramdisk upload.

specifically select the RAMDISK option to make OpenWrt Buildroot create a ramdisk-image for you to upload

connect an ethernet cable between your computer and one of the LAN ports (doesn't matter which, just so long as it's not the WAN port) of the WNDR3700.

connect your serial cable to the header on the WNDR3700 and set your local terminal program (eg. minicom) to

115200 bps 8N1

no software flow control

no hardware flow control.

set your computer's ethernet port to use the IP address 192.168.0.10/24

set up a TFTP server on your local computer to respond to requests on the 192.168.0.10 interface. Make sure that the ramdisk image (openwrt-ar71xx-uImage-lzma.bin) is in the directory used by the TFTP server.

Fix the header for the ramdisk image so that it's recognized by the u-Boot firmware. Use the wndr3700.c program that was posted by *aorlinsk* on the forums here http://aorlinsk2.free.fr/openwrt/wndr3700/ and run it from the TFTP server's data directory. I've also reproduced the code here just in case:

./wndr3700 openwrt-ar71xx-uImage-lzma.bin openwrt-fixed.out

power up the board. When it gets to the message asking you to press any key to interrupt the normal bootup sequence, press a key on the serial console (or just hold down the enter key from first bootup until you get to a prompt):