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/