- まず、Foneraの電源を切り、PCとFoneraをシリアルで接続します。
- TTSSHを起動し、COM1経由で接続します。
- Foneraの電源を入れ、すぐにCTRL+Cを押してRedBootにします。
+PHY ID is 0022:5521 Ethernet eth0: MAC address 00:18:84:1d:52:d8 IP: 192.168.1.254/255.255.255.0, Gateway: 0.0.0.0 Default server: 0.0.0.0 RedBoot(tm) bootstrap and debug environment [ROMRAM] Non-certified release, version v1.3.0 - built 16:57:58, Aug 7 2006 Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. Board: ap51 RAM: 0x80000000-0x81000000, [0x80040450-0x80fe1000] available FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each. == Executing boot script in 10.000 seconds - enter ^C to abort ^C RedBoot> ^C
- 以下のDD-WRT公式サイトから最新の「linux.bin 」をダウンロードしてPCに保存しておきます。
http://bit.ly/8orLjC (www.dd-wrt.com)
- 次はパソコン側でPoor TFTPをインストールし起動しておく。
http://bit.ly/6S2GEB (www.vector.co.jp)
- Poor TFTPを起動したら、Authorized Directory(ホームディレクトリ)を、先ほどダウンロードした「linux.bin」の場所に設定(Select)をしておく。
- 準備ができたら、La FoneraとパソコンをLANケーブルで接続し、パソコンのIPアドレスを192.168.1.1 にする。その後以下のコマンドラインを用いてIP設定をします。
RedBoot> ip_address -l 192.168.1.2/24 -h 192.168.1.1 IP: 192.168.1.2/255.255.255.0, Gateway: 0.0.0.0 Default server: 192.168.1.1
- 以下のコマンドを用いてファームウェアを書き込みます。
RedBoot> fis init About to initialize [format] FLASH image system - continue (y/n)? y *** Initialize FLASH Image System ... Erase from 0xa87e0000-0xa87f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> load -r -v -b 0x80041000 linux.bin Using default protocol (TFTP) - Raw file loaded 0x80041000-0x806a0fff, assumed entry at 0x80041000
RedBoot> fis create linux ... Erase from 0xa8030000- 0xa8690000: ...................................................................................................... ... Program from 0x80041000-0x806a1000 at 0xa8030000: ...................................................................................................... ... Erase from 0xa87e0000-0xa87f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> fconfig Run script at boot: true Boot script: .. fis load -l vmlinux.bin.l7 .. exec Enter script, terminate with empty line >> fis load -l linux >> exec >> Boot script timeout (1000ms resolution): 10 Use BOOTP for network configuration: false Gateway IP address: Local IP address: 192.168.1.254 Local IP address mask: 255.255.255.0 Default server IP address: Console baud rate: 9600 GDB connection port: 9000 Force console for special debug messages: false Network debug at boot time: false Update RedBoot non-volatile configuration - continue (y/n)? y ... Erase from 0xa87e0000-0xa87f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> reset
これでファームウェアの書き換えは終了。
あとは、PC側のIPアドレスを169.254.255.2に設定し、ブラウザーからhttp://bit.ly/5cGgpf (169.254.255.1)に接続してコンソール画面が出現すれば正常動作していることが確認できます。
| Page Info | |
|---|---|
| Page Name : | La FoneraへのDD-WRT v2.4インストール方法 |
| Page aliases : | None |
| Page owner : | Harry |
| Can Read | |
| Groups : | All visitors |
| Users : | All visitors |
| Can Edit | |
| Groups : | No one |
| Users : | No one |
Counter: 2099,
today: 1,
yesterday: 0
Princeps date: 2008-06-24 (Tue) 23:47:34
Last-modified: 2008-06-25 (Wed) 01:56:26 (JST) (1323d) by Harry


