GW3.5MX2-SLAN/CBでNetBSD (と表示)
2008/02/07(木) 24:41 NetBSD はてブ情報 はてブに登録 はてブ数

まず、小さな一歩。
                           Boot Menu
====================================================================
1: Start the Kernel Code
2: List Image
3: Delete Image
4: Create New Image
5: Set IP adderss
6: Setting MAC address

X:Upgrade Boot    Y:Upgrade Kernel

=> Select: Y

1: Download by X-modem
2: Download by TFTP
2
TFTP Server IP Address: 192.168.2.1
Image Path and name(EX. /images/zImage): netbsd.bin
Waiting to receive file  ....
/
Raw file loaded 0x01000000-0x0118b133, assumed entry at 0x01000000
文字化け
Do not power-off this device while flash programming is proceeding!!
Are you sure to program Kernel code (Y/N) ? Y
Erase flash ...
... Erase from 0x70020000-0x701ab134: .........................
OK!
... Program from 0x01000000-0x0118b134 at 0x70020000: .........................
OK!
Update FIS ...
... Erase from 0x707f0000-0x70800000: .
... Program from 0x00400000-0x00410000 at 0x707f0000: .
OK!
Upgrade Kernel code successfully!
文字化け
Start Copy 1618228 bytes from 0x70020000 to 0x1600000
文字化け
Start Copy 2097152 bytes from 0x701a0000 to 0x800000
文字化け
Go
NetBSD
最後の6文字に注目してもらえればわかるとおり、アドレス0x22000000に直接文字コードを送り込むとシリアルに文字が表示されるってことがわかりました。

この技はArmadillo9の時にhamajimaさんから教わった (パクッた) ものだったりします。

名前:  非公開コメント   

  • TB-URL  http://www.tokuda.net/diary/0499/tb/

GW3.5MX2-SLAN/CBのflashを更新する
2008/02/07(木) 24:32 NetBSD はてブ情報 はてブに登録 はてブ数

吸い出したイメージをTFTPで食わせるのをやってみました。

ポイントとしてはNAS側のIPアドレスが192.168.2.71としてTFTPしにくるので、それにあわせて192.168.2.1なTFTPサーバを立ててやりました。
                           Boot Menu
====================================================================
1: Start the Kernel Code
2: List Image
3: Delete Image
4: Create New Image
5: Set IP adderss
6: Setting MAC address

X:Upgrade Boot    Y:Upgrade Kernel

=> Select: Y

1: Download by X-modem
2: Download by TFTP
2
TFTP Server IP Address: 192.168.2.1
Image Path and name(EX. /images/zImage): kernel.img
Waiting to receive file  ....
-
Raw file loaded 0x01000000-0x0117ffff, assumed entry at 0x01000000

Do not power-off this device while flash programming is proceeding!!
Are you sure to program Kernel code (Y/N) ? Y
Erase flash ...
... Erase from 0x70020000-0x701a0000: ........................
OK!
... Program from 0x01000000-0x01180000 at 0x70020000: ........................
OK!
Update FIS ...
... Erase from 0x707f0000-0x70800000: .
... Program from 0x00400000-0x00410000 at 0x707f0000: .
OK!
Upgrade Kernel code successfully!
tart Copy 1572864 bytes from 0x70020000 to 0x1600000

ということで、なんか吸い出したkernelでブートしました。

が、なんか前と違うような。エラーが多発?

名前:  非公開コメント   

  • TB-URL  http://www.tokuda.net/diary/0498/tb/

メモリースティック8Gを購入
2008/02/07(木) 23:34 未分類 はてブ情報 はてブに登録 はてブ数

アキバヨドバシで15,800円。たっかいなぁ。こういうときにSD系のカードがうらやましくなります。

メモリースティックPro Duo (MSX-M8GS), 15800円

名前:  非公開コメント   

  • TB-URL  http://www.tokuda.net/diary/0497/tb/

今日のボク
2008/02/07(木) 23:32 今日のボク はてブ情報 はてブに登録 はてブ数

だんだん朝の起きる時間が遅くなってきてます。

今日は明日に備えて早く寝ました。

明日から、グアムに行くのです。

名前:  非公開コメント   

  • TB-URL  http://www.tokuda.net/diary/0496/tb/